agno command scaffolds AgentOS projects, runs them with Docker Compose, connects your coding agents over MCP, and manages service-account tokens. Every command takes --json and emits a single JSON document on stdout, so coding agents and scripts can drive it.
Install
The CLI ships with the SDK, so installingagno 2.7 or later puts the agno command on your PATH.
agnoctl. It depends on typer, rich, and httpx only, so it runs on machines without the SDK:
agno and agnoctl are the same CLI under two names.
Commands
How the CLI Finds Your AgentOS
connect, status, and tokens need a running AgentOS. They resolve its URL in this order:
The probe covers
AgentOS.serve()’s default port (7777), common bump-up ports, and a bare uvicorn setup (8000). If your AgentOS runs on any other host or port, point the CLI at it with --url or AGENTOS_URL.
Developer Resources
- agnoctl reference: full flag tables, environment variables, exit codes, and JSON output schemas
- Starter templates