<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI Agent on Zayn's Blog</title><link>https://blog.treesir.pub/tags/ai-agent/</link><description>Recent content in AI Agent on Zayn's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>yangzun@treesir.pub (Zayn)</managingEditor><webMaster>yangzun@treesir.pub (Zayn)</webMaster><copyright>2021-2026 Zayn</copyright><lastBuildDate>Sun, 29 Mar 2026 10:30:00 +0800</lastBuildDate><atom:link href="https://blog.treesir.pub/tags/ai-agent/index.xml" rel="self" type="application/rss+xml"/><item><title>OpenClaw 记忆层降级策略：当 Working Memory 不可用时，如何保持稳定输出</title><link>https://blog.treesir.pub/posts/openclaw-memory-fallback-pattern/</link><pubDate>Tue, 24 Mar 2026 09:30:00 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/openclaw-memory-fallback-pattern/</guid><description>&lt;p>很多团队在做 AI Agent 时，最容易忽略的一件事是：&lt;strong>记忆系统也会故障&lt;/strong>。&lt;/p>
&lt;p>平时我们都把注意力放在提示词、模型效果、工具编排上，但一旦记忆层出现“半可用”（不是完全挂掉，而是读写行为不稳定），Agent 会很快进入一种尴尬状态：&lt;/p>
&lt;ul>
&lt;li>能跑，但上下文变浅；&lt;/li>
&lt;li>能答，但连续性变差；&lt;/li>
&lt;li>能写，但沉淀质量下降。&lt;/li>
&lt;/ul>
&lt;p>这篇文章不讲概念，直接讲一套能落地的策略：当 Working Memory 不可用时，如何通过分层降级保证业务连续性，并且为后续恢复留出“可回放”的证据链。&lt;/p>
&lt;hr>
&lt;h2 class="relative group">1. 问题不是“挂了没”，而是“退化到什么程度还能用”
&lt;div id="1-问题不是挂了没而是退化到什么程度还能用" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#1-%e9%97%ae%e9%a2%98%e4%b8%8d%e6%98%af%e6%8c%82%e4%ba%86%e6%b2%a1%e8%80%8c%e6%98%af%e9%80%80%e5%8c%96%e5%88%b0%e4%bb%80%e4%b9%88%e7%a8%8b%e5%ba%a6%e8%bf%98%e8%83%bd%e7%94%a8" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>真实线上里，记忆层异常通常分三种：&lt;/p>
&lt;ol>
&lt;li>&lt;strong>读失败&lt;/strong>：拿不到当日焦点与上下文。&lt;/li>
&lt;li>&lt;strong>写失败&lt;/strong>：新结论无法写回工作记忆。&lt;/li>
&lt;li>&lt;strong>部分成功&lt;/strong>：偶发成功，偶发 JSON 解析错误/超时，最难处理。&lt;/li>
&lt;/ol>
&lt;p>第三种最危险。因为它让系统看起来“偶尔正常”，导致团队误判稳定性。&lt;/p></description></item><item><title>从 MCP 到一键发包：把 Teambition 评论里的 APK 自动上传 Nexus 的那些坑</title><link>https://blog.treesir.pub/posts/from-mcp-to-one-click-release-ai-agent-automation/</link><pubDate>Sun, 29 Mar 2026 10:30:00 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/from-mcp-to-one-click-release-ai-agent-automation/</guid><description>&lt;h2 class="relative group">推荐阅读
&lt;div id="推荐阅读" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e6%8e%a8%e8%8d%90%e9%98%85%e8%af%bb" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>&lt;a
href="https://blog.treesir.pub/posts/daily-practice-2026-03-28/">每日技术实践简报 - 2026-03-28&lt;/a>&lt;/li>
&lt;li>&lt;a
href="https://blog.treesir.pub/posts/openclaw-ai-agent-architecture-v2/">OpenClaw AI Agent 架构解析：多引擎联动与记忆系统&lt;/a>&lt;/li>
&lt;li>&lt;a
href="https://blog.treesir.pub/posts/ai-agent-workflow-practice/">当 AI Agent 遇上运维自动化：我的实践踩坑之路&lt;/a>&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 class="relative group">目录
&lt;div id="目录" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%9b%ae%e5%bd%95" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>&lt;a
href="#%e7%9b%ae%e6%a0%87%e6%8a%8a%e6%89%8b%e5%b7%a5%e7%82%b9%e7%82%b9%e7%82%b9%e5%8f%98%e6%88%90%e5%8f%af%e5%a4%8d%e7%94%a8%e9%93%be%e8%b7%af">目标：把&amp;quot;手工点点点&amp;quot;变成可复用链路&lt;/a>&lt;/li>
&lt;li>&lt;a
href="#%e6%8a%80%e6%9c%af%e6%96%b9%e6%a1%88%e4%b8%ba%e4%bb%80%e4%b9%88%e9%80%89-mcp--skill">技术方案：为什么选 MCP + Skill&lt;/a>&lt;/li>
&lt;li>&lt;a
href="#%e5%ae%9e%e6%88%98%e4%bb%8e-mcporter-%e8%b0%83%e9%80%9a%e7%ac%ac%e4%b8%80%e6%9d%a1%e9%93%be%e8%b7%af">实战：从 mcporter 调通第一条链路&lt;/a>
&lt;ul>
&lt;li>&lt;a
href="#%e7%ac%ac%e4%b8%80%e4%b8%aa%e5%9d%91mcporter-%e7%9a%84%e5%8f%82%e6%95%b0%e6%a0%bc%e5%bc%8f">第一个坑：mcporter 的参数格式&lt;/a>&lt;/li>
&lt;li>&lt;a
href="#%e6%8b%bf%e8%af%84%e8%ae%ba%e5%92%8c%e9%99%84%e4%bb%b6listtaskactivitiesv3">拿评论和附件：ListTaskActivitiesV3&lt;/a>&lt;/li>
&lt;li>&lt;a
href="#%e7%ac%ac%e4%ba%8c%e4%b8%aa%e5%9d%91%e6%88%90%e5%91%98-id-%e5%85%a8%e6%98%af-objectid">第二个坑：成员 ID 全是 ObjectId&lt;/a>&lt;/li>
&lt;li>&lt;a
href="#%e7%ac%ac%e4%b8%89%e4%b8%aa%e5%9d%91apk-%e6%96%87%e4%bb%b6%e5%90%8d%e5%a4%aa%e9%87%8e%e4%ba%86">第三个坑：APK 文件名太野了&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a
href="#skill-%e5%b0%81%e8%a3%85tb-apk-uploader-%e7%9a%84%e6%a0%b8%e5%bf%83%e6%b5%81%e7%a8%8b">Skill 封装：tb-apk-uploader 的核心流程&lt;/a>&lt;/li>
&lt;li>&lt;a
href="#%e6%9c%80%e7%bb%88%e6%95%88%e6%9e%9c%e4%b8%80%e5%8f%a5%e8%af%9d%e5%8f%91%e5%8c%85">最终效果：一句话发包&lt;/a>&lt;/li>
&lt;li>&lt;a
href="#%e8%b8%a9%e5%9d%91%e6%80%bb%e7%bb%93%e5%88%ab%e8%a2%ab%e7%bb%86%e8%8a%82%e6%8b%96%e6%ad%bb">踩坑总结：别被细节拖死&lt;/a>&lt;/li>
&lt;/ul>
&lt;hr>
&lt;p>这周我被一个很&amp;quot;低级但很费命&amp;quot;的流程折磨了好几次:&lt;/p></description></item><item><title>OpenClaw 配置踩坑记：那些差点把我送走的问题</title><link>https://blog.treesir.pub/posts/openclaw-troubleshooting-guide/</link><pubDate>Sun, 15 Mar 2026 21:58:00 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/openclaw-troubleshooting-guide/</guid><description>&lt;h2 class="relative group">OpenClaw 配置踩坑记：那些差点把我送走的问题
&lt;div id="openclaw-配置踩坑记那些差点把我送走的问题" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#openclaw-%e9%85%8d%e7%bd%ae%e8%b8%a9%e5%9d%91%e8%ae%b0%e9%82%a3%e4%ba%9b%e5%b7%ae%e7%82%b9%e6%8a%8a%e6%88%91%e9%80%81%e8%b5%b0%e7%9a%84%e9%97%ae%e9%a2%98" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;blockquote>
&lt;p>踩了整整两天，记录下来希望别再踩第二次。&lt;/p>&lt;/blockquote>
&lt;h2 class="relative group">1. 模型配置那些破事
&lt;div id="1-模型配置那些破事" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#1-%e6%a8%a1%e5%9e%8b%e9%85%8d%e7%bd%ae%e9%82%a3%e4%ba%9b%e7%a0%b4%e4%ba%8b" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h3 class="relative group">1.1 模型名写错了
&lt;div id="11-模型名写错了" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#11-%e6%a8%a1%e5%9e%8b%e5%90%8d%e5%86%99%e9%94%99%e4%ba%86" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h3>
&lt;p>写配置的时候顺手就写：&lt;/p></description></item></channel></rss>