20260625:很多新内容

This commit is contained in:
2026-06-25 14:08:47 +08:00
parent 91fac5b6fc
commit 6021dea160
375 changed files with 19263 additions and 251 deletions

40
concepts/gbrain-memory.md Normal file
View 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
GBrainGarry Tan, 14k+ Stars是 Agent 记忆系统的另一种架构路线:用 Markdown 文件 + Git 做记忆存储,与 Atlas 的 ES 搜索引擎路线形成互补对比。
## 三层架构
1. **Brain Repo**Markdown 文件分三类存放semantic_facts, procedural, episodicGit 版本控制
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人可读信任优先可直接编辑
- **多租户产品** → AtlasES 原生隔离,同轮可见 refresh=True
## 参考
- [[atlas-agent-memory-architecture-2026]]
- [[atlas-memory-system]]
- [[soft-supersession]]