End-to-end types
A generated route manifest types every call. A backend rename is a compile error, not a 404.
routes.gen.ts Your coding agent writes the database, the APIs, even AI agents. Run it on your own machine on the Xano Engine, with no account and no network. When it is ready, one command puts the same code live on Xano.
npx @xano/sdk init my-app && cd my-app npm run xano:deploy npm run dev ✓ From an empty folder to a running full-stack app, without signing up.
Tables, APIs, realtime channels, tasks, MCP servers and AI agents are all TypeScript objects in your repo. The agent skill teaches Claude Code, Codex and Cursor to write valid Xano code that always compiles.
A single binary with Postgres built in. No account, no network, starts in seconds. The engine version is pinned in package.json, so every checkout runs the same one.
One command takes the exact code you ran locally to Xano. Prod matches staging because they are the same commit.
export --strict, xano.lock, preflightEvery check runs ahead of the change, the way the track appears ahead of the train. Agents can move fast because they cannot leave the line.
A generated route manifest types every call. A backend rename is a compile error, not a 404.
routes.gen.ts Fail the build on any warning. Every warning and error has a code. Needs no secrets.
export --strict Renames stay renames and redeploys never duplicate objects, so your public URLs stay yours.
xano.lock Import into a fresh environment, export it back and diff. Import, round-trip and runtime checks.
xanosdk preflight Tests on queries, functions and middleware, plus workflow tests. A failing suite stops the deploy.
deploy --test Promotion reads the branch back and refuses anything missing. Shared schema changes need an explicit flag.
promote A deterministic, fully typed authoring surface: your agent writes well-typed TypeScript that always compiles to a valid workspace. Install the agent skill once and every coding agent knows the rules.
$npx @xano/sdk agent-skill install // xano/index.ts
export const post = table({
name: "post",
schema: {
title: f.text({ required: true }),
published: f.bool({ default: false }),
author: f.tableRef(user), // type-checked
},
});
const createPost = query({
verb: "POST", apiGroup: blog, name: "posts",
input: { title: input.text({ required: true }) },
stack: [s.db.add({ table: post, row: { title: inp("title") }, as: "row" })],
response: ref("row"),
}); Adapted from the SDK README. Object kinds include table, query, task, mcpServer, agent, tool, middleware, trigger and more.
Every part of the backend is a TypeScript object in your repo. Your agent writes them, the Xano Engine runs them on your machine, and one deploy puts them live on Xano.
Postgres tables with typed fields and type-checked references between them.
REST endpoints in an API group, with typed inputs, a function stack and a response.
WebSocket channels that push live updates to connected clients.
Background logic that runs outside a request, deployed with the rest of the backend.
Hosted MCP servers that run under the workspace rules: authenticated, permissioned and observable.
Agents that run in Xano, powered by a model of your choice.
Tools your AI agents and MCP servers can call.
Reusable prompt templates an MCP server offers to the agents that connect to it.
Data an MCP server exposes for agents to read as context.
Pre and post logic around your APIs, covered by the same tests.
Database triggers that run logic when a table changes.
Yes. The Xano SDK is MIT licensed and published on npm as @xano/sdk, with source, guides and examples on GitHub at xano-sdk/sdk. npx @xano/sdk init my-app scaffolds a backend and frontend in TypeScript, and npx @xano/sdk agent-skill install teaches your coding agent the rules.
No. Your backend runs on the Xano Engine on your machine with no account and no network, so you go from an empty folder to a running full-stack app without signing up. An account comes in only when you deploy to Xano, and you can start on the Free plan.
The Xano Engine is the whole Xano backend, packaged to run on your laptop: a single binary with Postgres built in, for macOS (Apple silicon) and Linux. It starts in seconds, offline, and its version is pinned in package.json, so every checkout runs the same engine, on your machine, in CI or in Xano’s cloud.
npm run xano:deploy runs your backend on the Xano Engine locally, and npx xanosdk deploy puts the same code live on Xano. Add --ephemeral --test to deploy to a disposable ephemeral and run your tests first; a failing suite stops the deploy. xanosdk release create and promote land a release on your workspace.
Yes. npx @xano/sdk init my-app --from workspace reads your workspace back as TypeScript, ready to commit to Git. From there your coding agent edits it in your repo, and after each deploy Canvas View and the Function Stack show what the code compiled to, readable by everyone on the team.
AI builds software. Xano makes it trustworthy.