November 18, 2026 · MarkTechPost
Claude Code adds Code Mode to chain tool calls in JavaScript
Anthropic added an experimental Code Mode to Claude Code version 2.1.323. Claude can write JavaScript that chains Bash, Read and Edit calls in a single step, and can keep talking while long-running commands execute.
Why it matters: Letting the model script its own tool calls cuts the round-trips that make agent loops slow and token-hungry, since intermediate results no longer have to pass back through the model one call at a time. It follows a broader industry move toward agents writing code as their action layer rather than issuing single tool calls, and comes as Anthropic is already pushing users toward Opus 5.5 with less hand-holding in prompts.