<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Context_Management | 锤子前端</title><description>Now vibe coding, so learning hammer FE ?</description><link>https://channel.meo-ai.com</link><item><title>《Agent Harness 的解剖学：将 LLM 转化为工作引擎的系统工程》</title><link>https://channel.meo-ai.com/posts/631</link><guid isPermaLink="true">https://channel.meo-ai.com/posts/631</guid><pubDate>Sat, 09 May 2026 01:18:04 GMT</pubDate><content:encoded>&lt;span class=&quot;post-title-source&quot;&gt;《Agent Harness 的解剖学：将 LLM 转化为工作引擎的系统工程》&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;标签：&lt;a href=&quot;/search/result?q=%23AI_Agent&quot; title=&quot;#AI_Agent&quot;&gt;#AI_Agent&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23LLM&quot; title=&quot;#LLM&quot;&gt;#LLM&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23LangChain&quot; title=&quot;#LangChain&quot;&gt;#LangChain&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Harness_Engineering&quot; title=&quot;#Harness_Engineering&quot;&gt;#Harness_Engineering&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Context_Management&quot; title=&quot;#Context_Management&quot;&gt;#Context_Management&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Tool_Orchestration&quot; title=&quot;#Tool_Orchestration&quot;&gt;#Tool_Orchestration&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;总结：Agent Harness 是包裹在大模型之外的全套&quot;脚手架&quot;——包括系统提示词、工具调用、文件系统、沙盒环境、记忆管理和编排逻辑等。它把只能输入输出文本的&quot;裸模型&quot;，改造成能持久化状态、执行代码、自主规划并长期协作的合格智能体。文章从模型能力边界出发，逆向推导出每个 Harness 组件存在的必然性，并指出 Harness 工程与模型训练正在协同进化，优化 Harness 本身就能让同一模型在基准测试上从 Top 30 跃升至 Top 5。&lt;br /&gt;&lt;br /&gt;文章要点：&lt;br /&gt;- Agent = Model + Harness：如果你不是模型本身，那你就是 Harness。Harness 是除模型权重外的一切代码、配置与执行逻辑，负责把模型的&quot;智商&quot;转化为&quot;产能&quot; &lt;br /&gt;- 模型天生会&quot;健忘&quot;：裸模型只能处理上下文窗口内的信息，无法跨会话记住状态、执行代码或获取实时知识，这些&quot;超能力&quot;全靠 Harness 赋予 &lt;br /&gt;- 文件系统是最底层的基础设施：给 Agent 一个工作目录，它就能读写数据、卸载超长上下文、还能让多个 Agent 像同事一样通过共享文件协作 &lt;br /&gt;- Bash + 代码执行是万能瑞士军刀：与其为每个场景预写工具，不如直接给 Agent 一个终端，让它现场写代码、装依赖、自己造工具解决问题 &lt;br /&gt;- 沙盒让 Agent 安全地&quot;动手&quot;：在隔离环境里跑代码、测效果、看日志，既防手滑删库，又能按需扩容、用完即焚 &lt;br /&gt;- 记忆靠&quot;上下文注入&quot;实现：通过 &lt;a href=&quot;http://AGENTS.md/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;AGENTS.md&quot;&gt;AGENTS.md&lt;/a&gt; 等记忆文件标准，把历史经验塞进新会话；再配合网络搜索和 MCP 工具，突破训练数据的时间 cutoff &lt;br /&gt;- 上下文腐烂是隐形杀手：随着对话变长，模型性能会断崖下跌。Harness 通过 Compaction（智能摘要）、Tool 输出卸载和 Skills 渐进式加载来保护宝贵的上下文空间 &lt;br /&gt;- 长程任务需要&quot;接力跑&quot;：Ralph Loop 机制让 Agent 在上下文耗尽时，从文件系统读取进度、换一块&quot;干净&quot;上下文继续干；配合 git 记录和自验证循环，实现跨会话的复杂项目开发 &lt;br /&gt;- Harness 与模型在&quot;共同进化&quot;：Claude Code、Codex 等产品会把 Harness 逻辑也放进后训练环节，但有趣的是——换一套更优 Harness，同一模型排名能从 30 名外冲进前 5 &lt;br /&gt;- 未来 Harness 会&quot;瘦身&quot;但不会消失：随着模型原生规划、验证能力变强，部分 Harness 功能会被模型吸收；但就像提示工程至今仍有价值，Harness 工程作为&quot;围绕模型智能设计系统&quot;的学科，仍将持续发光 &lt;br /&gt;&lt;br /&gt;文章URL：&lt;a href=&quot;https://www.langchain.com/blog/the-anatomy-of-an-agent-harness&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;https://www.langchain.com/blog/the-anatomy-of-an-agent-harness&quot;&gt;https://www.langchain.com/blog/the-anatomy-of-an-agent-harness&lt;/a&gt;&lt;a class=&quot;tgme_widget_message_link_preview&quot; href=&quot;https://langchain.com/blog/the-anatomy-of-an-agent-harness&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;Learn how agent harnesses transform AI models into autonomous work engines. Explore core components: filesystems, sandboxes, and memory.&quot;&gt;
  
  &lt;div class=&quot;link_preview_site_name accent_color&quot;&gt;Langchain&lt;/div&gt;
  
  &lt;div class=&quot;link_preview_title&quot;&gt;The Anatomy of an Agent Harness&lt;/div&gt;
  &lt;div class=&quot;link_preview_description&quot;&gt;Learn how agent harnesses transform AI models into autonomous work engines. Explore core components: filesystems, sandboxes, and memory.&lt;/div&gt;
&lt;/a&gt;</content:encoded></item></channel></rss>