G
garrytan/gbrain★ 33,857 · TypeScript
Markdown-backed agent memory with Postgres hybrid search and cited retrieval
MIT · Commercial Friendlyv0.60.794.0
Side-by-side 2026 comparison in RAG, Data & Memory: MemPalace/mempalace leads in total GitHub adoption (★ 60.8k), while garrytan/gbrain shows stronger 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
Markdown-backed agent memory with Postgres hybrid search and cited retrieval
Local-first RAG memory for retrieving verbatim project and conversation history
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | garrytan/gbrain | MemPalace/mempalace |
|---|---|---|
| Total GitHub Stars | ★ 33,857 | ★ 60,810 |
| 24h / 7d Velocity | +11 / +208 | +14 / +120 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 100/100 | A+ · 98/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · MCP · CLI · API | Docker · Self-Hosted · MCP · Local AI · CLI |
| Primary Language | TypeScript | Python |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated today | Updated 3d ago |
| Latest Release | v0.60.794.0 | v3.12.0 |
| Best For | Individuals or small teams that keep knowledge in Markdown and want several agents to retrieve the same cited decisions, with local-first storage or permissioned remote access | Developers and teams that want coding agents to recall prior decisions and conversations from verbatim sources through MCP, with local embeddings and a choice of storage backends |
bun install -g github:garrytan/gbrain#stable gbrain --version gbrain setup claude-code # initializes ~/.gbrain (PGLite), wires MCP, and adds agent hooks (reversible)
npx skills add MemPalace/mempalaceSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy