42 lines
1.6 KiB
Markdown
42 lines
1.6 KiB
Markdown
---
|
||
title: "Atlas Memory System"
|
||
created: 2026-06-24
|
||
updated: 2026-06-24
|
||
type: concept
|
||
tags: ["agent-memory", "elasticsearch", "architecture", "hybrid-retrieval"]
|
||
sources:
|
||
- "[[atlas-agent-memory-architecture-2026]]"
|
||
---
|
||
|
||
# Atlas Memory System
|
||
|
||
Atlas(noamschwartz/atlas-memory-demo)是 Agent 记忆系统的工程实践架构,核心理念:Agent 记忆不是 KV 存储问题,而是多索引信息检索问题。
|
||
|
||
## 四索引架构
|
||
|
||
- **episodic**:原始消息 + 时间戳,每回合写入,timestamp 衰减
|
||
- **semantic**:提炼后稳定事实,consolidation 写入,last_used_at 衰减,use_count boost
|
||
- **procedural**:多步操作流程,衰减豁免(1.0),success/failure 计数器
|
||
- **catalog**:公共共享知识,无 user_id,所有用户可见
|
||
|
||
## 检索管线
|
||
|
||
Verbatim Pre-Recall → BM25 + Dense 并行 → RRF 融合 → Cross-encoder 重排序
|
||
|
||
## 关键指标
|
||
|
||
R@10=0.89(168 QA, 3 persona, ~250 docs/user),CI gate: R@10≥0.85。
|
||
|
||
## 扩展:五类记忆模型
|
||
|
||
Atlas 的三索引覆盖了 sz 五类记忆模型中的第 1 类(catalog)和第 4 类(episodic + semantic),但第 5 类(计划/想法/洞察)需要一个额外的 [[prospective-memory-index|前瞻记忆索引]] ——不以时间为主导衰减信号,以语义关联为检索驱动力。详见 [[agent-memory-five-category-model]]。
|
||
|
||
## 参考
|
||
- [[atlas-agent-memory-architecture-2026]]
|
||
- [[agent-memory-taxonomy]]
|
||
- [[agent-memory-five-category-model]]
|
||
- [[prospective-memory-index]]
|
||
- [[hybrid-recall-pipeline]]
|
||
- [[memory-consolidation]]
|
||
- [[soft-supersession]]
|