Appbricx documentation
Your AI agent builds the app. Appbricx makes it production: a Postgres database per app, sign-in, access rules per role, server actions, workflows, hosting and rollbacks. Every app is plain TypeScript and SQL that your agent, or you, can edit. Pick the way you work.
Build with your AI agentConnect Claude Code, Claude, Cursor or Codex with one browser sign-in. Your agent creates the project, writes the code, tries it as each user, runs verify and deploys.Agent quickstartBuild in codePull the project into your editor: app.config.ts, SQL in db/, React routes, typed server actions and workflows. Push, check and apply from your terminal.Code quickstart
Both paths edit the same project, so an agent and a person can take turns on it. New here? Read what Appbricx is, then the core concepts and the project files reference.
What you can do
- Model your data in SQLTables, references, lifecycles and seeds in db/schema; who sees which rows in db/access.
- Write pages in ReactFile routes, server-rendered public pages with SEO, reads typed from your schema.
- Add typed server actionsCode your pages call as a function, run as the caller, input checked.
- Automate with workflowsOn a row change, a schedule or a webhook; sleeps, waits and emails that send once.
- Test as every userCall the running app as any role, dry-run workflows, take screenshots, run verify.
- Ship and roll backDeploy plans you read first, a snapshot before every production change, one-call rollback.
Guides
- Data and tablesTables in SQL, references, lifecycles, seeds and named queries
- Access and rolesRow-level security policies per role, checked by Postgres
- Business rulesRefuse bad writes on the server with triggers, whoever sends them
- Sign-inEmail and password, sign-in links, Google and GitHub, roles and profile tables
- Pages and componentsFile routes, defineRoute, layouts, components, npm packages and assets
- Realtime, channels and presenceLive rows per user, chat and typing channels, who's here
- Server actionsdefineAction: typed input, secrets by reference, an outbound allow-list
- Workflows, schedules and webhooksDurable work after a change, on a timetable or on an inbound webhook
- MessagesEmail, SMS and in-app notification templates with typed vars
- AI in your appAI in your app's pages and workflows, on your own key
- PaymentsStripe Checkout and Razorpay through server actions and verified webhooks
- FilesUsers' uploads, app assets and generated PDFs
- IntegrationsSlack, Discord, Telegram, Twilio SMS, WhatsApp, Google Chat, HTTP and webhooks
- VerifyEvery role against every table, page and action before you ship
- Publishing, domains and rollbackGo live, use your domain, undo a bad release
- Operating your appSQL, rows, schema, logs, accounts and secrets
- Export and self-hostTake the code and the data with you
Tutorials
- Build a booking app with Claude CodeEnd to end, from the first prompt to a deployed app
- Multi-user todo listPrivate rows per user and a daily overdue email
- Client portalEach customer sees only their own projects and invoices
- Slack on new sign-upConnect Slack and post every new member to a channel
- TemplatesApps to start a project from, and your workspace's own
Tools and APIs
- MCP serverEvery tool your agent gets, by task, and how clients sign in
- CLIPull and push a project's files, add npm packages
- Developer APIBuild, ship and operate apps over HTTP, from scripts and CI
- Data APIYour app's tables, actions and queries over HTTP
- SDK@appbricx/ui, server, workflows and define, by task
- Access tokensTokens for CI and scripts, scopes and revocation
- In-app AI keysYour app's AI runs on your own key, at cost
Self-host and admin
- Self-host installThe platform on your own servers: one image, Postgres, a reverse proxy
- User provisioning (SCIM)Add and remove workspace members from Okta, Entra ID or OneLogin
- Run the platform locallyBuild and run the platform from source
Reference
- Reference homeSignatures, parameters, errors and examples, generated from the source
- SDKEvery member of the four packages, with types
- HTTP APIYour app's API and the developer API
- MCP toolsEvery tool's input schema, scope and an example
- CLIEvery command and flag
- Integrations catalogEvery integration and its actions