by backenly
Autonomous backend platform. Your coding agent builds it over MCP, Backenly keeps it running: Postgres, REST APIs, auth, storage, realtime, and functions, with every change governed, verified, and reversible.
# Add to your Claude Code skills
git clone https://github.com/backenly/backenlybackenly is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by backenly. Autonomous backend platform. Your coding agent builds it over MCP, Backenly keeps it running: Postgres, REST APIs, auth, storage, realtime, and functions, with every change governed, verified, and reversible. It has 102 GitHub stars.
backenly's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/backenly/backenly" and add it to your Claude Code skills directory (see the Installation section above).
backenly is primarily written in TypeScript. It is open-source under backenly on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh backenly against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
The autonomous backend platform for agentic coding. PostgreSQL, REST APIs, auth, storage, realtime, and functions, driven by your coding agent over MCP, with every change planned, verified, and reversible.
backenly.com · Docs · Pricing · Client libraries
https://github.com/user-attachments/assets/2b215d72-4b1b-4a4c-8290-a94553be192d
⭐ Star the repo to follow releases and help other builders find Backenly.
Most backend platforms hand you primitives and leave you owning schema design, API wiring, RLS policies, monitoring, and recovery. Newer agent-native backends hand an agent raw SQL and no safety net.
Backenly does neither. You describe the product you're building through the coding agent you already use (Claude Code, Cursor, Codex) over an MCP server. Backenly derives the data model, generates the endpoints, writes the policies, applies the change, and then verifies it against the live runtime. A continuous autonomy loop keeps watching after that, repairing drift, missing indexes, broken triggers, and RLS gaps on its own. When a table starts doing two jobs, Backenly moves the second into a table of its own once you approve, while your apps keep working, and every change can be undone from one History without rewinding your data.
The distinction that matters: Backenly does not just generate backend
resources, it manages backend change safely. Every mutation, whether it comes
from an agent, from the dashboard, or from an automated repair, goes through one
typed action kernel with dry-run, audit, and rollback. There is deliberately no
raw-SQL path for mutating structure. Reads are standard SQL, and your data is
never locked in: direct Postgres connection strings and full pg_dump exports
are one command away.
executeAction, so the
agent's model of the database and the database itself cannot silently diverge.workspace_{projectId}). Isolation is enforced by Postgres grants and RLS,
never by application-level string filtering.| Capability | What you get |
|---|---|
| Database | PostgreSQL with a schema per project, served through PostgREST |
| Auth & Users | Email/password and social sign-in, JWT sessions, RLS-forced user tables |
| Storage | Public and private buckets with per-file access control |
| Realtime | Shared LISTEN/NOTIFY hub for table change subscriptions |
| Functions | Serverless route modules, validated before they ship and self-healed if they break |
| Integrations | One ctx.integrations.<id>.request() surface for third-party APIs |
| Autonomy | MAPE-K loop that observes, detects, proposes, applies, and verifies repairs |
| Restructuring | A table doing two jobs is split in two after you approve: rehearsed on a copy, kept in step while apps keep working, undoable |
| History | One entry per change to schema, auth, storage, functions, webhooks, env, keys, and integrations; undo one or roll back to a point, app data never rewound |
| Monitoring | Request logs with stability and reliability scoring |
| Branches | Preview branches with their own sequences, plus diff and merge |
| Deploy | Governed rollout with restore points and an audit ledger |
The MCP server advertises 20 tools. The catalog is capped deliberately, because tool-selection accuracy degrades as it grows, while the dispatcher stays wider so an agent pinned to an older manifest never gets a 404.
| Group | Tools |
|---|---|
| Understand | read_backend_state · get_table_schema · run_query · fetch_docs |
| Build | apply_migration · enable_auth · set_rls · create_bucket · generate_function · enable_realtime |
| Data | db_insert · db_update · db_delete |
| Operate | branch · create_api_key · set_env_var · get_database_credentials · check_approval · generate_types |
| Natural language | backend_chat, the fall-through for anything not named above |
Agents can also browse live project state as MCP resources (backenly://state,
tables, apis, buckets, triggers) instead of spending a tool call to ask.
Create a project at backenly.com, then point your agent at it. Nothing to install or operate.
One deployment is one project.
git clone https://github.com/backenly/backenly.git
cd backenly
npm install
npm run selfhost
That is the whole install. It generates the secrets, starts the Compose stack, creates the tables, runs the superuser steps, issues the PostgREST credential and reconciles until the deployment reports ready. Then:
npm run dev # dashboard :3000 · runtime :3001
Then claim the deployment. The installer prints a claim link carrying a setup token. Open it and create your account: the first account to present the token becomes the administrator and takes ownership of this deployment's single project in the same step. There is no second command to run. The signup page also has a Setup token field while the deployment is unclaimed, if you would rather paste the token than follow the link.
The token is in .env as BACKENLY_SETUP_TOKEN. It gates the claim because a
deployment is often reachable before its operator gets to it — an open port on
a VPS, a preview environment, a colleague pointed at the wrong host — and
without it the single administrator slot would go to whoever loaded the page
first. Once the deployment is claimed the token stops working, whatever it is
set to.
Claiming the deployment needs no email. Two things do: password-reset
codes, and the code a new account must enter before it exists if you open
registration with BACKENLY_ALLOW_PUBLIC_SIGNUP=true. Set any SMTP provider in
.env:
SMTP_HOST=smtp.resend.com # or SES, Mailgun, SendGrid, Gmail
SMTP_PORT=587 # STARTTLS; 465 is rewritten to 587
SMTP_USER=resend
SMTP_PASS=...
SMTP_FROM=Backenly <[email protected]> # a domain your provider has verified
Without it, the reset page says email is unavailable rather than pretending a code was sent, and later signups are refused rather than created unverified. To reset a password without email, run this on the server:
npm run auth:reset-password -- --email [email protected] # prompts
npm run auth:reset-password -- --email [email protected] --generate # prints one
It ends every session for that account. Access to the machine is the authority, as it is for the setup token.
The install creates a separate PostgreSQL role for each job, rather than one that does everything:
| Role | Used by | Properties |
|---|---|---|
backenly_user |
the install scripts only | SUPERUSER. Creates roles, installs event triggers. Never in DATABASE_URL. |
backenly_app |
web and runtime | NOSUPERUSER NOBYPASSRLS. Owns the platform tables and workspace schemas, so governed typed actions keep their DDL rights. |
backenly_authenticator |
PostgREST | NOINHERIT; can only switch into anon / authenticated / `service_r |