The database for the autonomous AI era.
Built for autonomous agents. Chronos is a Postgres-compatible database that gives every agent its own copy of your production data to work in, and lets its changes into production only when they keep your rules, or when you say yes.
curl -fsSL https://github.com/Abhishekxdg/chronosdb/releases/latest/download/install.sh | shHow it works
Safe changes merge into production by themselves. The risky one waits for you.
- Production database: your app runs on it.
- Claude Code on its own copy: updates 14 prices. Within your rules: merged.
- Cursor on its own copy: deletes 657 orders. Breaks “no deletes”: waits for you.
- Windsurf on its own copy: adds a search index. Within your rules: merged.
Works with the tools you already use
Claude Code
Cursor
Windsurf
MCP
Postgres
Prisma
Drizzle
LangChain
Python
Node.js
SQLAlchemy
Supabase
Neon
What it does
Everything an agent needs to change data safely.
Inside one database, in plain SQL.
A world for every agent
An instant copy of the whole database, whatever its size. A hundred thousand of them cost bytes until they write.
Rules, not trust
Set the limits once. Changes inside them merge on their own.
You see only what breaks them
One card, the reason, two buttons.
Read the past
Any table, as it was at any minute of the last hour.
Undo a merge
For an hour after it lands, row by row.
Speaks Postgres
psql, Prisma, Drizzle, psycopg: your app doesn't change.
Made for agents
An MCP server with the verbs an agent needs.
Vectors built in
pgvector types, distance operators and HNSW indexes.
Yours to run
One line to install. Every release signed.
Try it
Play with the engine's rules. Right here.
The same arithmetic Chronos runs on every merge.
Every merge into main can be undone for an hour. The engine checks these same four rules on every merge.
| id | customer | total · then | total · now | status · then → now | |
|---|---|---|---|---|---|
| Read as of now: main as it is. Drag back to see what changed. | |||||
Benchmarks
Tested on the work agents do. Where it is slower, it says so.
to give an agent its own copy
At any size. 100,000 copies of one database cost about 560 bytes each until they change something, and a query in a copy runs as fast as in main.
faster than Postgres, with 1,000 agents at once
1,000 agents each copy the database, write 1,000 rows and merge back. Chronos moves 554k–716k rows a second; Postgres 9.8k, Dolt 28k.
wrong query results of its own
We ran 5.67 million test queries from SQLite’s public test suite over the Postgres protocol. The 8 times Chronos disagreed with the expected answer, Postgres gave the same answer.
An independent benchmark from Columbia University. Each job copies the database, changes the copies, merges or throws them away, and checks the data is right after every step. Shorter bar: finished sooner.
Training an AI
256 attempts, each in its own copy, each started from a saved point.
- Chronos
- 994 s
- Postgresa copy per agent
- 2,529 s
- Doltgresgit for data
- over 2 hours· ran out of time
Trying ideas
Draft changes in copies, undo the bad ones, catch up with main.
- Chronos
- 2.0 s
- Postgresa copy per agent
- 53 s
- Doltgresgit for data
- 13 s
Many agents, one database
512 changes from agents merged into a main that keeps changing.
- Chronos
- 4.7 s
- Postgresa copy per agent
- 149 s
- Doltgresgit for data
- 19 s
A coding agent
Keeps its copy current with a busy main, through a schema clash.
- Chronos
- 580 s
- Postgresa copy per agent
- 4,987 s
- Doltgresgit for data
- 563 s
A bad deploy
Investigate in copies, then put the database back as it was.
- Chronos
- 505 s
- Postgresa copy per agent
- 1,817 s
- Doltgresgit for data
- 634 s
Loading data
32 batches merged in, some of them rolled back.
- Chronos
- 2,221 s
- Postgresa copy per agent
- 2,817 s
- Doltgresgit for data
- 1,493 s· half its data checks failed
- The coding-agent job aboveDoltgres finished 3% sooner.
- Big analytical queriesPostgres is about 4× faster at joins over millions of rows.
- Your app’s traffic beside busy agentsPostgres kept up 73 transactions a second; Chronos about 30.
- Reports over large tablesDuckDB, built for analytics, is 2–7× faster.
Products
Run it yourself today. Or let us run it, soon.
Chronos DB and the Gateway are free to self-host. Cloud and Hosted Gateway open from the waitlist.
Chronos DB
available · self-hostThe database itself: worlds, rules, history and merges, Postgres on the wire.
curl -fsSL https://github.com/Abhishekxdg/chronosdb/releases/latest/download/install.sh | shChronos Gateway
available · self-hostKeep your Postgres. Agents change it only through worlds and checked merges.
docker run -p 7400:7400 ghcr.io/abhishekxdg/chronos-gatewayChronos Cloud
soon · hostedChronos DB, run by us. Nothing to install, a connection string in a minute.
Hosted Gateway
soon · hostedThe gateway, run by us, in front of the Postgres you already have.
Chronos Cloud · soon
We run it. You get a connection string.
- No servers to run
- Backups every hour
- Worlds, rules and history included
- Or keep your Postgres: Hosted Gateway
Questions