Custom app
With frontend: true, the platform gives your agent a dedicated HTTPS hostname and sends that traffic straight to your container. Your server decides what to serve: a dashboard, a single-page app, or a server-rendered site.
Once you set interfaces, messaging defaults to false. Set messaging: true too to keep web chat and Slack.
Serve on port 80
The deployed container must listen on port 80, or it restarts in a loop. Blueprint Spec validation rule 15 enforces the port. Read the port from PORT with 80 as the fallback, so the same code also runs locally:
Node.js
Python
Sign-in and authorization
Visitors sign in to Astropods before any request reaches your container, and the platform forwards the signed-in user’s identity to your agent. The platform requires sign-in, but your server decides what each user may do.
- On Node or Python, the adapter-core auth middleware checks each caller against the agent’s access list: see Authorizing requests for Node or Python.
- In another language, see Manually authorize requests.
Who can open the app
Web app
CLI
Set access in Interface access on the deploy page, or later on the agent’s Configuration > Access page.
To open the app with no sign-in, set public: { custom: true } in the deploy file. See Access control.
Open the app
Launch, on the agent’s card and its page, opens your hostname in a new tab. When the agent also has web chat, the arrow beside Launch picks Custom app or Chat. Launch works only while the agent is active.
Run it locally
ast project start serves the app at http://localhost:3200. The CLI sends that traffic to container port 80, and sets PORT to match. If your dev server listens on another port, set it in dev:
The CLI then sends traffic to port 3000 and sets PORT=3000. This only changes local runs, so the deployed container must still listen on 80. See Run your agent locally.
Next steps
- Connect to OAuth-protected MCP servers: add OAuth flows to a custom app
- Access control: decide who can open the app
- Web chat: add chat beside the app