Author an app (moved)
The app authoring guide has moved to Build an app and been split into focused pages.
This guide has moved to Build an app and is now organized into focused pages under Build an app. Every section from the previous guide maps directly below.
A first app
Start with the two-file starter (index.ts and package.json), executor apps framework, and executor apps create in Build an app.
Using an account
Define providers, hosts, request placements, health checks, and setup help in Accounts and providers.
App accounts
Learn how user.accounts and shared app.accounts work in Accounts and providers.
Queries and mutations
Declare query, mutation, typed schemas, nested routers, dynamicRouter, icons, and ctx.cache in Tools, routers, and schemas.
Approvals
Declare per-tool approval rules (always(), never(), Approval<Input>, withApproval, withApprovals) in Input prompts and tool approvals, and review browser and scheduled approvals on Approvals.
Schedules and webhooks
See scope rules for userCron, userInterval, appCron, appInterval, and webhook accounts in Framework versions and upgrades and Accounts and providers, and review pending scheduled runs on Approvals.
Asking for input mid-tool
Prompt users for structured form input with ctx.elicit in Input prompts and tool approvals.
Importing an existing service
Wrap remote MCP servers, OpenAPI documents, and GraphQL endpoints in Import MCP, OpenAPI, and GraphQL.
Storing data
Add numbered SQLite migrations in migrations/ and run queries and transactions with ctx.sql in App storage and SQLite.
Shipping instructions
Bundle skills/<name>/SKILL.md, load remote skills with dynamicSkills, and publish router instructions in Ship skills with an app.
Deploying
Deploy with executor apps deploy or over MCP in Build an app.
Updating an existing app
Read working source, commit snapshots, push with Git, and deploy commits in Build an app.
Update a hosted app
Sign in with executor apps login and deploy to Cloud or Self-host in Build an app.
Open an app UI
Build a private React UI with built-in Tailwind CSS v4, serve ui/public/, and look up your app’s URL in App UI and static files.
Install as a desktop app
Install an app UI as a desktop window with ui/icon.svg, ui/menubar.html, shortcuts, and permissions in Desktop apps.
What is coming later
See current platform scope and upcoming capabilities in Apps and versions and Tools and approvals.