跳到正文
RadarAI· X:Philipp Schmid(Google DeepMind 开发者体验) (@_philschmid)·· 4 小时前AI 评分42

Code Mode 如何重塑智能体工具调用

AI 导读

Philipp Schmid 撰文解析 Code Mode 如何把智能体的多个工具折叠进单一代码模式,认为带类型的 JS/Python 沙箱优于裸 bash,并预测 MCP 将在 2027 年强势回归。文中附有 Gemini 4 Argon 的最小示例,并推荐用 pi 进行测试。

正文 · 原文

Philipp Schmid· @_philschmid · X·2026-11-02 23:30· 2 小时前AI 评分49

AI 导读

智能体很快会只剩 1 个工具吗?我们从少量工具,走到动态工具搜索,现在又把一切折叠进 code mode。 我写下了 Code Mode 的工作原理、为什么带类型的 JS/Python 沙箱能胜过裸 bash,以及为什么 MCP 会在 2027 年强势回归。附一个 Gemini 4 Argon 的最小示例。 https://www.philschmid.de/code-mode 如果你打算探索 code mode,我推荐用 pi 来测试!易于改造,且基础扎实。

正文 · 原文

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

来源:RadarAI · aihot.news