# Philipp Schmid explains Code Mode, collapsing agent tools into one code sandbox

> Original title: Are Agents soon going to have only 1 tool? We went from a handful of tools, to dynamic tool search, and now to collapsing everything into...

- Source: Philipp Schmid
- Published: 2026-11-02T15:30:23.000Z
- Bad Influence: https://badinfluence.news/items/whd9vp1y3oe69u1ldxvwo0j7z
- Original: https://x.com/_philschmid/status/2117278154918092817

## Summary

Philipp 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.

## Post

Are Agents soon going to have only 1 tool? We went from a handful of tools, to dynamic tool search, and now to collapsing everything into code mode. 

Wrote down how Code Mode works, why a typed JS/Python sandbox can beat raw bash, and why MCP is going to go back strong in 2027.  With an a minimal example for Gemini 4 Argon.

https://www.philschmid.de/code-mode

If you plan to explore code mode i can recommend testing with pi! Easily hackable and comes with strong foundation.

![](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHWIVPO6XYAAkjZj.jpg&mode=thumb&exp=1793836800&sig=3fb68f4178155232)
