🛠 Claude Code introduces experimental Code Mode for tool invocation

In the v2.1.323 release on November 12, Anthropic added Code Mode: the model writes a single JavaScript script instead of sequential Bash, Read, and Edit calls and executes it within the session. It is enabled by the variable CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 in ~/.claude/settings.json.

🌍 Instead of a chain of 'tool call → output → reasoning,' there is a single script: commands run in parallel, the result is passed forward without an extra model step, and only the necessary fields are returned to the context instead of raw JSON. The savings are plausible mechanically, but there are no measurements yet.

👤 You can enable it today: Claude Code v2.1.323+ and the variable in ~/.claude/settings.json. This is a beta: Remote Control, Claude in Chrome, and computer use do not work, and the mode is not available via Bedrock or other gateways.

Source 1: https://code.claude.com/docs/en/code-mode Source 2: https://github.com/anthropics/claude-code/releases/tag/v2.1.323