The whole dayTue 17 Nov 2026
AI Compass
WeeklyArchiveAbout

Anthropic adds experimental Code Mode to Claude Code for JS tool chains

Available on 17 November 2026 in Claude Code v2.1.323+ for direct Claude and Anthropic Console accounts via the CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 flag.

Warm terracotta Claude sunburst emblem inside a dark-glass terminal chassis routing amber and cyan conduits through search, file-stack and three parallel gear cubes
Image: AI Compass illustration (Anthropic marks)

Anthropic launched experimental Code Mode in Claude Code v2.1.323 and later on 17 November 2026, opted into via the environment variable CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 in the terminal. Rather than issuing one tool invocation per model round-trip, Claude writes a JavaScript program that chains multiple tool calls in one step, loops across files for repetitive edits, filters bulky search results before reading them and runs independent commands concurrently.

Background execution, 10-minute timeouts and direct API constraints

While background commands run, Claude Code can continue answering user prompts in the active terminal session, extending recent Claude Code workflow updates. Foreground scripts stop after a 10-minute timeout, Auto Mode’s safety classifier inspects the generated JavaScript program rather than individual calls, and PreToolUse or UserPromptSubmit hooks can refuse calls or withhold script output.

Code Mode requires a direct Claude subscription or Anthropic Console account on either release channel and cannot be resumed outside the terminal, moved to Desktop, forked into background sessions or used with Remote Control, Claude in Chrome, computer use, Bedrock, Vertex or Microsoft Foundry.

Technical details

Minimum CLI version and flag
Claude Code v2.1.323+ with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 on Stable or Latest channel
Execution model and timeout
Generated JavaScript chaining multiple tool calls in one step; 10-minute foreground cap plus background execution
Supported accounts
Direct Claude subscription or Anthropic Console API account (organisation admins can block Code Mode)
Current exclusions
No Bedrock, Vertex, Microsoft Foundry, gateways, Desktop move, /fork background copy, Remote Control or computer use

Release details & context

Hook interactions, session resumption rules and organisation policy controls

Because Code Mode bundles multiple operations inside one JavaScript execution block, hook behaviour differs from standard sequential tool use: if a configured PreToolUse hook times out or fails to run, individual tool calls inside the script can be refused, while a UserPromptSubmit hook can withhold the script’s returned output.

Sessions started with Code Mode enabled can only be resumed inside the terminal with Code Mode still switched on, and enterprise administrators can block Code Mode across managed workspaces through Claude Code organisation settings.

Common questions

How do developers enable experimental Code Mode in Claude Code?

Update to Claude Code v2.1.323 or newer on a direct Claude subscription or Anthropic Console account and set CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 in the terminal environment.

Does Claude Code’s Code Mode work through Amazon Bedrock, Google Vertex AI or Microsoft Foundry?

No, experimental Code Mode currently works only with direct Anthropic API or Claude subscription accounts and is unavailable through third-party cloud providers or API gateways.

Anthropic release timeline (43 launches tracked)

  1. Earlier13 Nov 2026
    Anthropic updates Claude Code with Project chat and desktop theme mods

    Anthropic updates Claude Code so the Projects coordinator answers chat questions across parallel threads and the desktop app supports custom theme mods.

  2. Earlier13 Nov 2026
    Anthropic publishes 10 safety evaluation design recommendations

    Anthropic publishes 10 engineering recommendations for designing, sandboxing, grading and statistically reporting frontier AI safety evaluations.

  3. Earlier16 Nov 2026
    Anthropic adds iPhone Duo iOS simulator support to Claude Code desktop

    Anthropic adds public beta support for iPhone Duo in the iOS simulator in Claude Code desktop, letting Claude fold and unfold app layouts.

  4. Shipped next18 Nov 2026
    Anthropic prices 980M-share Nasdaq IPO at $83 under ticker ANT

    Anthropic prices its 980-million-share Nasdaq Global Select IPO at $83 per share under ticker ANT, raising $79.38 billion in gross primary proceeds.

Explore the full Anthropic dossier or browse all coding agent releases.

Also in the Tuesday 17 November edition

Read all 18 launches on one page
  1. 01
  2. 02
  3. 03
  4. 04
  5. 05
  6. 06
  7. 07
  8. 09
  9. 10
  10. 11
  11. 12
  12. 13
  13. 14
  14. 15
  15. 16
  16. 17
  17. 18

Spotted an error? Email aiforsuccess.in+compass@gmail.com or tag @ai_for_success on X