<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>05 Agent Harness - Cygnus Tech Blog</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/07-harness/05-agent-harness/</link><description>技术 × 产品 × 机器人</description><generator>Hugo 0.160.1 & FixIt v0.4.6-20260517062719-ed8ec5c2</generator><language>zh-CN</language><managingEditor>ruohuyang@163.com (Cygnus Yang)</managingEditor><webMaster>ruohuyang@163.com (Cygnus Yang)</webMaster><lastBuildDate>Sat, 23 May 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/07-harness/05-agent-harness/index.xml" rel="self" type="application/rss+xml"/><item><title>第16章 Agent 的生命周期 —— 从 prompt 到执行完成</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/07-harness/05-agent-harness/16-agent-lifecycle/</link><pubDate>Sat, 23 May 2026 00:00:00 +0800</pubDate><author>ruohuyang@163.com (Cygnus Yang)</author><guid>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/07-harness/05-agent-harness/16-agent-lifecycle/</guid><description>&lt;p&gt;上一篇我们深入了 Skills 的按需加载机制。本章我们看 Agent 的完整生命周期——从用户 prompt 到任务完成。&lt;/p&gt;
&lt;h2 class="heading-element" id="agent-生命周期是什么"&gt;&lt;span&gt;Agent 生命周期是什么&lt;/span&gt;
 &lt;a href="#agent-%e7%94%9f%e5%91%bd%e5%91%a8%e6%9c%9f%e6%98%af%e4%bb%80%e4%b9%88" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;一句话定义&lt;/strong&gt;：Agent 从启动到完成的完整流程——初始化→循环→完成→清理。&lt;/p&gt;</description></item><item><title>第17章 Harness 是 Agent 的操作系统 —— 一个深刻的类比</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/07-harness/05-agent-harness/17-harness-as-agent-os/</link><pubDate>Sat, 23 May 2026 00:00:00 +0800</pubDate><author>ruohuyang@163.com (Cygnus Yang)</author><guid>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/07-harness/05-agent-harness/17-harness-as-agent-os/</guid><description>&lt;p&gt;上一篇我们了解了 Agent 的完整生命周期。本章我们用一个类比深化理解——Harness 就是 Agent 的操作系统。&lt;/p&gt;
&lt;h2 class="heading-element" id="为什么这个类比很重要"&gt;&lt;span&gt;为什么这个类比很重要&lt;/span&gt;
 &lt;a href="#%e4%b8%ba%e4%bb%80%e4%b9%88%e8%bf%99%e4%b8%aa%e7%b1%bb%e6%af%94%e5%be%88%e9%87%8d%e8%a6%81" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;一句话定义&lt;/strong&gt;：Harness 为 Agent 提供运行环境，就像 OS 为程序提供运行环境。&lt;/p&gt;</description></item><item><title>第18章 Agent-Harness 协作模式 —— 推理与执行的完美配合</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/07-harness/05-agent-harness/18-agent-harness-collaboration-pattern/</link><pubDate>Sat, 23 May 2026 00:00:00 +0800</pubDate><author>ruohuyang@163.com (Cygnus Yang)</author><guid>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/07-harness/05-agent-harness/18-agent-harness-collaboration-pattern/</guid><description>&lt;p&gt;上一篇我们用类比深化理解。本章我们看 Agent 与 Harness 如何协作——推理与执行的完美配合。&lt;/p&gt;
&lt;h2 class="heading-element" id="agent-harness-协作是什么"&gt;&lt;span&gt;Agent-Harness 协作是什么&lt;/span&gt;
 &lt;a href="#agent-harness-%e5%8d%8f%e4%bd%9c%e6%98%af%e4%bb%80%e4%b9%88" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;一句话定义&lt;/strong&gt;：Agent 推理决策，Harness 执行落地——两者配合完成任务。&lt;/p&gt;</description></item></channel></rss>