Files
myWiki/concepts/gbrain-memory.md

1.3 KiB
Raw Blame History

title, created, updated, type, tags, sources
title created updated type tags sources
GBrain Memory System 2026-06-24 2026-06-24 concept
agent-memory
markdown
git
alternative-architecture
atlas-agent-memory-architecture-2026

GBrain Memory System

GBrainGarry Tan, 14k+ Stars是 Agent 记忆系统的另一种架构路线:用 Markdown 文件 + Git 做记忆存储,与 Atlas 的 ES 搜索引擎路线形成互补对比。

三层架构

  1. Brain RepoMarkdown 文件分三类存放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

参考