Anthropic has added an experimental Code Mode to Claude Code that lets Claude write JavaScript to call its tools, instead of asking for each tool call one at a time. It shipped in version 2.1.323 on November 12, as documented by Anthropic.
In a normal session, Claude asks for a tool such as Bash, Read or Edit, reads the result, then decides what to do next. With Code Mode on, Claude writes a short script that makes the calls itself. One script can run commands in parallel, feed one result into the next call, and return only the part of the output Claude needs to read.
The point is to cut the overhead that eats through usage limits. Anthropic recommends it for jobs with many related tool calls: a change repeated across many files, a search whose results need filtering, or several independent commands that can run at once.
It is off by default and clearly labelled a test. Turn it on by starting Claude Code with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 in an interactive terminal session. It needs Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 or Fable 5.2, and it does not work through Bedrock, other gateways, the VS Code panel, the desktop app or cloud sessions.
Each call the code makes still passes through your permission rules, and version 2.1.325, released November 13, fixed several early bugs.
TechThrum 




