HaiAI123

Curated Global AI Tools Directory

Industry update
New

Claude Code adds experimental Code Mode with JavaScript tool orchestration

12/05/2026 — 12/05, 11:18·1 sources (all)·1 reports (all)

Key takeaways

  • Anthropic added an experimental Code Mode to Claude Code: instead of calling tools one by one, the model generates a JavaScript script to or…
  • Anthropic warns it may change or be removed. One user test reported 37% fewer tokens and about 19% lower cost on large tasks.

Background & analysis

On December 5, 2026, InfoQ Chinese reported that Anthropic had added an experimental feature called Code Mode to Claude Code. Instead of issuing Bash, Read or Edit tool calls one at a time, the model writes JavaScript scripts that drive the tools, replacing the previous serial, single-step execution. A script can run commands in parallel, pass intermediate results into the next call, and return only the output the model needs. A documentation example shows a flow that uses rg to locate files, raises the retry limit, runs tests, and finally returns just the file paths and test output. Each tool call and diff is still shown in the conversation, and generated code is kept in the session transcript viewer.

The feature is off by default. It requires Claude Code v2.1.323 or later and is enabled through the environment variable CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1. Anthropic warned that the feature may be changed or removed in any release and is not guaranteed to be backward compatible. Timeouts come in two forms: code that Claude waits on synchronously is capped at 10 minutes, while tasks started in auto mode or permission-bypass mode can run in the background for up to 2 hours without interrupting the conversation. Anthropic recommends the mode for batch edits across multiple files, searches that need filtered results, and groups of independent commands.

On permissions, every call inside a script still passes through deny rules, ask rules and PreToolUse hooks, but in auto mode the classifier reviews the whole script before it runs rather than reviewing each call. The report also cited a user's comparative test claiming a 37% reduction in token usage and roughly 19% lower cost on large tasks. The feature remains experimental and disabled by default, and Anthropic has not said whether it will become generally available.

AI-generated from 1 reports · updated 3 hours ago

Related AI tools

updream
24-hour heatHeat index 90 · peak 100 · 3h ago
24 hours agonow

Reports on this story headlines open the original

Today
  1. Anthropic has added an experimental Code Mode to Claude Code that lets the model write JavaScript to orchestrate tool calls instead of issuing them one at a time, enabling parallel commands, chained results and filtered output. The feature is off by default and requires v2.1.323 plus an environment variable, and Anthropic warns it may change or be removed at any time. One user's comparison found 37% fewer tokens and about 19% lower cost on larger tasks.

    InfoQ 中文AI score 68

Other stories people are talking about

How is heat calculated?About the method

Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.

This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.

Surge
Discussion rising fast
New
First report within 6 hours
Rising
Still gathering discussion

Back to AI industry updates →