Founders BetaFounder price: US$ 9.90/month locked for as long as you subscribe.→
HomeBlogDicasClaude Code 2.1.323 and 2.1.326: Code Mode and auto mode
Share image from the Claude Code changelog page
Image: Anthropic
Dicas5 min

Claude Code 2.1.323 and 2.1.326: Code Mode and auto mode

Claude Code 2.1.323 and 2.1.326 bring experimental Code Mode and changes to auto mode and sandbox. See 4 tips based on the official changelog.

Claude Code versions 2.1.323 and 2.1.326 introduced Code Mode, an experimental mode where Claude writes JavaScript to call its own tools, along with changes to auto mode. According to the Anthropic changelog, the versions were released on November 12 and 16, 2026.

The biggest AI newsletter in the World

Get AI articles in your inbox

Technical curation on models, agents and coding tools. No spam, unsubscribe anytime.

Daily at 8:00 and 16:00 Brasília time. No spam.

The problem is familiar to anyone who uses agents daily: every update touches permissions, sandbox, and execution mode, and a change that goes unnoticed can stall a workflow or grant more access than the team intended.

The solution is to read the changelog by theme and test what changes in your workflow. Below are four tips based solely on the official notes for the two versions.

In this article you will see:

4 tips for testing Code Mode and auto mode in Claude Code

Tip 1: test Code Mode with a small task

The Claude Code changelog describes Code Mode as an experimental, opt-in mode where Claude writes JavaScript to call the tools. Instructions for turning it on and off are in the feature documentation, linked from the changelog itself.

Because it is experimental, start with a low-risk task in a test repository. Anthropic notes that organizations can disable Code Mode, and an admin can keep it disabled in managed settings.

Tip 2: use Code Mode with agent teams

Version 2.1.326 added support for enabling Code Mode while agent teams are active. Anyone who already had Code Mode enabled will now start sessions with teams already in that mode.

If you run multiple agents in parallel, it is worth running a test case before rolling this out to the whole team. The default session behavior changed for those who already had the feature enabled.

Version 2.1.326 also changed the Code Mode shell $ helper, which now rejects certain values with an error instead of running anything. If a script fails with that message, the cause may be there.

Tip 3: check which mode your sessions start in

The most cited headline from 2.1.326 is auto mode, but the default applies to specific cases. Terminal and VS Code sessions in organizations with the HIPAA Claude Code + Cowork setting now start in auto mode; disableAutoMode turns this off.

Sessions without a defined mode also now start in auto mode, not Manual mode, when the organization policy has not yet loaded. Anyone outside those cases does not get auto mode as a general default, according to the text.

Version 2.1.327, from November 17, warns that a future release will remove the auto mode fallback for billed classifier requests. In that case, every action will be prompted or denied.

Tip 4: review sandbox and permissions after updating

Version 2.1.326 changed sandbox behavior: commands on macOS, Linux, and WSL no longer write to certain sensitive user folders by default. Some can be allowed with sandbox.filesystem.allowWrite in user or managed settings.

The sandbox also now isolates unexpected entries in the repository .git folder after a command, and the hook with "decision": "block" applies in more cases. A hook that always prints that decision may start blocking calls.

Version 2.1.323 had already required confirmation before running /security-review, and raised the number of messages a session can send to other sessions on the same machine without a user prompt from roughly 20 to 100,000.

How to check your version today

Run claude --version to see the installed version. The Anthropic changelog page is generated from the CHANGELOG.md file in the official GitHub repository and groups long versions by change type.

Terminal
claude --version

If you manage Claude Code for a team, note other changes in 2.1.323: the engines["claude-code"] field in plugin.json, which prevents installing plugins outside the declared version range, and the TypeScript type checking for hooks in claude plugin validate.

Best practices are in 5 tips for using Claude Code daily. More guides are in the Tips and Workflows category.

Frequently asked questions about Claude Code 2.1.323 and 2.1.326

What is Claude Code's Code Mode?

It's an experimental, opt-in mode where Claude writes JavaScript to call its own tools. It was added in version 2.1.323, on November 12, 2026.

Has auto mode become the default for Claude Code?

In specific cases. Terminal and VS Code sessions for organizations with the HIPAA Claude Code + Cowork setting, and sessions with no mode defined when the policy hasn't loaded, start in auto mode, according to version 2.1.326.

Does Code Mode work with agent teams?

Yes. Version 2.1.326 added support for enabling Code Mode with active agent teams, and sessions with teams enabled now start in Code Mode for those who already had it turned on.

Can an organization turn off Code Mode?

Yes, an admin can keep Code Mode off in managed settings, according to the version 2.1.323 changelog.

How do I know which version of Claude Code I'm using?

Run claude --version in the terminal. The output shows the installed version, which you compare with Anthropic's official changelog.

How to combine the tips into a safer workflow

The common thread across both versions is control. Code Mode gives Claude more autonomy to chain tools, and the sandbox and permissions become stricter to compensate. Update in a test environment first.

Then, document which modes and rules apply for the team, and review the rules after each update. To run Claude Code alongside another agent without conflicts, see Claude Code and Codex together in the same repository.

A well-structured squad helps: one agent plans, another executes, and another reviews, each in its own space. Build an AI agent squad on bridgecode with Claude Code and other CLIs side by side, all running in parallel and isolated.

Source: Anthropic

Share this article

Tags:#Claude Code#Anthropic#Code Mode#auto mode
Marcelo Santiago
Marcelo Santiago·Creator of bridgecode

Developer and creator of bridgecode, an agentic development environment for orchestrating squads of AI agents. Helps people going from vibe coding to professional development move from idea to shipped product.

The biggest AI newsletter in the World

Enjoyed this content? Stay ahead in AI engineering.

Code analysis, multi-agent architecture, token benchmarks and tools selected by developers for developers.

Daily at 8:00 and 16:00 Brasília time. No spam.