知识卡片
该做成工具的不要做成智能体
与 God Agent 相反的另一个极端:为每个小任务都造一个智能体。对很多任务来说,做一个只把一件事做好、可被上层智能体调用的简单工具,效率高得多。
这个判断的依据是调用者与被调用者的分工。工具的行为是确定的、可测试的、可复用的;智能体带有决策成本与不可预测性。如果任务本身不需要判断,把它做成智能体只是把确定性换成了不确定性。需要共享时,把工具做成 MCP server 是自然选择——一个进程内的函数随之变成组织内可被多处发现和调用的能力。
由此可以画出一条判断线:先问”这件事需要运行时判断吗”。不需要,就做工具;需要,且判断能用固定流程约束,就做图结构智能体;只有判断必须完全开放时才做完全自主的智能体。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- AI Applications and Their Lifecycle · 查看原书依据
Often it is much more efficient to just build a simple tool that does one thing well and which then can be used by higher-level agents. If this tool needs to be shared within an organisation, then building it as a Model Context Protocol (MCP) server makes a lot of sense
参考来源
- 位置:《Building AI Agent Platforms》第01章《AI Applications and Their Lifecycle》(源文件:extracted/Building AI Agent Platforms/_epub-src/OEBPS/ch01.html,来源项目 book-source)
- 结论依据:原文指出为每个小任务造智能体是另一端反模式,做单一用途的工具更高效,并建议在组织内共享时做成 MCP server。
- 原始内容:Often it is much more efficient to just build a simple tool that does one thing well and which then can be used by higher-level agents. If this tool needs to be shared within an organisation, then building it as a Model Context Protocol (MCP) server makes a lot of sense