<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>主题 on Weiuou的博客</title><link>https://blog.weiuou.top/topics/</link><description>Recent content in 主题 on Weiuou的博客</description><image><title>Weiuou的博客</title><url>https://blog.weiuou.top/avatar.png</url><link>https://blog.weiuou.top/avatar.png</link></image><generator>Hugo</generator><language>zh-cn</language><copyright>Weiuou</copyright><lastBuildDate>Sun, 05 Jul 2026 18:00:00 +0800</lastBuildDate><atom:link href="https://blog.weiuou.top/topics/index.xml" rel="self" type="application/rss+xml"/><item><title>AI Agent 开发</title><link>https://blog.weiuou.top/topics/ai-agent-development/</link><pubDate>Sun, 05 Jul 2026 18:00:00 +0800</pubDate><guid>https://blog.weiuou.top/topics/ai-agent-development/</guid><description>AI Agent 开发学习路线：从 Agent Loop 到 Harness、Tracing、Eval、Function Calling 和安全边界。</description><content:encoded><![CDATA[<p>AI Agent 开发不是把 LLM 接上几个工具就结束了，而是围绕模型建立一套可执行、可观察、可恢复、可评测的工程系统。</p>
<h2 id="一句话定义">一句话定义</h2>
<p>AI Agent 是一个能根据目标选择动作、调用工具、读取反馈并继续决策的系统；Agent 开发的重点，是把这个循环约束在可靠的工程边界里。</p>
<h2 id="推荐阅读顺序">推荐阅读顺序</h2>
<ol>
<li><a href="/posts/my-first-agent-loop-problems/">Agent开发笔记（1）我第一次手写 Agent Loop 遇到的问题</a></li>
<li><a href="/posts/agent-dev-notes-2-mini-agent-harness/">Agent开发笔记（2）从 Agent Loop 到 Mini Agent Harness</a></li>
<li><a href="/posts/agent-tracing/">Agent Tracing：理解 Agent 执行过程的可观测性</a></li>
<li><a href="/posts/agent-dev-notes-3-agent-eval-harness/">Agent开发笔记（3）从Agent Eval看为什么llm和harness是共同优化的整体</a></li>
<li><a href="/posts/agent-dev-notes-4-code-agent-sandbox-tool-permission/">Agent开发笔记（4）Code Agent 的 Sandbox 和 Tool Permission</a></li>
<li><a href="/posts/agent-development-common-problems/">Agent开发中的常见问题</a></li>
<li><a href="/posts/function-calling-notes/">Function Calling</a></li>
</ol>
<h2 id="核心概念表">核心概念表</h2>
<table>
	<thead>
			<tr>
					<th>概念</th>
					<th>作用</th>
					<th>相关问题</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Agent Loop</td>
					<td>让模型在生成、工具调用、观察之间循环</td>
					<td>什么时候停止，工具错误怎么返回</td>
			</tr>
			<tr>
					<td>Tool / Function Calling</td>
					<td>把模型意图转换为受控的外部能力</td>
					<td>schema、参数校验、tool choice</td>
			</tr>
			<tr>
					<td>Agent Harness</td>
					<td>包装 loop 的工程运行时</td>
					<td>trace、replay、错误恢复、安全边界</td>
			</tr>
			<tr>
					<td>Tracing</td>
					<td>记录一次 Agent run 的执行过程</td>
					<td>哪一步失败，为什么失败</td>
			</tr>
			<tr>
					<td>Eval Harness</td>
					<td>用固定任务集评估改动效果</td>
					<td>改 prompt、tool schema 后有没有变好</td>
			</tr>
			<tr>
					<td>Guardrail</td>
					<td>在高风险动作前后做约束</td>
					<td>权限、注入、敏感信息、输出处理</td>
			</tr>
	</tbody>
</table>
<h2 id="学习路径">学习路径</h2>
<p>先理解最小 Agent Loop，再给它补上工具结果格式、trace、错误恢复和上下文管理。等系统可以稳定复盘后，再引入 eval，用固定任务判断改动是否真的提升了行为。</p>
<p>对于真实应用，安全边界要尽早进入设计。模型可以提出动作意图，但系统必须决定它是否真的有权执行。</p>
<h2 id="延伸阅读">延伸阅读</h2>
<ul>
<li><a href="/posts/vibe-coding-ai-prototype-overengineering/">Vibe Coding AI 应用原型时，别让“过度工程化”掩盖了真正的问题</a></li>
<li><a href="/about/">关于 Weiuou 和这个博客</a></li>
</ul>
]]></content:encoded></item><item><title>MCP 学习路线</title><link>https://blog.weiuou.top/topics/mcp-learning-path/</link><pubDate>Sun, 05 Jul 2026 18:00:00 +0800</pubDate><guid>https://blog.weiuou.top/topics/mcp-learning-path/</guid><description>MCP 学习路线：从 MCP 是什么、MCP 架构到 Server 的 Tools、Resources 和 Prompts。</description><content:encoded><![CDATA[<p>MCP 的价值在于把 AI 应用和外部系统之间的连接方式标准化。理解 MCP 时，不要只看“它能调用工具”，还要看 Host、Client、Server 如何分工。</p>
<h2 id="一句话定义">一句话定义</h2>
<p>MCP 是一种让 AI 应用连接外部工具、数据源和提示模板的开放协议，可以把它理解为 AI 应用访问外部上下文的标准接口。</p>
<h2 id="推荐阅读顺序">推荐阅读顺序</h2>
<ol>
<li><a href="/posts/what-is-mcp/">什么是 MCP</a></li>
<li><a href="/posts/mcp-architecture/">MCP 架构</a></li>
<li><a href="/posts/mcp-server-tools-resources-prompts/">MCP Server</a></li>
<li><a href="/topics/ai-agent-development/">AI Agent 开发</a></li>
</ol>
<h2 id="核心概念表">核心概念表</h2>
<table>
	<thead>
			<tr>
					<th>概念</th>
					<th>作用</th>
					<th>常见例子</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>MCP Host</td>
					<td>使用 MCP 能力的 AI 应用</td>
					<td>Codex、Claude Desktop</td>
			</tr>
			<tr>
					<td>MCP Client</td>
					<td>Host 内部负责连接某个 Server 的组件</td>
					<td>每个 Server 通常对应一个 Client</td>
			</tr>
			<tr>
					<td>MCP Server</td>
					<td>向 AI 应用暴露能力的程序</td>
					<td>文件系统、GitHub、数据库、浏览器</td>
			</tr>
			<tr>
					<td>Tools</td>
					<td>主动执行动作的接口</td>
					<td>搜索、写入、调用 API</td>
			</tr>
			<tr>
					<td>Resources</td>
					<td>只读上下文或数据源</td>
					<td>文件、文档、数据库记录</td>
			</tr>
			<tr>
					<td>Prompts</td>
					<td>可复用的任务模板</td>
					<td>代码审查模板、调研模板</td>
			</tr>
	</tbody>
</table>
<h2 id="学习路径">学习路径</h2>
<p>先弄清楚 MCP 解决的是“连接标准化”问题，再理解 C-S 架构里的 Host、Client、Server。之后再看 Server 暴露的三类能力：Tools、Resources、Prompts。</p>
<p>如果你已经在做 Agent 应用，可以把 MCP 放到工具生态和上下文管理里理解：它不是替代 Agent Harness，而是给 Harness 提供更标准的能力入口。</p>
<h2 id="延伸阅读">延伸阅读</h2>
<ul>
<li><a href="/posts/function-calling-notes/">Function Calling</a></li>
<li><a href="/posts/agent-development-common-problems/">Agent开发中的常见问题</a></li>
</ul>
]]></content:encoded></item></channel></rss>