<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>单一智能体循环 | 锤子前端</title><description>Now vibe coding, so learning hammer FE ?</description><link>https://channel.meo-ai.com</link><item><title>《把子代理折叠回主循环：Anthropic 谈智能体架构的新取舍》</title><link>https://channel.meo-ai.com/posts/728</link><guid isPermaLink="true">https://channel.meo-ai.com/posts/728</guid><pubDate>Wed, 28 Oct 2026 13:05:13 GMT</pubDate><content:encoded>&lt;span class=&quot;post-title-source&quot;&gt;《把子代理折叠回主循环：Anthropic 谈智能体架构的新取舍》&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;标签：&lt;br /&gt;&lt;a href=&quot;/search/result?q=%23%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD&quot; title=&quot;#人工智能&quot;&gt;#人工智能&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E6%99%BA%E8%83%BD%E4%BD%93%E6%9E%B6%E6%9E%84&quot; title=&quot;#智能体架构&quot;&gt;#智能体架构&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%AD%90%E4%BB%A3%E7%90%86&quot; title=&quot;#子代理&quot;&gt;#子代理&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E6%B8%90%E8%BF%9B%E5%BC%8F%E6%8A%AB%E9%9C%B2&quot; title=&quot;#渐进式披露&quot;&gt;#渐进式披露&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%8D%95%E4%B8%80%E6%99%BA%E8%83%BD%E4%BD%93%E5%BE%AA%E7%8E%AF&quot; title=&quot;#单一智能体循环&quot;&gt;#单一智能体循环&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E8%AF%84%E4%BC%B0%E9%A9%B1%E5%8A%A8%E8%BF%81%E7%A7%BB&quot; title=&quot;#评估驱动迁移&quot;&gt;#评估驱动迁移&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;总结：&lt;br /&gt;这是 Anthropic 应用 AI 团队于 2026 年 10 月 22 日发布的企业智能体架构指南。核心观点是：随着模型能力增强（从 Opus 4.5 开始），许多企业多智能体系统里的路由、规划器和领域子代理其实在替模型做它已经不再需要的&quot;结构性工作&quot;，把这些部分折叠回一个主循环（配合 skills + tools 的渐进式披露），往往在质量、成本和延迟上同时更优——但文章并不否定子代理，而是强调用评估驱动、一次只改一处的迁移方式来决定每个子代理的去留。&lt;br /&gt;&lt;br /&gt;文章要点：&lt;br /&gt;1. 多个企业部署的对比显示，&quot;单智能体 + skills&quot;的设计在质量上经常同时胜过&quot;一个大提示词包揽一切&quot;和&quot;子代理架构&quot;两种方案，且单位任务的成本和延迟更低；有客户测得多智能体框架换成单循环后运行速度约快 2 倍。&lt;br /&gt;2. 按团队或问题类型划分子代理，会让架构变成组织架构图的复制品（康威定律），并带来五类典型问题：上下文交接丢细节、子代理泛滥无人负责、各团队往系统提示里加规则造成的&quot;缝合怪提示词&quot;（Frankenprompt）、评估各自为政、以及额外延迟。&lt;br /&gt;3. 单循环能成立靠两点：共享上下文让模型把各步骤结果串联起来，避免&quot;传话游戏&quot;式的层层摘要损耗；渐进式披露（先看到 skills 和 tools 的短描述，用到时才加载全文）消除了过去拆分子代理的主要理由——Anthropic 借此把 Claude Code 高阶模型的系统提示词缩减了 80% 以上。&lt;br /&gt;4. 推荐的单循环形态是：一个模型、一个上下文窗口跑开放式工具循环，harness 里设好回合与成本预算、写入闸门；模型第一回合就在上下文里写计划并随结果修订——写计划的人和执行计划的人是同一个模型，这是与&quot;编排器 + 专家代理&quot;最大的区别。&lt;br /&gt;5. 三类子代理应保留：单一循环因上下文膨胀出现可测量的性能退化时；多个任务需要并行处理、用完即弃的独立上下文时；单个智能体难以选对工具或系统提示中存在相互冲突的指令时。若保留，优先让主循环把它当工具调用，只有需要直接与用户对话时才做完整交接。&lt;br /&gt;6. 迁移路径分三步走：先建一个中央团队维护的端到端评估集（10 条黄金样本即可起步）；从使用最多、上下文耦合最强的子代理开始合并；其余逐个折叠成 skills + tools，每次只改一处、用 hillclimb 对比&quot;折叠前后&quot;的表现再决定去留。&lt;br /&gt;7. 配套工具已就绪：Claude API 提供 &lt;code&gt;build-eval&lt;/code&gt;、&lt;code&gt;prompt-audit&lt;/code&gt;、&lt;code&gt;hillclimb&lt;/code&gt;、&lt;code&gt;cost-optimize&lt;/code&gt; 等技能，并随附迁移套件（含可在模拟系统上试跑的演示），GitHub 上还有 Apache-2.0 的参考实现 &lt;code&gt;single-agent-loop-kit&lt;/code&gt;。&lt;br /&gt;8. 文章的落脚点是一个原则而非某种架构：持续测量、一次只改一件事、只保留经得起评估检验的部分——模型越强、循环越长，越多的子代理可以被 skills 和 tools 吸收。&lt;br /&gt;&lt;br /&gt;URL：&lt;a href=&quot;https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent-loop&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent-loop&quot;&gt;https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent-loop&lt;/a&gt;&lt;a class=&quot;tgme_widget_message_link_preview&quot; href=&quot;https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent-loop&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;When to consider using fewer subagents and how to migrate the into your main loop.&quot;&gt;
  
  &lt;div class=&quot;link_preview_site_name accent_color&quot;&gt;Claude&lt;/div&gt;
  &lt;img class=&quot;link_preview_image&quot; alt=&quot;Building agents: When to fold subagents into your main agent loop&quot; src=&quot;/static/https://cdn4.telesco.pe/file/UTFwV8NcBeT_R-JApUub1MwcmrFFF4Ok3zQwFbeMMRC0YbYj6jVkduBbtNeDEWeimtiAF9V2GpwmpQlSNYo8xNuY2M63Xc_9BLM-3QjgOBqUI6g_-WNs4ICU2E7GQR3m0Rr-TyFFEbRzKyCLXC4zkVuD9I9oh8Kd0ed9HT3KN6b_-jQbBh_pJDQFyTXQEVc5SJuYr1-W95wgtKwXbNhaKlAuA3rB-4MbLbJ9DkA0tTVOzSk0_cztdqDY9FB8XBCzcZtPK5mj1GA6xTolMDOgbBQpcOqrYIB4MEKBVohEVGvCW5mquVY8zcxjRoeuiGH3WXshdxBTTK9t7sOiK9vd9Q.jpg&quot; width=&quot;1200&quot; height=&quot;630&quot; loading=&quot;eager&quot; /&gt;
  &lt;div class=&quot;link_preview_title&quot;&gt;Building agents: When to fold subagents into your main agent loop&lt;/div&gt;
  &lt;div class=&quot;link_preview_description&quot;&gt;When to consider using fewer subagents and how to migrate the into your main loop.&lt;/div&gt;
&lt;/a&gt;</content:encoded></item></channel></rss>