20260625:很多新内容
This commit is contained in:
40
concepts/gbrain-memory.md
Normal file
40
concepts/gbrain-memory.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
title: "GBrain Memory System"
|
||||
created: 2026-06-24
|
||||
updated: 2026-06-24
|
||||
type: concept
|
||||
tags: ["agent-memory", "markdown", "git", "alternative-architecture"]
|
||||
sources:
|
||||
- "[[atlas-agent-memory-architecture-2026]]"
|
||||
---
|
||||
|
||||
# GBrain Memory System
|
||||
|
||||
GBrain(Garry Tan, 14k+ Stars)是 Agent 记忆系统的另一种架构路线:用 Markdown 文件 + Git 做记忆存储,与 Atlas 的 ES 搜索引擎路线形成互补对比。
|
||||
|
||||
## 三层架构
|
||||
|
||||
1. **Brain Repo**:Markdown 文件分三类存放(semantic_facts, procedural, episodic),Git 版本控制
|
||||
2. **混合检索**:P@5 49.1%, R@5 97.9%
|
||||
3. **Dream Cycle**:夜间巩固,把近期交互提炼为持久记忆(对应 Atlas 的 consolidation)
|
||||
|
||||
## 与 Atlas 的核心差异
|
||||
|
||||
| 维度 | GBrain | Atlas |
|
||||
|------|--------|-------|
|
||||
| 存储 | Markdown + Git | ES 搜索引擎 |
|
||||
| 多租户 | 应用层 auth | ES DLS(集群层) |
|
||||
| 矛盾处理 | Git 版本历史 | Soft-Supersession 链 |
|
||||
| 衰减 | 无显式衰减 | Per-index gauss |
|
||||
| 透明度 | 直接打开文件 | 仅 API |
|
||||
| 高频写入 | 不适合 | 适合 |
|
||||
|
||||
## 适用场景
|
||||
|
||||
- **个人助理** → GBrain(人可读信任优先,可直接编辑)
|
||||
- **多租户产品** → Atlas(ES 原生隔离,同轮可见 refresh=True)
|
||||
|
||||
## 参考
|
||||
- [[atlas-agent-memory-architecture-2026]]
|
||||
- [[atlas-memory-system]]
|
||||
- [[soft-supersession]]
|
||||
Reference in New Issue
Block a user