Database
A full Postgres. Bring your own, or run the bundled engine.
Forkbase is the Supabase alternative for AI agents. Postgres, auth, storage, functions and realtime, with every agent on its own fork of your data.
Read https://forkbase.tech/setup.md and set up Forkbase for me.Paste into Claude Code, Codex or Cursor. It asks where to run Forkbase, then sets it up one question at a time.
Works with the agents and tools you already use
Hand an agent your database and every mistake lands in production. Forkbase puts a fork between each agent and your data.
Every run is on the record
Everything Supabase gives you, built for apps where agents do the writing.
A full Postgres. Bring your own, or run the bundled engine.
GitHub, Google and magic links for people. Scoped keys for agents.
Buckets for any file, on disk or any S3.
TypeScript and Python jobs, on a schedule or a trigger.
REST for every table. Live changes over websockets.
Claude, Cursor or your own agent connects over OAuth. No shared keys.
Tables, SQL, users, files, agents and jobs in one place.
Limits as code. Safe changes merge on their own.
Anything over the limit waits in one inbox.
A bad merge goes back, row by row.
Open a run, write, propose. Forkbase forks, checks and merges.
Point your client at Forkbase. Your app code stays the same.
Claude, Cursor and other agents connect with one command.
import { createClient } from "@chronosdb/forkbase";const fb = createClient(URL, SERVICE_KEY);const run = await fb.agents.run("close stale tickets", { agent: "support",});await run.sql("update tickets set status = 'closed' where stale");const out = await run.propose(); // merged, or held for youif (out.status === "held") console.log(out.reasons);Keep the database you have. Forkbase attaches to Postgres 16 or later and adds forks beside it.
forkbase init --db postgres \ --database-url postgres://user:pass@host:5432/appforkbase startNothing to bring. The bundled engine is the database, with forks, merges and undo built in.
forkbase init --db chronosforkbase startFree to self-host. macOS and Linux.
curl -fsSL https://github.com/2090-labs/forkbase/releases/latest/download/install.sh | FORKBASE_ENGINE=1 sh