跳到主要内容Skip to main content

记忆Memory

Memory

  • 智能体Agents
  • 第三段 · 用深Stage 3 · Going Deeper
  • 引用核验 2026-11-09refs checked 2026-11-09
解决什么问题What problem it solves

让 Agent 跨对话记住事,不用每次都重新交代背景。Let an agent remember things across conversations instead of restating the background every time.

这是什么What it is

把历史信息持久化保存,让后续会话能取回使用。

两种做法:存在程序里(可控),或存在模型外部的存储里(灵活但要管权限)。

Persisting historical information so later sessions can retrieve it.

Two approaches: store it in the program (controllable), or in external storage the model can reach (flexible, but then permissions matter).

Working context, episodic and semantic memory are stored in layers; each turn retrieves and scores what to bring back.
工作上下文、情景记忆、语义记忆分层存放;每次用哪条,要靠检索和打分,而不是全部塞回窗口。Working context, episodic and semantic memory are stored in layers; each turn retrieves and scores what to bring back.
为什么需要知道Why it matters

「AI 每次都忘事」是使用中最常见的抱怨,答案就是要有记忆层。"The AI forgets everything every time" is the most common complaint in use, and the answer is a memory layer.

出处Sources
  • 知识图谱记忆 serverKnowledge-graph memory server ↗
用这个术语做任务Use this term in a task

别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →