<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Agent架构 on 卓琪的开发笔记</title>
    <link>https://zhuoqidev.com/tags/agent%E6%9E%B6%E6%9E%84/</link>
    <description>Recent content in Agent架构 on 卓琪的开发笔记</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <copyright>© 2026 Liu ZhuoQi</copyright>
    <lastBuildDate>Mon, 11 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://zhuoqidev.com/tags/agent%E6%9E%B6%E6%9E%84/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>什么时候用 RAG，什么时候用 LLM Wiki，什么时候用纯文本记忆——一个 Agent 记忆选型框架</title>
      <link>https://zhuoqidev.com/posts/memory-choice-framework/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://zhuoqidev.com/posts/memory-choice-framework/</guid>
      <description>&lt;p&gt;做 Agent 系统的人迟早会撞上这个选择题：&lt;strong&gt;用户的数据往哪放，下次对话怎么记住？&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;目前工业界有三条主流路线——RAG（向量检索）、LLM Wiki（结构化知识注入）、纯文本上下文记忆（CLAUDE.md / Cursor Rules 模式）。三条路各有拥趸，但&lt;strong&gt;选错的代价很大&lt;/strong&gt;：RAG 做轻了是噪音生成器，纯文本做重了是 token 焚化炉。&lt;/p&gt;&#xA;&lt;p&gt;这篇给出一个可以直接用的决策框架。&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;三种方案一句话定义&#xA;    &lt;div id=&#34;三种方案一句话定义&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e4%b8%89%e7%a7%8d%e6%96%b9%e6%a1%88%e4%b8%80%e5%8f%a5%e8%af%9d%e5%ae%9a%e4%b9%89&#34; aria-label=&#34;锚点&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;方案&lt;/th&gt;&#xA;          &lt;th&gt;核心机制&lt;/th&gt;&#xA;          &lt;th&gt;代表产品/模式&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;RAG&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;向量检索 → top-k 片段 → 拼入 prompt&lt;/td&gt;&#xA;          &lt;td&gt;Mem0, Zep, LangChain RAG, Cursor Codebase Index&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;LLM Wiki&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;结构化文档 → 全量或按需注入 system prompt&lt;/td&gt;&#xA;          &lt;td&gt;Claude Projects, GPTs Knowledge, Notion AI&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;纯文本上下文&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Markdown/文本文件 → 直接拼入 system prompt&lt;/td&gt;&#xA;          &lt;td&gt;CLAUDE.md, Cursor Rules, AGENTS.md, Devin Knowledge&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;关键区别不在于&amp;quot;存哪里&amp;quot;，而在于&lt;strong&gt;检索方式&lt;/strong&gt;和&lt;strong&gt;注入时机&lt;/strong&gt;。&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
