Backend infrastructure that evolves while you sleep.
The autonomous backend for coding agents.Your agent builds it over MCP. Backenly checks it every minute,
ships the safe fixes and holds anything risky for you.
npx @backenly/mcp-server initWorks with any agent that supports MCP
- Claude Code
- Cursor
- Codex
- Antigravity
- Cline
- GitHub Copilot
- Zed
Everything a production backend needs
Your agent sets up each part over MCP. Underneath: Postgres, PostgREST, SSE and S3.
Every featurePostgres, a schema of your own
Tables, relations, indexes, constraints and pgvector, in a PostgreSQL schema per project.
- Standard PostgreSQL
- pgvector
- Direct connections
- pg_dump exports
Auth
Passwords, magic links and Google, GitHub, Discord or Facebook sign-in, with verification emails. Each project signs with its own secret.
REST APIs
PostgREST serves your tables: filters, ordering, pagination, embedded rows and OpenAPI. Row‑level security decides each row.
Realtime
Inserts, updates and deletes over SSE, sent only to clients allowed to read the row. Presence and broadcast too, no socket server to run.
Storage
Buckets with read and upload rules, expiring signed links and optional WebP conversion, on S3 or any S3‑compatible store.
Functions and triggers
Run code on a sign-up, a row change, an HTTPS call or a cron schedule, with every run logged. Event triggers and webhooks are on Pro.
Also built in
Row-level security by description
Say “anyone reads reviews; only the author edits one.” Backenly writes the policy and Postgres enforces it.
Branches for risky work
A copy of the schema, empty or with production’s rows, for your agent to try a change on. Merging waits for your approval.
Teams and organizations
Owner, admin, developer and viewer roles, with access per project on Pro.
Your backend repairs itself
Backenly checks it every minute, fixes what is safe on its own and holds risky changes for you.
How autonomy worksRows read to find one movie's watchlist entries
watchlist_items, from Postgres's own table statistics
| Minute | Rows read | Checks |
|---|---|---|
| 03:05 | 4,120 | all 27 checks pass |
| 03:06 | 4,120 | 26 of 27 checks pass |
| 03:07 | 3 | index added, re-checked next minute |
| 03:08 | 3 | all 27 checks pass |
| 03:09 | 3 | all 27 checks pass |
| 03:10 | 3 | all 27 checks pass |
| 03:11 | 3 | all 27 checks pass |
| 03:12 | 3 | all 27 checks pass; one request waiting on you |
| 03:13 | 3 | all 27 checks pass |
| 03:14 | 3 | all 27 checks pass |
| 03:15 | 3 | all 27 checks pass |
| 03:16 | 3 | all 27 checks pass |
| 03:17 | 3 | all 27 checks pass |
27 checks
Indexes, constraints, policies and errors, checked on every project every minute.
Fixed, then re-checked
Safe fixes ship on their own; the check that found the problem runs again.
Risky changes wait
Destructive, auth and irreversible changes wait for you, including your agent's.
You set how far
Autopilot or Review-only, chosen for each project.
Your schema restructures itself, once you approve
When a table starts doing two jobs, Backenly plans the split and asks you first. Your apps keep working.
How restructuring worksEach mark is a sample row. These three are filled in together.
Your apps read and write it now. The reviews table keeps working too.
Waiting on you
Move moderation data out of reviews into its own table
Schema changes to these three columns locked all of reviews 5 times in the last 30 days.
30 days on: schema changes to these columns locked reviews 0 times, down from 5. It helped.
- Rehearsed on a copy of reviews, then rolled back
- Set up review_moderation
- Keep it in step with reviews
- Copy the existing moderation data
- Check that it matches reviews
- Open it to your apps
Agents can read this plan. Only a person can approve it.
Measured first
It acts on a measured cost, like schema changes that keep locking a table, never on size alone.
Rehearsed on a copy
The whole change runs on a copy of the real rows, then rolls back.
Apps keep working
Old and new code both work; the old columns stay until you remove them.
Judged afterwards
It measures the result and says plainly whether it helped.
Every change on the record
Your agent, Backenly and your team write to one history. Restore one change without rolling back the rest.
How restore worksChanges to movie-reviews today
Newest change first. A restore shows on the change it undid.
- Claude Code
Made later. The restore leaves it as it is.
- You, approving Claude Code’s requestRestored by you at 12:15
runtime is back with its 1,284 values.
The 4 movies added since have no runtime.
- Backenly autonomy
Every step, as recorded
Removed column runtime from movies
You, approving Claude Code’s request
- Checkpoint taken
- Applied
- Verified
- Restore started
- Restore verified
Choose any change to read its steps.
Removed column runtime from movies: Checkpoint taken at 09:14:06, Applied at 09:14:06, Verified at 09:14:07, Restore started at 12:15:40, Restore verified at 12:15:41.
One history
Database, auth, storage, functions, webhooks, environment and keys: one entry per change, with who made it.
Kept, not deleted
Dropped tables and columns are kept, so a restore brings them back: 7 days on Free, 30 on Pro.
Restore one change
Checked before it runs. If it would remove or overwrite newer data, a person approves first.
Restore to a point
Undo everything after a change, checked as a whole before any step runs. Agents can ask; only a person decides.
Five regions, every project isolated
Run each project in Oregon, Virginia, Frankfurt, Mumbai or Singapore, with its own Postgres schema, signing secret and scoped agent keys.
Read the code on GitHub (opens in a new tab)- Oregonus-west-2·––:––, day
- Virginiaus-east-1·––:––, day
- Frankfurteu-central-1·––:––, day
- Mumbaiap-south-1·––:––, day
- Singaporeap-southeast-1·––:––, day
The violet light is where it is daytime right now, and each region sits at its local time. Every project is checked once a minute, day or night.
Isolated by Postgres
Each project is its own schema. Isolation is a Postgres grant, not a WHERE clause.
A stack per region
Each region runs its own database, API and file storage. You choose one per project.
Scoped access
An agent's key can request a destructive change, never approve one.
Open source
Apache-2.0. Read every line, or run it on your own servers.
Questions before you trust us with production
Anything else, ask the people who built it.
One command installs the Backenly MCP server for Claude Code, Cursor, Codex, Cline, or any MCP host. The key is scoped and revocable from your project dashboard. There is also a CLI (npx @backenly/cli) for schema, generated types, CI diffs, logs, and read-only SQL, and a canonical agent skill at backenly.com/skill.md.
Dropping or emptying a table, dropping a column, deleting files and revoking keys do not run. Each parks as an approval request under “Waiting on you” in your dashboard, with the impact laid out (how many live rows, whether the data is recoverable), and waits for a person on the project to decide. The agent’s key can request and poll, never approve. Ordinary row inserts, updates and deletes run as normal.
Real infrastructure: an isolated PostgreSQL schema per project, live REST endpoints, auth with per-project secrets, file storage, and realtime streams. Schema changes are read back from the live database before they count as done, and the autonomy loop keeps monitoring and repairing the backend after you ship.
Yes. The entire platform is open source under Apache-2.0, including the autonomy engine, and the SDK, CLI, MCP server, and agent skill are MIT. Self-host everything on your own infrastructure, with your own Postgres. Or use Backenly Cloud, where we run the infrastructure and handle backups and upgrades. It is the same codebase either way, so you can move between the two.
Like Supabase, Backenly is open source, built on real PostgreSQL, and self-hostable. The difference is who operates it. Supabase and Firebase hand you excellent parts and leave the assembly, configuration, and upkeep to you. You are the operator. Backenly does not just generate resources; it manages backend change safely. Changes are planned, destructive ones wait for your approval, schema changes are read back from the live database, and a resident autonomy loop keeps fixing the running backend, with receipts, when no one is at the keyboard.
No. The contract is standard REST plus a typed SDK, and the database is standard PostgreSQL. Every plan, including Free, gets direct read-only and read-write connection strings (psql, TablePlus, any BI tool) and pg_dump exports that restore on any Postgres: RDS, Neon, your own server. And because the platform itself is open source, the exit path includes running Backenly on your own servers. Everything leaves with you, anytime.
Self-hosting is free under Apache-2.0: you bring the servers, and an AI provider key (Claude or OpenAI) only for the features that use a model, such as the natural-language build tools. The self-healing fixes themselves are rule-based. On Backenly Cloud, the Free plan is genuinely free, with no credit card, and includes a real, permanent backend plus the self-healing loop every minute. Pro is $25/month and raises capacity, not the self-healing, which is never capped on any plan; Enterprise is custom. Driving the backend from your own coding agent through the typed MCP tools is never metered as AI, and autonomy is included on every Cloud tier.
Oversight. The dashboard is where you inspect every table, user, file, and function; approve or reject destructive requests under “Waiting on you”; read the agent journal and autonomy receipts; manage keys, teams, and branches; and restore earlier versions from restore points. Your agent operates; you stay in command.
Give your agent a backend that fixes itself
Free to start. Open source under Apache-2.0.



