News · AI NEWS

Claude Code ships experimental Code Mode, writing JavaScript to run several tool calls in one step

· Beijing time

Summary

Anthropic’s Claude Code v2.1.323, released on November 12, adds experimental Code Mode, which is off by default. Instead of requesting tools such as Bash, Read, or Edit one at a time and reading each result before the next step, Claude writes a piece of JavaScript that Claude Code runs in the session, so several tool calls can run in parallel or in a chain and only the output Claude needs is returned. It is enabled by setting CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 and works only in an interactive terminal session of the native Claude Code build, with a Claude subscription or Console account. It does not work through a gateway, Amazon Bedrock, Google’s Agent Platform, or Microsoft Foundry, or in the VS Code panel, the desktop app, cloud sessions, or `-p` runs. The docs list other limits: a Code Mode session can be resumed only with Code Mode on; auto mode’s classifier reviews the code rather than each tool call; and foreground code stops after about ten minutes. Organizations can set the variable to 0 in managed settings to block the feature.

#Anthropic#Claude Code#coding-agent#developer-tools

This summary reflects the cited source. Visit the original for its full context.

← All AI news