22nd of 45 in Memory

gbrain

Memory store with sources and a knowledge graph for coding agents

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
33.7k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 33 weeks+33,654
8 Apr 2026: 59 stars15 Apr 2026: 8,160 stars22 Apr 2026: 10,235 stars29 Apr 2026: 12,022 stars6 May 2026: 13,149 stars13 May 2026: 15,164 stars20 May 2026: 17,402 stars27 May 2026: 19,061 stars3 Jun 2026: 20,455 stars10 Jun 2026: 21,796 stars17 Jun 2026: 22,861 stars24 Jun 2026: 23,631 stars1 Jul 2026: 24,387 stars8 Jul 2026: 25,244 stars15 Jul 2026: 25,968 stars22 Jul 2026: 26,540 stars29 Jul 2026: 27,047 stars5 Aug 2026: 27,511 stars12 Aug 2026: 28,042 stars19 Aug 2026: 28,520 stars26 Aug 2026: 28,927 stars2 Sept 2026: 29,306 stars9 Sept 2026: 29,588 stars16 Sept 2026: 29,850 stars23 Sept 2026: 30,134 stars30 Sept 2026: 30,339 stars7 Oct 2026: 30,588 stars14 Oct 2026: 30,834 stars21 Oct 2026: 31,051 stars28 Oct 2026: 31,336 stars4 Nov 2026: 31,570 stars11 Nov 2026: 32,793 stars18 Nov 2026: 33,389 stars25 Nov 2026: 33,713 stars

59 on 8 Apr 202633,713 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

GBrain stores facts and markdown pages with their sources and exposes them over MCP to agents such as Claude Code, Codex, Cursor and ChatGPT. It starts keyless with keyword search on embedded PGLite, and optionally adds embeddings, reranking, a typed link graph, and `gbrain think`, which writes cited answers with gap notes. Postgres and a paid hosted option at gbrain.io are also available.

Who it is for: Engineers giving Claude Code, Codex or other agents persistent, sourced memory

Ranked among open-source alternatives to Mem (#2 of 10).

Strengths

  • Keyless start: embedded PGLite and keyword search, no server or API keys needed
  • MCP access via local stdio, Tailscale tailnet exposure, or remote URL with token
  • `gbrain think` answers carry citations and note stale or missing knowledge
  • Swappable schema packs and a typed link graph; MIT license

Weaknesses

  • Not on npm; install from GitHub with Bun 1.4.4 or newer
  • Semantic search, synthesis and enrichment need separately configured, paid model providers
  • Shared brains are not isolated against local file or shared DB credential access
  • Always-on enrichment suggests a server with 8GB+ RAM plus its own API usage

What it needs

  • RAM ≥ 8 GB
  • no GPU
  • Compose
  • Needs Bun 1.4.4+, PGLite or Postgres, Tailscale (optional, remote MCP), Embedding and chat provider API (optional)

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Head to head

Also in Memory

See all 45
Also in Memory
RankProjectScore
1hindsightAgent memory server with retain, recall and reflect operations64.1k starsMIT97 out of 100
3MemPalaceLocal verbatim memory store for AI agents with semantic search and MCP60.8k stars+742 (+1.2%) in 30 daysMIT91 out of 100
#4SupermemoryMemory and context engine for AI agents, with user profiles and hybrid search31.9k stars+463 (+1.5%) in 30 daysMIT91 out of 100
#5GraphitiPython framework for building temporal knowledge graphs for agent memory33.2k stars+820 (+2.5%) in 30 daysApache-2.089 out of 100
#6Mem0Long-term memory layer for LLM agents, as a Python/JS SDK and server Live demo ↗ (opens in a new tab)69.6k stars+1,564 (+2.3%) in 30 daysApache-2.088 out of 100