Configure your blueprint
astropods.yml sits at the root of your project and tells Astropods what your agent needs. The CLI reads it when you run the agent locally, push a blueprint, and deploy. This page walks through each section with a working example. The Blueprint Spec lists every key.
Start from a minimal file
ast create writes an astropods.yml for you. The smallest valid file names the spec version, the agent, and how to build its image:
agent takes exactly one of build (build from your Dockerfile) or image (a pre-built image reference). Everything else in the file is optional.
Choose how users reach the agent
agent.interfaces says whether the agent chats through Astropods messaging, serves its own web UI, or both:
Without interfaces, the agent gets messaging only. A frontend must serve HTTP on port 80 when deployed. Put interfaces under agent, because the platform ignores it at the top level. See Types of agents.
Add models
Each entry under models gives the agent access to a model. The entry name is yours. provider: gateway routes calls through the AI Gateway, so you need no provider key:
The models list is the menu the deployer picks from. The agent reads the pick from MODEL_DEFAULT, and calls the gateway at ASTRO_GATEWAY_URL with ASTRO_GATEWAY_API_KEY.
To call a provider with your own key, name the provider instead. The platform injects the key as ANTHROPIC_API_KEY, and asks for it at deploy time:
See Bring your own key.
Add knowledge stores
Each entry under knowledge gives the agent a database. A built-in provider such as postgres, qdrant, redis, mysql, or neo4j runs as a managed container with durable storage:
The platform creates the database user and injects POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD, and POSTGRES_DB. Read all five in your code. See Knowledge stores and Using knowledge stores.
Add integrations
Each entry under integrations is a service the agent calls, such as an API or an MCP server. A built-in provider injects its credential:
This entry injects GITHUB_TOKEN. Integrations also show as icons on the blueprint’s Agent Card.
Ask for values at deploy time
An input is a value the deployer supplies, such as an API key or a region. The input’s name becomes the environment variable:
agent.inputs reach the agent container only. Top-level inputs reach every container. Mark credentials secret: true, so the platform stores them securely and never logs them.
Locally, set inputs with ast project configure. At deploy time, pass them with --var, and reference a stored secret with @:
Run jobs on a trigger
Each entry under ingestion is a container that runs on a trigger, such as loading documents into a knowledge store:
The trigger type is schedule, startup, manual, or webhook. A schedule job takes its cron expression at deploy time. See Run an ingestion job.
Give the agent a sandbox
sandbox gives the agent a machine to run code on. toolchain is required, and the rest installs what the code needs:
See Remote Sandbox and Run code in a sandbox.
Validate the file
Check the file before you push:
The command checks YAML syntax, the schema, and the spec’s rules, and exits 0 on success. ast blueprint push runs the same checks.
Next steps
- Run your agent locally: start the agent and its dependencies on your machine
- Publish a blueprint: push the project to the registry
- Blueprint Spec: every key, with types and validation rules
- Agent Card: control how the blueprint looks in the catalog