Coding agentAnthropicConfirmed
Story 8 of 18 in the Tuesday 17 November editionAnthropic 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.

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.
Sources
- PrimaryRun tool calls from code with Code Mode - Claude Code Docscode.claude.com
- On XClaude Developers (@ClaudeDevs) Code Mode announcement on Xx.com
Anthropic release timeline (43 launches tracked)
- 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.
- Anthropic publishes 10 safety evaluation design recommendations
Anthropic publishes 10 engineering recommendations for designing, sandboxing, grading and statistically reporting frontier AI safety evaluations.
- 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.
- 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.

