Skip to main content
Post

Claude Code adds experimental Code Mode

Claude Code added Code Mode, an experimental feature where Claude writes JavaScript that can make several tool calls in one step, instead of requesting each tool one at a time.

Claude Code Code Mode documentation
Official Claude Code documentation image for Code Mode.

It is off by default and may change or be removed in any release. To try it, set CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 and start an interactive terminal session on Claude Code 2.1.323 or later. Claude Code asks you to confirm before the first Code Mode session. It does not work with non-interactive -p runs, the Agent SDK, the VS Code panel, the Desktop app, or cloud sessions.

Loading replies