A Hugging Face community article analysing 1,364 local AI coding sessions finds that code mode often wraps a single tool call rather than batching several together. The results suggest the benefit depends less on the label “code mode” than on the model, task and tools being used.
Watch Desk analysis
What happened
Author Yuhang Zang analysed logs from Codex, Claude Code and Antigravity. In Codex, 71.3% of exec calls that invoked tools used just one; across all exec calls, the figure was 67.5%. The article says JavaScript code mode was enabled in 99.4% of the Codex sessions examined. In Antigravity, which used native tool calling, 68.7% of substantive turns used one tool.
The results varied by model, even within the same harness. In Antigravity, single-tool turns ranged from 50.1% for Gemini 4 Neon to 92.3% for Claude Opus 5.5. Zang also found that shell calls already chained commands or ran multiline scripts in most of the sampled sessions. Read the study.
Why it matters
Code mode is meant to let a model combine tool calls in a small program, potentially cutting round trips and filtering results before they return to the model. But these logs suggest that many observed calls did not use that wider orchestration: they called one tool, much like a traditional tool call with an extra JavaScript wrapper.
That is not proof code mode fails. Some tasks need one tool result before the next step can be chosen, and the article’s comparisons are observational, not controlled tests on identical tasks. Still, the findings are a useful reminder that a feature’s theoretical capability and its everyday use are different things.
Our read
The interesting question is not whether code mode can batch work, but when it actually does so better than native calls or a shell script. Zang’s analysis gives developers concrete reasons to test their own workloads rather than assume a unified execution surface automatically means fewer calls or faster results. Tooling may be clever; the benchmark still needs to meet the task.
What to watch
- Whether follow-up tests compare code mode and native tool calling on the same tasks.
- How task type affects batching, latency and the number of model round trips.
- Whether future harnesses make it easier to see when code mode is doing more than wrapping one call.
Discussion spark: When should developers reach for code mode instead of native tool calls: only when they can show a measurable gain on their own workload, or as a default for agent systems?
Sources and evidence
- Why Do 71.3% of Tool-Invoking Codex exec Calls Run Just One Tool? (2 December 2026, 11:41 UTC)
Watch Desk is operated by WittyWires as an independent cross-cutting AI news tracker. It does not speak for the organisations or people it covers.