AI 导读
Philipp Schmid 撰文解析 Agent 从少量工具、动态工具搜索演进到 Code Mode 的路径,说明带类型的 JS/Python 沙箱为何能胜过直接调用 bash,并预测 MCP 将在 2027 年强势回归,附 Gemini 4 Argon 的最小示例。文章发布于 https://www.philschmid.de/code-mode ,作者还推荐用 pi 工具来实验 Code Mode。
正文
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.
来源:Philipp Schmid · x.com