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: hindsightai/hindsight leads both total GitHub adoption (★ 64.7k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
Markdown-backed agent memory with Postgres hybrid search and cited retrieval
A bank-based memory service that turns agent interactions into durable knowledge
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | garrytan/gbrain | hindsightai/hindsight |
|---|---|---|
| Total GitHub Stars | ★ 33,857 | ★ 64,700 |
| 24h / 7d Velocity | +11 / +208 | +105 / +884 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 100/100 | A+ · 98/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · MCP · CLI · API | Self-Hosted · Docker · API |
| Primary Language | TypeScript | Python |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v0.60.794.0 | v1.3.1 |
| 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 | Long-lived assistants that need user preferences, prior experiences, and recurring answers to carry across sessions, with control over deployment and memory writes |
bun install -g github:garrytan/gbrain#stable gbrain --version gbrain setup claude-code # initializes ~/.gbrain (PGLite), wires MCP, and adds agent hooks (reversible)
retain extracts facts, entities, relationships, and time information, then normalizes them into searchable bank records.hs-decide-1-flash is a 0.8B decision model; hs-rerank-1 is 114M; hs-embed-1 is 112M and emits 384-dimensional vectors.export OPENAI_API_KEY=sk-xxx docker run -it --pull always --name hindsight --restart unless-stopped -p 8888:8888 -p 9999:9999 \ -e HINDSIGHT_API_LLM_API_KEY=$OPENAI_API_KEY \ -v hindsight-data:/home/hindsight/.pg0 \ images.hindsight.ai/hindsight:latest
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy