Run your agent locally
ast project start runs your agent and its services in Docker containers on your machine, and serves a local chat so you can talk to the agent before you publish a blueprint.
This page assumes you have a project from the Quick start and Docker running. On Windows, see Running agents locally on Windows.
Set credentials
Run the interactive form from your project directory:
The command reads astropods.yml for the variables your agent needs and stores your values on your machine. ast project start loads them automatically, so you configure once.
An agent created with --model gateway needs no provider key locally, because the CLI gets a development key for the AI Gateway when you start. An agent created with --model anthropic or --model openai needs that provider’s key.
To skip the form, pass values directly or import a .env file:
Start the agent
The command builds your containers, starts them, and tails the agent log in the foreground. Press Ctrl+C to stop everything.
Run in the background
Start the containers and return to your terminal:
Then read logs and stop the containers when you finish:
By default, ast project start shows only the agent’s log. Add --all-logs to tail every service.
Run an ingestion job
If your spec declares an ingestion job, run it against the local environment with ast project trigger <name>. See ast project for the flags.
Next steps
- Publish a blueprint: push the project to the registry when it works locally
ast project: every flag for create, configure, start, logs, stop, and trigger- Astropods Spec: declare models, knowledge stores, and other capabilities