The instant backend for all your app ideas
Give your AI a real backend. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
$20 / month · Unlimited apps · Shared usage · Invite only
Todos
Kings
One crown per row, column and region. Crowns can’t touch.
0 of 5 crowns placed. Tap a cell to play.
Kanban
To do
- Write the docs
- Plan the launch
In progress
- Build the homepage
Done
- Set up the project
Messages
- Alex: How’s the app coming along?
- You: Looking good! Almost ready.
The interactive examples below run locally in your browser.
Built for AI
Get a backend designed to be operated from the CLI. Your agent can do everything a human can do with a dashboard, and when things go wrong, undo is built in.
Never leave your terminal
Once invited, connect the CLI to InterfaceDB, spin up a database, push schema, and build from the terminal. Just you, your agent, and your code.
1// ༼ つ ◕_◕ ༽つ Real-time Chat2// ----------------------------------3// * Updates instantly4// * Multiplayer5// * Works offline67import { init, id } from "@interface-db/react"89const db = init({10 appId: "your-app-id",11})1213function Chat() {14 // 1. Read15 const { data } = db.useQuery({ messages: {} })1617 // 2. Write18 const addMessage = (msg) => {19 db.transact(db.tx.messages[id()].update(msg))20 }2122 // 3. Render!23 return <UI data={data} onAdd={addMessage} />24}2526export default Chat1// Declarative data model2// ----------------------------------34import { i } from "@interface-db/core"56const schema = i.schema({7 entities: {8 messages: i.entity({9 text: i.string(),10 createdAt: i.date(),11 }),12 },13})1415export default schema1// Declarative rules2// ----------------------------------34const rules = {5 messages: {6 bind: { "isOwner": "auth.id == data.creator" },78 allow: {9 view: "true", // Anyone can view10 create: "isOwner", // Only owner11 update: "isOwner", // Only owner12 "delete": "isOwner", // Only owner13 }14 }15}1617export default rulesEasy for humans, perfect for LLMs
InterfaceDB uses the open-source Instant SDK: a small API for queries, transactions and permissions that fits naturally into your app and your agent’s workflow.
Here's what a real-time chat app looks like with InterfaceDB. Simple to read, and even easier for your AI to understand and generate.
End-to-end type safety
InterfaceDB comes with types for your schema, permissions, queries, and transactions. This makes it easy to catch errors early. Your AI can understand your data model and generate correct code on the first try.
Undo destructive changes
LLMs can make mistakes. For destructive actions like schema deletions, the Instant engine comes with built-in undo. Restore deleted columns instantly.
Batteries included
As your app grows, you start needing more services. InterfaceDB comes with a bunch of the fundamental ones built-in, and they're designed to work well together.
Auth
Magic Code emails, Sign in with Google, Apple, GitHub, and LinkedIn are all built-in with your app. Agents can set these methods up in minutes and they're extendable too.
Sign in
Local demo · no account created or email sent
Permissions
Inspired from Google's Zanzibar and Facebook's EntPrivacy, get a permission system that lets you write both simple and complicated rules.
messages
allow
bind
Storage
You don't need a separate service to upload images and videos. Storage lets you upload files, and they feel like any other row in your database.
stopaPayments
Build apps that monetize. Easily add one-time purchases, subscriptions, or usage-based billing by telling AI to add Stripe to your InterfaceDB app.
Presence
Make your apps feel alive. You can use Presence and Broadcast services to share who's online, who's typing, or whose cursor is moving.
Streams
Broadcast large data streams to your app. Multiple listeners can join while data is being sent, within your workspace usage limits.
Stopa
Drew
DanielA database in your frontend
Your frontend gets a real-time database. Queries update as data changes, so you can build responsive, collaborative apps with fewer moving parts.
Instant updates
Click a button, toggle a switch, type in a field — whatever you do, you see the result right away. Your apps feel fast, so your users stay in flow.
Updates right away
Waits on the server
Daniel's phone
Joe's phoneReal-time sync
Multiplayer experiences work out of the box. If one person makes a change, everyone else can see it right away. No need to refresh or re-open the app to see the latest.
Works offline
InterfaceDB apps keep working when you lose connection. When your users get back online, everything syncs up without them having to do a thing. Pure magic.
Joe's phoneJust shipped!
Perf is looking great
Deploys are green
Drew's phoneJust shipped!
Perf is looking great
Deploys are green
Relational at the Core
Real apps aren't flat. Data needs to connect. Most backends make you choose between real-time sync and relational queries. InterfaceDB gives you both.
One plan. All your ideas.
Create unlimited apps. Share storage, traffic and email allowances in one workspace.
InterfaceDB
Invite only$20/ month
Unlimited apps. Database, auth, permissions, live sync and storage included.
- 1 GB database storage across your apps
- 10 GB file storage
- 50 GB outbound data per billing cycle
- 1,000 app emails per billing cycle
- 1,000 simultaneous live connections per app
Early access, by invitation. Storage, traffic and email allowances are shared across your workspace. Each app gets its own connection allowance. No automatic overage charges. Applicable taxes are additional.