Update nexus: fix conflicts and sync local changes

This commit is contained in:
Shen Wei
2026-04-26 12:06:50 +08:00
parent 191797c01b
commit f09834b5a5
2443 changed files with 254323 additions and 255154 deletions

View File

@@ -1,68 +1,68 @@
---
title: "I Went Through Every AI Memory Tool I Could Find. There Are Two Camps."
type: source
tags: [ai-agent, memory, context-management, tooling]
sources: []
last_updated: 2026-04-23
---
## Source File
- [[Agent/AI-Memory-Tools-Two-Camps]]
## Summary用中文描述
- 核心主题AI 记忆工具的全景分类——揭示该领域存在两个根本不同的技术路线
- 问题域AI Agent 的持久化上下文问题——如何让 Agent 跨会话保持记忆
- 方法/机制Camp 1记忆后端通过向量提取+检索解决事实召回Camp 2上下文基质通过文件累积+背景整合实现上下文复合增长
- 结论/价值:提出了"记忆"与"上下文"不是同一问题的核心洞察;预测 6 个月内"context engineering"将取代"memory"成为主流术语ALIVE 是作者实际运行的上下文基质方案
## Key Claims用中文描述
- Camp 1 与 Camp 2 是两个根本不同的技术范式,而非同一问题的不同实现
- Camp 1 工具优化目标是**召回**:能否找到正确的事实
- Camp 2 工具优化目标是**复合**:系统是否随时间变得更好
- Zep 将品牌定位从"memory"重塑为"context engineering"是市场上最强的信号,表明 Camp 2 路线正在成为主流
- GitHub 上 450+ repos 标记"agent-memory"、460+ 标记"context-management",但几乎无人明确区分这两种范式
- 持续运行的 24/7 Agent 场景下,只有 Camp 2 架构才能真正实现跨会话复合增长
## Key Quotes
> "there are 450+ repos tagged 'agent-memory' on github and 460+ tagged 'context-management.' me and my agentic best friends went through them." — @witcheer揭示该领域分类混乱的现状
> "the line from their docs that defines the philosophy: 'the model only remembers what gets saved to disk, there is no hidden state.'" — OpenClaw 定义了 Camp 2 的核心哲学
> "a funded company with 4.4k stars looked at where the space was going and decided 'memory' was the wrong word for what they were building." — Zep 的品牌重塑是市场信号
> "within 6 months, 'context engineering' replaces 'memory' as the default term for what serious agent infrastructure does." — 作者的核心预测
> "if you're building agents that need to run for more than one conversation, you're going to end up here." — Camp 2 是长期运行 Agent 的必然归宿
## Key Concepts
- [[Memory Backend]]从对话中提取事实存入向量数据库检索时召回。代表工具Mem0、MemPalace、Supermemory、Honcho、Cognee。核心问题记忆是扁平条目无关系提取质量依赖 LLM prompt事实不进化
- [[Context Substrate]]维护结构化、人类可读的上下文文件跨会话累积。代表工具OpenClaw、Zep、Thoth、TrustGraph、MemSearch、ALIVE。核心哲学"nothing gets extracted — the context is the files"
- [[Fact Recall]] vs [[Compounding]]Camp 1 优化召回精度Camp 2 优化复合增长;前者问"AI 应该记住什么",后者问"AI 应该在什么样的上下文中工作"
- [[Dreaming Cycle]]OpenClaw 的背景整合过程——light sleep分组→ REM频繁访问提升→ deep sleep写入长期记忆六维评分机制相关性0.30、频率0.24、查询多样性0.15、时效性0.15、整合度0.10、概念丰富度0.06
- [[Temporal Knowledge Graph]]Zep 的 Graphiti 框架使用带 valid_at/invalid_at 时间戳的知识图谱,自动提取关系,返回预格式化上下文块,<200ms 检索
- [[Context Core]]TrustGraph 引入的可移植、带版本控制的上下文捆绑包领域schema+知识图谱+向量嵌入+证据来源+检索策略),将上下文视为第一公民制品
- [[Context Engineering]]:作者预测将取代"memory"成为描述 Agent 基础设施的标准术语
## Key Entities
- [[Mem0]]53.1k starsCamp 1 类别领导者四操作add/search/update/delete三层存储user/session/agent混合检索集成简单但记忆为扁平条目无关系推理
- [[MemPalace]]46.2k stars本地优先逐字记忆用 ChromaDB 组织为 wings实体/rooms主题/drawers原内容LongMemEval 96.6% 召回率但线性增长无压缩
- [[Supermemory]]21.8k stars差异化是时序感知"I moved to SF"自动取代旧城市expired facts 自动遗忘MemoryBench 声称第一多模态连接器Google Drive/Gmail/Notion/GitHub
- [[Honcho]]2.4k stars将人/Agent 视为统一模型中的"对等体"异步推理服务推导心理洞察PostgreSQL + pgvectorAGPL-3.0
- [[OpenClaw]]358k starsplain markdown 文件Mmemory.md + daily notes + DREAMS.md无向量数据库dreaming 三阶段整合Camp 2 典型代表
- [[Zep]]4.4k stars从"memory"重塑品牌为"context engineering"Graphiti 时序知识图谱SOC2 Type 2 + HIPAA 合规,<200ms 检索,架构上处于两 Camp 边界
- [[Thoth]]145 stars最深层架构10 实体类型 + 67 有向关系类型 + FAISS + 图扩展检索,四阶段夜间 dream cycle三层反污染机制防止跨实体事实混淆
- [[TrustGraph]]2.0k starsContext Cores 可移植版本化上下文容器treats context like codeCassandra + Qdrant 基础设施
- [[MemSearch]]1.2k starsZilliz 团队出品Markdown 文件为唯一真相Milvus 为下游"阴影索引",三层层级渐进披露(语义块→完整章节→原始记录)
- [[ALIVE]]作者实际运行的方案structured context substratefile-nativeagent-agnosticwalnuts 作为可移植上下文容器,零基础设施依赖,运行在 Hermes Agent + Claude Code + Mac Mini M4 上
## Connections
- [[RAG]] ← related_to ← [[Memory Backend]]:两者共享向量检索的基本机制,但 RAG 通常指一次性问答场景Memory Backend 指跨会话累积
- [[OpenClaw]] ← implements ← [[Context Substrate]]OpenClaw 的 Markdown 文件架构是 Context Substrate 范式的典型实现
- [[Semantic-Memory-Search]] ← extends ← [[OpenClaw]]MemSearch 为 OpenClaw 的 Markdown 记忆提供语义搜索能力
- [[Memory Backend]] ← evolves_into ← [[Context Substrate]]Supermemory 的时序感知和 Honcho 的心理建模代表了 Camp 1 向 Camp 2 的演进趋势
- [[Second Brain]] ← uses ← [[Context Substrate]][[Second Brain]] 基于 OpenClaw 的累积记忆能力,本质上是 Context Substrate 范式在个人知识管理中的应用
- [[养龙虾5天血泪史]] ← experiences ← [[OpenClaw]]:实战中暴露了 OpenClaw 记忆压缩和检索的痛点,推动了对 Context Substrate 架构的深入理解
- [[Context Substrate]] ← enables ← [[Self-Improving-Skill]]Self-Improving 的复盘机制([[养虾日记2]])是 Context Substrate 中背景整合思想的实践
## Contradictions
- 与 [[semantic-memory-search]] 可能存在张力:
- 冲突点MemSearchCamp 2将向量索引视为文件的下游"阴影索引",可随时重建;[[semantic-memory-search]] 则将向量搜索作为记忆检索的核心能力
- 当前观点向量索引是可选的访问加速层Markdown 文件才是唯一真相
- 对方观点:向量语义搜索是必要的,单纯的关键词/Markdown 文件无法高效处理"我上周讨论的那个关于 X 的内容"
-两者其实互补——MemSearch 本身也使用混合搜索,但强调文件优先而非索引优先
---
title: "I Went Through Every AI Memory Tool I Could Find. There Are Two Camps."
type: source
tags: [ai-agent, memory, context-management, tooling]
sources: []
last_updated: 2026-04-23
---
## Source File
- [[Agent/AI-Memory-Tools-Two-Camps]]
## Summary用中文描述
- 核心主题AI 记忆工具的全景分类——揭示该领域存在两个根本不同的技术路线
- 问题域AI Agent 的持久化上下文问题——如何让 Agent 跨会话保持记忆
- 方法/机制Camp 1记忆后端通过向量提取+检索解决事实召回Camp 2上下文基质通过文件累积+背景整合实现上下文复合增长
- 结论/价值:提出了"记忆"与"上下文"不是同一问题的核心洞察;预测 6 个月内"context engineering"将取代"memory"成为主流术语ALIVE 是作者实际运行的上下文基质方案
## Key Claims用中文描述
- Camp 1 与 Camp 2 是两个根本不同的技术范式,而非同一问题的不同实现
- Camp 1 工具优化目标是**召回**:能否找到正确的事实
- Camp 2 工具优化目标是**复合**:系统是否随时间变得更好
- Zep 将品牌定位从"memory"重塑为"context engineering"是市场上最强的信号,表明 Camp 2 路线正在成为主流
- GitHub 上 450+ repos 标记"agent-memory"、460+ 标记"context-management",但几乎无人明确区分这两种范式
- 持续运行的 24/7 Agent 场景下,只有 Camp 2 架构才能真正实现跨会话复合增长
## Key Quotes
> "there are 450+ repos tagged 'agent-memory' on github and 460+ tagged 'context-management.' me and my agentic best friends went through them." — @witcheer揭示该领域分类混乱的现状
> "the line from their docs that defines the philosophy: 'the model only remembers what gets saved to disk, there is no hidden state.'" — OpenClaw 定义了 Camp 2 的核心哲学
> "a funded company with 4.4k stars looked at where the space was going and decided 'memory' was the wrong word for what they were building." — Zep 的品牌重塑是市场信号
> "within 6 months, 'context engineering' replaces 'memory' as the default term for what serious agent infrastructure does." — 作者的核心预测
> "if you're building agents that need to run for more than one conversation, you're going to end up here." — Camp 2 是长期运行 Agent 的必然归宿
## Key Concepts
- [[Memory Backend]]从对话中提取事实存入向量数据库检索时召回。代表工具Mem0、MemPalace、Supermemory、Honcho、Cognee。核心问题记忆是扁平条目无关系提取质量依赖 LLM prompt事实不进化
- [[Context Substrate]]维护结构化、人类可读的上下文文件跨会话累积。代表工具OpenClaw、Zep、Thoth、TrustGraph、MemSearch、ALIVE。核心哲学"nothing gets extracted — the context is the files"
- [[Fact Recall]] vs [[Compounding]]Camp 1 优化召回精度Camp 2 优化复合增长;前者问"AI 应该记住什么",后者问"AI 应该在什么样的上下文中工作"
- [[Dreaming Cycle]]OpenClaw 的背景整合过程——light sleep分组→ REM频繁访问提升→ deep sleep写入长期记忆六维评分机制相关性0.30、频率0.24、查询多样性0.15、时效性0.15、整合度0.10、概念丰富度0.06
- [[Temporal Knowledge Graph]]Zep 的 Graphiti 框架使用带 valid_at/invalid_at 时间戳的知识图谱,自动提取关系,返回预格式化上下文块,<200ms 检索
- [[Context Core]]TrustGraph 引入的可移植、带版本控制的上下文捆绑包领域schema+知识图谱+向量嵌入+证据来源+检索策略),将上下文视为第一公民制品
- [[Context Engineering]]:作者预测将取代"memory"成为描述 Agent 基础设施的标准术语
## Key Entities
- [[Mem0]]53.1k starsCamp 1 类别领导者四操作add/search/update/delete三层存储user/session/agent混合检索集成简单但记忆为扁平条目无关系推理
- [[MemPalace]]46.2k stars本地优先逐字记忆用 ChromaDB 组织为 wings实体/rooms主题/drawers原内容LongMemEval 96.6% 召回率但线性增长无压缩
- [[Supermemory]]21.8k stars差异化是时序感知"I moved to SF"自动取代旧城市expired facts 自动遗忘MemoryBench 声称第一多模态连接器Google Drive/Gmail/Notion/GitHub
- [[Honcho]]2.4k stars将人/Agent 视为统一模型中的"对等体"异步推理服务推导心理洞察PostgreSQL + pgvectorAGPL-3.0
- [[OpenClaw]]358k starsplain markdown 文件Mmemory.md + daily notes + DREAMS.md无向量数据库dreaming 三阶段整合Camp 2 典型代表
- [[Zep]]4.4k stars从"memory"重塑品牌为"context engineering"Graphiti 时序知识图谱SOC2 Type 2 + HIPAA 合规,<200ms 检索,架构上处于两 Camp 边界
- [[Thoth]]145 stars最深层架构10 实体类型 + 67 有向关系类型 + FAISS + 图扩展检索,四阶段夜间 dream cycle三层反污染机制防止跨实体事实混淆
- [[TrustGraph]]2.0k starsContext Cores 可移植版本化上下文容器treats context like codeCassandra + Qdrant 基础设施
- [[MemSearch]]1.2k starsZilliz 团队出品Markdown 文件为唯一真相Milvus 为下游"阴影索引",三层层级渐进披露(语义块→完整章节→原始记录)
- [[ALIVE]]作者实际运行的方案structured context substratefile-nativeagent-agnosticwalnuts 作为可移植上下文容器,零基础设施依赖,运行在 Hermes Agent + Claude Code + Mac Mini M4 上
## Connections
- [[RAG]] ← related_to ← [[Memory Backend]]:两者共享向量检索的基本机制,但 RAG 通常指一次性问答场景Memory Backend 指跨会话累积
- [[OpenClaw]] ← implements ← [[Context Substrate]]OpenClaw 的 Markdown 文件架构是 Context Substrate 范式的典型实现
- [[Semantic-Memory-Search]] ← extends ← [[OpenClaw]]MemSearch 为 OpenClaw 的 Markdown 记忆提供语义搜索能力
- [[Memory Backend]] ← evolves_into ← [[Context Substrate]]Supermemory 的时序感知和 Honcho 的心理建模代表了 Camp 1 向 Camp 2 的演进趋势
- [[Second Brain]] ← uses ← [[Context Substrate]][[Second Brain]] 基于 OpenClaw 的累积记忆能力,本质上是 Context Substrate 范式在个人知识管理中的应用
- [[养龙虾5天血泪史]] ← experiences ← [[OpenClaw]]:实战中暴露了 OpenClaw 记忆压缩和检索的痛点,推动了对 Context Substrate 架构的深入理解
- [[Context Substrate]] ← enables ← [[Self-Improving-Skill]]Self-Improving 的复盘机制([[养虾日记2]])是 Context Substrate 中背景整合思想的实践
## Contradictions
- 与 [[semantic-memory-search]] 可能存在张力:
- 冲突点MemSearchCamp 2将向量索引视为文件的下游"阴影索引",可随时重建;[[semantic-memory-search]] 则将向量搜索作为记忆检索的核心能力
- 当前观点向量索引是可选的访问加速层Markdown 文件才是唯一真相
- 对方观点:向量语义搜索是必要的,单纯的关键词/Markdown 文件无法高效处理"我上周讨论的那个关于 X 的内容"
-两者其实互补——MemSearch 本身也使用混合搜索,但强调文件优先而非索引优先