3 ms·
> Headless mode (-p) allows easily running agents inside scripts and automations. The CLI also provides full ACP support to build your own bots and agent orche
by 2001zhaozhao 5mo ago
> Headless mode (-p) allows easily running agents inside scripts and automations. The CLI also provides full ACP support to build your own bots and agent orchestration apps.
Good, they are explicitly supporting automation similar to OpenAI.
- SwellJoe 5mo agoPretty sure they all do. $ claude -h Usage: claude [options] [command] [prompt] Claude Code - starts an interactive session by default, use -p/--print for non-interactive output $ gemini -h Usage: gemini [options] [command] Gemini CLI - Defaults to interactive mode. Use -p/--prompt for non-interactive (headless) mode. $ copilot -h Usage: copilot [options] [command] GitHub Copilot CLI - An AI-powered coding assistant. Start an interactive session to chat with Copilot, or use -p/--prompt for non-interactive scripting.
- Donald 5mo agoAnthropic has made a recent change that Claude Code will only bill extra usage for the print / non-interactive mode: > Starting June 15, 2026, Claude Agent SDK and claude -p usage no longer counts toward your Claude plan’s usage limits. Your subscription usage limits stay the same and stay reserved for interactive use of Claude Code, Claude Cowork, and Claude.
- SwellJoe 5mo agoBilling is a separate issue from whether automation is explicitly supported.
- addedGone 5mo agoNot in this context, obviously "Claude" support automation as it's also available since always via API, it's obvious poster was talking about subsidized usage.
- lostmsu 5mo agoWhat does "no longer counts" mean here? Is it going to be free on automated runs? Is it going to be banned entirely on sub and will work with credits only?
- SwellJoe 5mo agoCounted separately, and you get an included amount of tokens equal to the cost of your subscription. https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan https://support.claude.com/en/articles/15036540-use-the-clau...
- skp1995 5mo agoyes! we wanted to make sure that the binary works in your editors or via `-p`, no point in standing guard to how you would want to use it.