Philipp Schmid argues AI agents may need only one tool through Code Mode
Overview
Google AI developer Philipp Schmid argues on X that AI agents may soon need only one tool, moving from a few fixed tools to dynamic tool search and then to Code Mode.
In Code Mode, the agent harness exposes a single exec(code) tool, and the model writes a script that chains actions in a sandbox. Only the final text summary returns to the model's context, not the raw output of each call. Schmid says a typed JavaScript or Python sandbox can work better than raw bash, and he expects MCP to regain strength in 2027. He includes a runnable Gemini 4 Argon example and recommends the pi tool for testing. The reports contain Schmid's claims and example only, with no benchmark results or independent comparison against bash or other tool setups. Schmid also notes that many existing tools built for bash may not integrate cleanly.
Written by AI from the articles below · updated Nov 2, 11:00 AM ET
Check the sources:
Developments
2 developments
- Nov 2, 10:30 AM ET · 1 articlePhilipp Schmid explains Code Mode, collapsing agent tools into one code sandboxPhilipp Schmid: Philipp Schmid explains Code Mode, collapsing agent tools into one code sandbox
- Oct 31, 8:00 PM ET · 1 articleCode Mode lets agents chain tool calls in one script instead of one per turnPhilipp Schmid: Code Mode lets agents chain tool calls in one script instead of one per turn
Article timeline
The articles in this story. Times are ET.
Philipp Schmid@_philschmidXPhilipp Schmid explains Code Mode, collapsing agent tools into one code sandboxAIPhilipp Schmid argues agents may soon need only one tool, as they move from a few tools to dynamic tool search and then to Code Mode. He wrote a guide on how Code Mode works, why a typed JavaScript or Python sandbox can beat raw bash, and why he expects MCP to regain strength in 2027. The post includes a minimal example using Gemini 4 Argon and recommends the pi tool for testing it.

- Philipp SchmidBlogCode Mode lets agents chain tool calls in one script instead of one per turn
AIPhilipp Schmid describes Code Mode, where an agent harness exposes a single exec(code) tool and the model writes a script that chains actions in a sandbox. Only the final text summary returns to the model's context, instead of the raw output of each call. He includes a runnable Gemini example and notes that many existing tools built for bash may not integrate cleanly.
Heat Trend
- Current comparable heat
- 12
- Peak comparable heat
- 13Nov 2, 11:00 AM ET
- Change in past 24 hours
- –
The trend compares only continuously observed participants, so its scope may be smaller than the current heat total. Hover or tap for hourly heat; use arrow keys with a keyboard.