22 lines
480 B
Markdown
22 lines
480 B
Markdown
# ADR-002: Memory Architecture
|
|
|
|
## Status
|
|
|
|
Accepted
|
|
|
|
## Context
|
|
|
|
长期 Agent 需要区分短期上下文、事件、知识、技能、关系和身份。
|
|
|
|
## Decision
|
|
|
|
采用六类逻辑记忆:
|
|
|
|
Working / Episodic / Semantic / Procedural / Social / Identity。
|
|
|
|
通过 Memory Manager 统一访问;底层采用 Redis、PostgreSQL、VectorStore 和 GraphStore。
|
|
|
|
## Consequences
|
|
|
|
记忆语义与存储实现解耦,但需要维护 Memory Consolidation 与 Retrieval 策略。
|