According to Constant Watch Beating monitoring, Anthropic has launched the official command-line tool ant CLI for the Claude platform. This tool supports calling APIs, uploading files, and managing/deploying Managed Agents from the terminal. Users can currently install it via macOS Homebrew, a curl script, or the Go compiler.
Each API resource of the tool is designed as a subcommand, covering the Messages API, models, and files. Developers can construct requests using command-line arguments or pipe inputting YAML format data. They can reshape the response format using the --transform parameter and choose to output results in JSON, YAML, JSONL, or the default folded search interactive terminal interface. By using the interactive login command ant auth login, users can open a browser to complete OAuth authorization, restrict access tokens to specific workspaces, and automatically save them for sharing between the command line and SDK.
One of the core features of ant CLI is managing deployment of Managed Agents hosted on the Anthropic cloud. Developers can seamlessly synchronize a locally written YAML configuration file defining agent behavior to the Claude platform with a single command ant beta:agents update. The command-line tool supports directly starting cloud agent task sessions in the terminal, pulling every step of inference, tool invocation, and decision trajectory undertaken by the agent in the cloud upon task completion or interruption, enabling purely command-line-based monitoring and debugging.
The Claude Code smart coding tool has natively integrated the claude-api skill, which can automatically invoke ant CLI to list sessions, upload PDF folders, or debug runs without developers needing to write additional adapter glue code.
