横向集合 · Agent 记忆Collection · agent memory
Agent 记忆:写什么、怎么读、什么时候忘Agent memory: what to write, how to read, when to forget
「有记忆」不是把聊天记录全存下来。最少要分三层:工作记忆(当前任务)、情节记忆(做过什么)、语义记忆(稳定事实与偏好)。每层都要有写入策略、检索策略、过期与删除策略,否则记忆会变成噪声。“Having memory” is not storing every chat turn. At minimum, separate working memory (current task), episodic memory (what happened) and semantic memory (stable facts and preferences). Each layer needs write, retrieval, expiry and deletion policies, or memory becomes noise.
这是一张“谁负责哪一段”的集合页,不重复写产品档案;点进去看每个条目的八维记录、来源与边界。This is a “who owns which layer” collection, not a duplicate of product dossiers; open an entry for its eight axes, sources and boundaries.
谁负责哪一段Which layer does what
| 层Layer | 已有条目Existing entries |
|---|---|
| 有状态 Agent 与分层记忆Stateful agents and layered memory | Letta:MemGPT 路线的分层记忆与服务器形态Letta: MemGPT-style layered memory and server form LangGraph:检查点、状态与长期记忆LangGraph: checkpoints, state and long-term memory |
| 编排与多 Agent 共享Orchestration and multi-agent sharing | AG2:多 Agent 角色、持久化与上下文压缩AG2: multi-agent roles, persistence and context compression Agno:控制平面与记忆组件Agno: control plane and memory components Hermes Agent:跨会话记忆与技能Hermes Agent: cross-session memory and skills |
| 最小记忆服务Minimal memory service | Memory MCP:本地读写记忆Memory MCP: local read/write memory |
最小跑通顺序Minimum working order
- 先写「什么算稳定事实」,不要把所有对话都入库Define what counts as a stable fact before storing every conversation
- 给每条记忆加来源、时间、置信度与过期日Attach source, time, confidence and expiry to each memory
- 做删除与纠错路径:用户说「忘掉」时必须能真删Build deletion and correction paths: when a user says “forget”, it must really delete
边界Boundary
站群没有做过「多套记忆方案」的召回率、污染率或成本对比;记忆质量取决于你的写入规则与检索评测集。涉及个人数据时,存储位置、保留期限、删除请求与跨境传输要按适用法规处理,不能只靠产品默认设置。The sites have not compared recall, pollution rate or cost across memory schemes; quality depends on your write rules and retrieval test set. For personal data, storage location, retention, deletion requests and cross-border transfer follow applicable law; product defaults are not enough.