「Agent 不需要记忆,它需要文档」
“Agents don't need memory, they need documentation”
这篇文章的观点很锋利:Agent 失败的多数场景不是「忘了」,而是「没人把规则写下来」,因此与其投入复杂的记忆系统,不如把约束、流程与决策写成人可读、模型可检索的文档[1](HN 368 分)。它针对的是记忆工程被过度复杂化的现状:向量库、摘要压缩、遗忘策略都在解决「信息不在上下文里」的问题,而很多信息本来就该以文档形式常驻。做法上把文档当作唯一真源,让检索与上下文注入都围绕它展开。对做 Agent 的团队,参考价值是先审计「哪些知识本该是文档却塞进了记忆」,再决定是否真的需要记忆层;限制是这属于强观点而非实证结论,文档与记忆在处理历史状态时并不等价。
A sharp argument: most agent failures are not forgetting but nobody having written the rule down, so invest in human-readable, model-retrievable documentation before building elaborate memory[1] (368 points on HN). It targets over-complicated memory engineering — vector stores, summarisation, forgetting policies all solve “the information is not in context”, when much of it should live permanently as documents. The method treats documentation as the single source of truth, with retrieval and context injection organised around it. The reference for agent teams is to audit which knowledge was wrongly put into memory rather than documents; the caveat is that this is argument rather than evidence, and documents are not equivalent to memory for historical state.