r/coding_agents • u/thehashimwarren • 1d ago
Code Mode is the biggest coding model innovation of 2026
I think "Code Mode" or programmatic tool calling could expand the use cases of what agents can realiably handle without a leap in model intelligence or compute.
To understand where we’re heading, it helps to look back at how we got here:
September - 2025
MCP made tools easier to connect, but every intermediate result could eat into the model’s context. Cloudflare’s proposal was to “Convert the MCP tools into a TypeScript API.” A script could carry data from one tool to the next and return only what the model needed to see.
- Cloudflare’s Code Mode announcement
November - 2025
The agent still needed to find the right tools. Anthropic showed how 58 tool definitions could consume 55,000 tokens before the conversation started. It paired Programmatic Tool Calling with Tool Search so agents could “discover and load tools on-demand.” Claude for Excel was already using programmatic calls on spreadsheets with thousands of rows.
February - 2026
Cloudflare put its entire API behind two MCP tools, `search()` and `execute()`, with about 1,000 tokens of tool definitions. The agent could look up the operations it needed and compose them in code.
September - 2026
OpenAI had shipped Programmatic Tool Calling in the Responses API in July. Financial research startup Rogo reported matching its quality rubric with 21% fewer input tokens in its evals. In September, OpenAI launched the Codex-powered Agents API, where agents could “filter or combine results in code.”
November - 2026
Claude Code announced Code Mode as “an experimental opt-in in which Claude writes JavaScript to call its tools.” Codex had Code Mode in its public codebase by March, and its model catalog now selects it automatically for GPT‑6.2‑Sol.

