Build on Agent Serve

An app is a small web front end that runs inside an Agent Serve workspace. You write the screens your team needs — a deal desk, a field visit log, a support queue — and the workspace provides everything around them.

What the workspace gives you

You write only your domain code. The rest comes from the workspace the app is installed in:

You getHow
Sign-in, people and rolesPeople open the app from the workspace, already signed in. The app reads who they are and their role with useViewer().
DataRead and add rows in Tables, query the semantic model, and read or create workspace Files.
ModelsRun deployed workflows, hand tasks to Relays, or open Chat with a question. Each one uses the models and integrations already set up in the workspace.
Your own logicShip code tools with the app: functions that run on Agent Serve, give the same answer every time, and can be called by the app, Chat, Relays and workflows.
SecurityThe app acts as the person using it, narrowed to what its manifest names. It runs in a sandboxed frame with no network access of its own. See Security model.
Metering and auditPaid work an app starts, including its code tool runs, is counted against its monthly budget, and every write and tool run is in the audit trail.

There is no server to run, no login to build, and no database to provision.

How it fits together

  1. Manifest. agentserve.app.yaml names the app, its pages, what it may reach, and what to create on install. See Manifest reference.
  2. Bundle. You build the front end into static files (HTML, JavaScript, CSS, images). The CLI packs them with the manifest into an archive.
  3. Draft version. agentserve app deploy uploads the archive as a draft version of the app. Or connect a repository, and each push builds a draft version on Agent Serve. Where the browser IDE is on, you can also edit and push from the browser.
  4. Publish. A workspace admin publishes the draft, which makes it installable: agentserve app publish <version>.
  5. Install. An admin installs a published version in a workspace. The install creates the tables, rules and Relays the app declares, if they are missing.
  6. Open. People open the app from the Apps section of the workspace. Admins can pin it to the rail for chosen roles or permission groups.

Apps are turned on per workspace or organization. If you do not see the Apps section, Apps is not on for your workspace yet, or your permission group does not include it.

An app can also provide dashboard panels and Chat cards: small HTML views that render in the same sandboxed frame, inside a dashboard or a Chat reply.

Where to start