CLI overview
The ast CLI — create, develop, and deploy agents from your terminal
The Astro AI CLI (ast) is the primary tool for working with agents locally and pushing them to the Astro AI platform. It handles project scaffolding, local development, building containers, and deploying to the registry.
Installation
See Install the CLI for platform-specific installation instructions.
Verify your installation:
Configuration file
Most commands read astroai.yml in the current directory. This file defines your agent’s spec — its name, interface, models, tools, knowledge bases, and other configuration.
Override the file path with the global --file flag:
Generate a JSON Schema for editor autocompletion:
Global flags
These flags are available on all commands:
Workflow overview
A typical development workflow uses these commands in sequence:
ast create— scaffold a new agent projectast dev— run the agent locally with hot-reloadast validate— checkastroai.ymlfor errorsast push— build and push to the Astro AI platform
Authentication is handled separately with ast login.
Next steps
- CLI reference — full command and flag documentation
- Your first project — step-by-step guide
- Authentication — manage credentials