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.

npx shipmantis@latest init
See how it works
Claude Code
> drop the old invoices table
$ mantis branch create drop-invoices
Created drop-invoices from main at version 12.
$ mantis push --branch drop-invoices
1 change:
drop_table invoices (can lose data)
Applied. The schema is at version 13.
$ mantis branch promote drop-invoices
drop_table invoices (can lose data)
These changes can lose data, so they wait on main until a person approves them in Mantis.
Change 4b1e07c2-9d3a-4f6e-8a21-5c7f0e93b6d4 is waiting for approval.

Built for Claude Code and Codex, and the TypeScript apps they write.

drop table usersproduction
How it works

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.

Rewind

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.

  1. 14:03An agent writes bad data to main
  2. 14:04Pick a time; the preview counts every write it undoes
  3. 14:05A person rewinds, and main is back at 14:00
For developers

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 init
  • One 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.

Pricing

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

FAQ

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].

Your agentA branchThe checksMain

Let your agent ship. Keep the undo.

Mantis is launching soon, starting with Claude Code and Codex.

npx shipmantis@latest init