We’ve added a CLI for Claude Platform to make every API endpoint runnable from your terminal. Call the Messages API, stand up Claude Managed Agents, pipe results straight into your shell. The ant CLI is well understood by coding agents (Claude Code) using the claude-api skill. https://t.co/t2ruhuAzRH
Anthropic launches ant CLI to automate Claude Managed Agents from the terminal
curl requests with subcommands for the Messages API and Claude Managed Agents. The tool includes an interactive explorer and uses GJSON (a syntax for filtering JSON data) to reshape model outputs directly in the shell.- Command
- ant
- Auth Method
- OAuth login, API key, WIF
- Output Formats
- json, yaml, jsonl, explore
- Supported Resources
- Messages, Models, Files, Agents, and others
- Installation
- Homebrew, curl, Go
This release enables developers to version-control agent definitions and self-hosted sandboxes as YAML files. The terminal interface allows Claude Code to use the claude-api skill to autonomously manage infrastructure. This shifts AI development toward agent-led environment management and automated CI/CD synchronization without requiring custom glue code.
Install the tool via Homebrew or curl to automate agentic workflows. The CLI supports interactive OAuth login to manage workspace-scoped credentials and profiles. Use the beta:agents and beta:sessions commands to deploy, update, and trace agent runs. It is available now for all Claude API users.
Still wondering? A few quick answers below.
Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards →
