Pydantic code mode 实测:agent token 降 30%,8 模型 5276 次跑分提速 51%

samuelcolvin · x · 2026-10-29

Pydantic 官方发布 code mode 报告:让 agent 用一段 Python 循环替代逐条工具调用(如更新 200 条记录不再需要 200 次 tool call)。跨 8 个模型、5,276 次运行,长任务提速 51%,成功率提高 16 个百分点。

用户 @dlewis 反馈,采用 Monty 的 code mode 后自家 agent token 消耗减少 30%,还能让 agent 直接写过滤代码处理超长工具输出,从而支撑了更大规模工具集。

所属事件:Pydantic 发布 Code Mode 报告:长任务提速 51%、token 省 30%(2 条相关)→

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →