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: datalab-to/marker leads in total GitHub adoption (★ 41.2k), while garrytan/gbrain shows stronger 7-day momentum. Licensing: MIT · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Markdown-backed agent memory with Postgres hybrid search and cited retrieval
Hybrid OCR and layout parsing for document ingestion in RAG pipelines
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | garrytan/gbrain | datalab-to/marker |
|---|---|---|
| Total GitHub Stars | ★ 33,857 | ★ 41,179 |
| 24h / 7d Velocity | +11 / +208 | +8 / +103 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 100/100 | A+ · 96/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · MCP · CLI · API | Local AI · CLI · GPU |
| Primary Language | TypeScript | Python |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v0.60.794.0 | v2.2.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 | Teams that want local control over document ingestion, need structured output, and can route clean PDFs and difficult pages through different OCR paths |
bun install -g github:garrytan/gbrain#stable gbrain --version gbrain setup claude-code # initializes ~/.gbrain (PGLite), wires MCP, and adds agent hooks (reversible)
balanced retains usable PDF text on clean Latin prose pages and routes harder content to Surya 2.5.fast runs Indra ONNX OCR in-process; no_ocr retains layout and reading order without recognizing text in scans.ConfigParser configures PdfConverter; marker_single --stdout streams converted output to shell pipelines.pip install marker-pdfSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy