Your agent gets a backend it can't break.
Mantis is a hosted database for the apps your agent builds. Every change lands on a branch first, a change that would lose data waits for you, and any table can be rewound to the minute before.
Built for Claude Code and Codex, and the TypeScript apps they write.
Your agent ships fast.Your database has no undo.
In July 2025 a coding agent deleted a company's production database. Hosted backends give your agent the same keys you hold, and no way back when it is wrong.
drop table usersproductionNo branch to try it on · No way back
Every change on a branch.Every write rewindable.
Your agent keeps its speed. Mantis decides what reaches main, and keeps the history to put it back.

Branches first
npx shipmantis branch create billingEvery schema change lands on a branch with its own copy of the database. Your agent tries it there, the checks run, and only then is it promoted to main.

A person approves data loss
npx shipmantis pushAdding a table or a column promotes on its own. Dropping one, or changing a type, waits on main until a person on your team approves it.

Rewind to the minute
npx shipmantis rewind --to 30mEvery write is recorded. Preview a rewind of a table or a single row, then apply it, as far back as your plan keeps history.
An agent emptied a table.Put it back.
Mantis records every write, so a table, a row or a migration can go back to any moment in its history. A rewind of main waits for a person on your team.
- 14:03An agent writes bad data to main
- 14:04Pick a time; the preview counts every write it undoes
- 14:05A person rewinds, and main is back at 14:00

One command.Your agent does the rest.
Your schema and its access rules live in TypeScript in your repo. Your agent changes them; Mantis decides what reaches main.
npx shipmantis@latest initOne command
npx shipmantis@latest init signs you in through the browser, creates the project and writes its keys to .env.local.
An MCP server for your agent
Added to Claude Code and Codex: read the schema, plan a migration, branch, promote, preview a rewind, run a query.
Instructions it follows
A skill and an AGENTS.md section tell your agent to work on a branch and how to ask for what it may not do alone.
Your auth stays
Keep Clerk, Auth.js or Supabase Auth. Mantis checks their tokens, and the rules in your schema decide who reads and writes what.
Free while you build.Pro when it matters.
Branches are unlimited on every plan. Data counts every branch of every project, and a free project is never paused.
Free
a month
- 2 projects
- 1 GB of data
- 5 GB of uploads, files up to 100 MB
- 7 days of rewind
- Unlimited branches
- Writes stop at the limit; reads go on
Pro
a month
- Unlimited projects
- 8 GB of data included, then billed by the GB
- 200 GB of uploads included, files up to 5 GB
- 30 days of rewind
- Unlimited branches
- Never stops at a limit
Mantis is in open beta, and every team starts on the free plan. Start free
Frequently asked questions
What is Mantis?
Mantis is a hosted backend for apps built with Claude Code and Codex: a database, typed queries that stay live, and file storage. Every change your agent makes lands on a branch first, a change that would lose data waits for a person, and every write is recorded so it can be rewound. It is launching soon.
How is it different from Supabase or Convex?
They give your agent the same power you have, and no undo. Mantis puts every schema change on a branch, holds anything that loses data on main until a person approves it, and keeps the history to rewind a table, a row or a migration.
What can my agent do on its own?
Read the schema, make branches, change anything on a branch, run queries and promote additive changes to main. Dropping a table or a column, changing a type, or rewinding main waits for a person on your team to approve it in the dashboard.
How far back can I rewind?
As far back as your plan keeps history; the pricing section shows the days for each plan. A rewind is previewed first, so you see which rows come back before anything changes.
Do I keep my own sign-in?
Yes. Keep Clerk, Auth.js or Supabase Auth. Mantis checks their tokens against your provider's public keys, and the access rules in your schema decide who may read and write each table.
Which agents does it work with?
Claude Code and Codex. npx shipmantis@latest init adds the Mantis MCP server to both, writes a skill and an AGENTS.md section, and puts the project keys in .env.local.
Can I host it myself?
No. Mantis is hosted only, and every team starts on the free plan.
Can I try Mantis now?
Yes. Mantis is in open beta: sign up at shipmantis.com/signup and your team starts on the free plan. Questions go to [email protected].
Let your agent ship.
Keep the undo.
Mantis is launching soon, starting with Claude Code and Codex.
npx shipmantis@latest init