Anthropic Adds Experimental Code Mode to Claude Code for Batched Tool Calls
Summary
Anthropic adds Code Mode to Claude Code, an experimental feature where Claude writes JavaScript that makes several tool calls in one step instead of asking for each one. It is off by default and requires version 2.1.323 or later, a subscription or Console account, and the CLAUDE_CODE_EXPERIMENTAL_CODE_MODE variable. Code stops after ten minutes unless it runs in the background.
Key Points
- Anthropic's Code Mode supports only Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2.
- Anthropic blocks Code Mode on gateways, Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry.
- Anthropic's documentation says background Code Mode code can run for up to two hours.