up, down, and restart shell out to docker compose against your project’s compose file. Run them from a project directory created with agno create, or point them at a compose file with --file.
Compose File Detection
Without--file, the CLI looks for the first match in the current directory, then in ./infra:
docker-compose.yml, docker-compose.yaml, compose.yml, compose.yaml
up, down, restart
A real
restart runs down, waits two seconds, then runs up. A dry run skips the wait and runs neither command. In human-readable mode, restart --dry-run prints only the up command. With --json, its response contains both command payloads.
Typer handles usage errors before the command runs. Unknown commands, unknown flags, missing arguments, and invalid option values exit with code 2 and write diagnostics to stderr. They do not emit JSON, even when --json is present.
status
status discovers the AgentOS (see discovery order) and reports:
- Base URL and agno version
- MCP endpoint, or
disabledwhen the MCP server is off - Auth mode:
none,security_key,jwt, orunknownwhen legacy probing cannot determine the mode - MCP auth, when the MCP endpoint carries its own OAuth protection
- Each supported client: not detected, detected but not connected, or configured (with the config location)