Anthropic 拆解 Agent 记忆:转录、笔记、表示与注入上下文
Anthropic breaks agent memory into transcripts, notes, representations and injected context
Anthropic 用“记忆层级”解释 Agent memory:记忆被拆成可搜索转录、Claude 笔记、Wiki 等结构表示,以及每次会话注入的上下文[1]。它要解决 Agent 在会话之间积累经验、纠正错误而不把所有历史塞回窗口的问题,技术上用“dreaming”在空闲时间反思日志、更新笔记和索引,并把每会话注入限制在约 200 行或 25KB。参考价值是记忆应分层、可检索、可修正且注入有预算;限制是错误笔记会被带入每次会话,注入也不会保证模型实际执行。
Anthropic describes a hierarchy where agent memory spans transcripts, notes, wikis and injected context[1]. It addresses learning across sessions and correcting mistakes without replaying all history, using “dreaming” during idle time to reflect on logs and update notes and indexes, while limiting each session's injected memory to about 200 lines or 25KB. The reference is that memory should be layered, searchable, correctable and budgeted; the limitation is that a bad note can be carried into every session, and injection does not guarantee the model acts on it.