# Manage AgentOS from the command line with agnoctl

> A new CLI ships as agnoctl on PyPI and runs as agno. agno connect discovers an AgentOS, mints per-client PATs, and writes MCP config for Claude Code, Claude Desktop, Cursor, Codex, and ChatGPT, then…

- Published: 2026-07-07
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/manage-agentos-from-the-command-line-with-agnoctl
- Markdown: https://agno-com-nine.vercel.app/articles/manage-agentos-from-the-command-line-with-agnoctl.md

A new CLI ships as `agnoctl` on PyPI and runs as `agno`. `agno connect` discovers an AgentOS, mints per-client PATs, and writes MCP config for Claude Code, Claude Desktop, Cursor, Codex, and ChatGPT, then confirms each connection works. From there, `agno tokens create/list/revoke` manages your tokens, `agno create` scaffolds a new project from the `agentos-<provider>` templates for Docker, AWS, Fly, GCP, and Railway, and `agno up/down/restart/status` handles the lifecycle of a local deployment. You drive the whole platform from the terminal instead of stitching together manual steps.

View the [Connect Your Clients docs](https://docs.agno.com/cli/connect#connect-your-clients) for more on how to connect Claude Code, Claude Desktop, Codex, and Cursor to a running AgentOS over MCP with one command.
