Deploy your first agent
Deploying takes a blueprint from the registry and runs it as a live agent on Astropods. The agent gets a web endpoint and optional integrations (Slack, etc.) based on the adapter you choose.
Requires a blueprint in your account. See Your first blueprint to push one.
Deploy a blueprint
<name> is the blueprint name (as shown in ast blueprint list). By default the agent is accessible through a web interface with authentication enabled.
Give the deployment a custom display name:
Supply required variables
Most agents require API keys or credentials at deploy time. Pass them inline:
The @SECRET_NAME syntax references a value from your account vault. You can also pass a literal value:
Or load from a file:
Use --dry-run to validate inputs without deploying:
Adapters
An adapter controls how your agent is exposed to the world. Each adapter adds an interface (a web endpoint, a Slack bot, or both). You choose adapters at deploy time with --adapter; the default is web with authentication.
web and insecure-web are mutually exclusive. slack can be combined with either.
insecure-web disables authentication, so anyone with the endpoint URL can access your agent. Use it only in trusted environments.
Configuring Slack
The slack adapter connects your agent to a Slack workspace as a bot. Users message the bot directly or mention it in a channel, and Astropods routes each message to your agent over the Messaging SDK. Watch the walkthrough below for setting up the Slack app and connecting it to a deployment.
Watch on Loom.
A Slack deployment takes three variables:
SLACK_CONFIG accepts these fields:
On the deploy form, each field has its own input under Slack Configuration, and lists are comma-separated. From the CLI, pass the whole object as one JSON value:
Each SLACK_CONFIG value replaces the previous one, so a redeploy that sets it must include every field you want to keep. The value must be valid JSON. The deploy does not check it, and a malformed value stops both Slack and web chat from starting for that agent.
Restrict the bot to channels
Once allowed_channel_ids is set, the bot replies to a mention or thread reply in any other channel with a notice that the app is not enabled there, and your agent never receives it.
The channel list controls where the bot listens. Who can use the agent is a separate setting: interface access.
To find a channel ID in Slack, open the channel details. The ID is at the bottom of the About tab.
Frontend agents
Agents that declare agent.interfaces.frontend: true in their spec serve their own web UI. Deploy them the same way:
The deployed agent receives a dedicated hostname and is immediately accessible in a browser. Its Launch button in the dashboard opens that hostname in a new tab. For a messaging agent, Launch opens the built-in chat instead. The --adapter flag has no effect for frontend agents. See Serve a frontend from your agent.
Next steps
- Managing your agents: inspect, update, and control a running agent
- Monitor your agents: add tracing and metrics to a deployed agent