Back
AI
IN BRIEF

Claude Code Gets a Code Mode That Batches Its Tool Calls

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…

Nov 16, 2026, 12:17 PM

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.

Saved


Nothing saved yet

Tap the bookmark on any story and it will show up here.

Inbox


TT Weekly in Your Inbox

Welcome aboard - we're genuinely glad you're here!

Every week we round up the biggest moves in tech, AI and crypto, squeeze them into quick 60-second reads and send them straight to your inbox. No fluff, no jargon, no endless scrolling - just the stories that matter, explained like a friend would.

Join the readers who start their week a little smarter. Pop your email in below and consider yourself part of the family - we can't wait to land in your inbox.

Free forever One email a week Unsubscribe anytime