Recommendations
- Large-scale production (tens of millions to hundreds of millions of memories): go with Hindsight Memlake first — its object storage + TLA+ coordination protocol still holds p99 < 100ms at 100M memories.
- Need temporal reasoning (e.g. "the user's preferences changed"): TencentDB's four-layer profile evolution is stronger here; need explicit reflection across long tasks: Hindsight's "reasoning over prior work" fits better.
Core design differences
- Architectural positioning: Hindsight targets large scale (100M+ memories), using object storage plus its own retrieval engine, with a TLA+-verified coordination protocol to guarantee concurrency consistency; TencentDB Agent Memory targets small-to-medium scale (thousands to a few hundred thousand), runs 100% locally, and doesn't depend on an external cloud vector DB.
- Memory organization: Hindsight treats each memory as a structured event object (timestamp, source, linked entities, tags, embedding), and does keyword, semantic, graph-relation and time-window retrieval in four passes within a single request; TencentDB uses a four-layer pyramid — L0 raw conversation → L1 atomic facts → L2 scenario blocks → L3 user profile — relying on the higher-level profiles for preferences day to day and drilling down when details are needed.
- Engineering trade-offs: Hindsight separates memory data from operational data — memory goes to object storage, operations to Postgres, and the service layer is stateless and horizontally scalable; TencentDB uses a single SQLite DB plus a semantic pyramid to keep deployment simple, and supports Mermaid symbolic graph compression of tool logs, solving the token explosion problem on long tasks.
选型建议
- 大规模生产环境(千万级到亿级记忆):优先选 Hindsight Memlake,其对象存储 + TLA+ 协调协议在 1 亿条记忆下仍能保持 99 分位 < 100ms。
- 需要时序推理(如“用户偏好变了”):TencentDB 的四层画像演进更强;需要长任务显式反思:Hindsight 的“对既往工作推理”更合适。
核心设计差异
- 架构定位:Hindsight 面向大规模(1 亿条+记忆),采用对象存储 + 自家检索引擎,通过 TLA+ 验证的协调协议保证并发一致性;TencentDB Agent Memory 面向中小规模(几千到几十万条),100% 本地运行,不依赖外部云向量数据库。
- 记忆组织:Hindsight 将每条记忆作为结构化事件对象(时间戳、来源、关联实体、tags、embedding),在单请求内完成关键词、语义、图关系、时间窗 4 路检索;TencentDB 采用 L0 原始对话 → L1 原子事实 → L2 场景块 → L3 用户画像的四层金字塔,平时靠高层画像把握偏好,需要细节时下钻。
- 工程取舍:Hindsight 把记忆数据与运营数据分离,记忆走对象存储、运营走 Postgres,服务层无状态可横扩;TencentDB 用单 SQLite 库 + 语义金字塔简化部署,支持 Mermaid 符号化图谱压缩工具日志,解决长任务 Token 爆炸问题。
Translated by AI from 简体中文Original (简体中文)
11
8
8 replies
Sort order