--- title: "上下文基质" type: concept tags: [] --- ## Aliases - Context Substrate - Camp 2 - 上下文基质 - 文件式上下文 ## Definition Camp 2 类别的 AI 记忆架构。维护结构化、人类可读的上下文,随会话累积。不"提取"任何东西——上下文本身就是文件。Agent 读取、写入文件,整个系统随时间累积。 ## Key Characteristics - 优化目标:累积(Compounding) - 典型问题:"系统是否随时间变得更好?" - 智能在累积 - 用户可以直接读取、编辑、修正文件,理解 Agent 知道什么 ## Architecture Agent 工作流程: 1. 会话开始前读取结构化上下文 2. 在该上下文中工作 3. 写入/更新上下文 4. 下次会话,上下文比之前更丰富 ## Examples - [[OpenClaw]]:358k stars,Markdown 文件存储,DAM 夜间整理 - [[Zep]]:4.4k stars,重新定位为"上下文工程" - [[Thoth]]:145 stars,10 种实体类型 + 67 种关系 - [[TrustGraph]]:2k stars,Context Cores 可版本化上下文 ## Related Concepts - [[Markdown 文件]] — 典型存储格式 - [[记忆巩固]] — 夜间自动整理机制 - [[记忆后端]] — Camp 1 的替代方案