Anthropic Adds Experimental Code Mode to Claude Code, Letting Claude Chain Tool Calls in JavaScript
Anthropic shipped Code Mode in Claude Code v2.1.323 as an experimental, opt-in feature that lets Claude write a single JavaScript program to orchestrate multiple Bash, Read and Edit calls instead of requesting each tool call individually. Developers enable it with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 or via the settings env block, and it runs only in the interactive terminal on the native build with an Anthropic API or Claude subscription account. Anthropic publishes no benchmark or token-saving figure for the feature; waiting code times out after 10 minutes, while background runs can last up to 2 hours. Availability is narrow: no Bedrock, Google Cloud, Microsoft Foundry, -p, Agent SDK, VS Code or Desktop support, and admins can block it org-wide but cannot force it on.
Why it matters: It gives developers a concrete, actionable look at a new agentic tool-calling pattern in Claude Code, including how to enable it and its permission and availability constraints.