Code mode
The agent writes a program that calls its tools, run in one step, rather than calling each tool itself and reading every result.
Named by Kenton Varda, Sunil Pai.
Themes: Plans and agents · Tooling
With an agent: Computational guide, in Böckeler's grid.
Sources
- Code Mode: the better way to use MCP, Kenton Varda, Sunil Pai, 2025, Cloudflare Blog.
- Code execution with MCP: Building more efficient agents, Adam Jones, Conor Kelly, 2025, Anthropic Engineering.