Code Mode in Claude Code (Experimental)
An opt-in experimental mode where Claude writes JavaScript to call its tools, for Claude Code users who want to try it.
Details
- With Code Mode on, Claude writes JavaScript to call its tools. It is off by default and can be turned on or off per user or for an organization, with setup in the Code Mode docs.
- Shipped in Claude Code 2.1.323 on November 12, 2026.
- The same release lets plugins declare which Claude Code versions they support, and plugins outside that range are not installed, updated, or loaded.
- Unrecognized model IDs are now assumed to have a 1 million token context window instead of 200,000, which matters for people running Claude Code on other vendors' smaller models. Setting CLAUDE_CODE_DISABLE_1M_CONTEXT=1 keeps 200,000.
Best for
Claude Code users who want to test a different way for Claude to work with its tools.
When to use it
You are comfortable with experimental features and want to compare it against the default behavior.
Who benefits
Developers on Claude Code, and organizations that can switch it on or off for their whole team.
Join the newsletter to get ahead with AI.
I share strategies, new modules, free guides, and tools to get you better at using AI in your work.
Leading a team? See team programs →
