Files
myWiki/concepts/agent-memory-taxonomy.md

37 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Agent Memory Taxonomy (三索引分型)"
created: 2026-06-24
updated: 2026-06-24
type: concept
tags: ["agent-memory", "architecture", "information-lifecycle"]
sources:
- "[[atlas-agent-memory-architecture-2026]]"
---
# Agent Memory Taxonomy
Agent 记忆的三索引分型逻辑:不同生命周期的信息用不同的存储结构、衰减策略和更新规则。
## 三种记忆类型
| 类型 | 例子 | 生命周期 | 衰减驱动力 |
|------|------|---------|----------|
| **Episodic** | "今天下雨好烦" | 短(数天-数周) | timestamp时间新鲜度 |
| **Semantic** | "我只用 PostgreSQL" | 长(稳定事实) | last_used_at使用频率 |
| **Procedural** | "部署 checklist 第3步" | 极长(操作流程) | 豁免(不因时间衰减) |
## 为什么不能合并
- **字段语义污染**timestamp 对 episodic 是主衰减源,对 semantic 只是发现时间
- **生命周期冲突**episodic 高频写入从不更新semantic 低频写入但高频更新
- **mapping 无法承载**ES mapping 是 schema-on-write合并后字段大量 null
## 设计原则
信息的衰减驱动力是它有多频繁被需要,不是它有多旧。同一衰减策略套在所有记忆上是错误:客服 Agent 中 "API v2 偏好" 的衰减不应与 "今天心情不好" 相同。
## 参考
- [[atlas-agent-memory-architecture-2026]]
- [[atlas-memory-system]]
- [[per-index-time-decay]]