DigestAI news desk

Cut through the AI noise.

Agents & Tools4 min read

Anthropic adds Code Mode to Claude Code for JavaScript tool chains

It lets developers write JavaScript that chains multiple tool calls—like Bash, Read, or Edit—into a single program. This cuts round-trips in multi-step tasks but requires opt-in via the environment variable CLAUDECODEEXPERIMENTALCODEMODE=1 or a settings file.

3 sources

Key points

  • Code Mode chains JavaScript tool calls in Claude Code v2.1.323, reducing round-trips for developers
  • Opt-in via `CLAUDECODEEXPERIMENTALCODEMODE=1` or settings file; supports Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2
  • Background code runs for 2 hours, but waiting code stops after 10 minutes; unavailable on Bedrock or IDEs

Code Mode runs in an interactive terminal session (native build only) and supports Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.2. Background code can execute for up to 2 hours, but waiting code stops after 10 minutes. Anthropic notes no benchmark savings but cites an independent test showing 11.1k tokens of system-tool context with Code Mode versus 24.6k without. The feature is unavailable on Bedrock, Google Cloud, or IDEs like VS Code. Auto mode reviews code as a whole, not individual calls, while other modes prompt for permission per tool call.

Model pages: Claude Opus 5.5 → · Fable 5.2 →

The story so far

2 episodes →
  1. Anthropic adds Code Mode to Claude Code for JavaScript tool chainsthis story
Full story from MarkTechPost · by Michal SutterOpen source ↗

Anthropic Adds Code Mode to Claude Code: Claude Now Chains Tool Calls in JavaScript

MarkTechPost · 18 November 2026

Loading the full article…

This text was published by MarkTechPost and written by Michal Sutter. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗

Coverage and discussion

3sources
Topics · follow one to build your own front page

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Agents & Tools

All →

Related stories