gbrain vs MemPalace

Two of the top projects in Memory, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.

22nd of 45 in Memory

gbrain

Memory store with sources and a knowledge graph for coding agents

33rd of 45 in Memory

MemPalace

Local verbatim memory store for AI agents with semantic search and MCP

Verdict

gbrain ranks higher, 95 to 91. Of the 4 score parts we measure for both, gbrain leads on 2, MemPalace on 1 and 1 is even.

  • AdoptionMemPalace leads by 4 points, 96 to 92: close to even.
  • FreshnessEven at 100.
  • Maintenancegbrain leads by 14 points, 97 to 83.
  • Agent-readygbrain leads by 15 points, 85 to 70: a wide gap.

Pick gbrain if you are

Engineers giving Claude Code, Codex or other agents persistent, sourced memory

  • 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

Pick MemPalace if you are

Developers giving coding agents persistent, local long-term memory

  • Stores original text verbatim; raw mode needs no LLM or API key
  • Pluggable backends: Chroma, SQLite exact, Rust exact, Milvus, Qdrant, pgvector
gbrain vs MemPalace: score parts and facts
What we comparegbrainMemPalace
Score parts, out of 100
Adoption92, widely used96, widely used
Freshness100, active100, active
Maintenance97, healthy83, healthy
Agent-ready85, ready70, partly
Facts from GitHub and the README
Stars33.7k60.8k
LicenseMIT (permissive)MIT (permissive)
Last commitNov 2026Nov 2026
Last releaseNov 2026Nov 2026
LanguageTypeScriptPython
DockerYesYes
GPUNot neededOptional
arm64 or Apple SiliconMentionedMentioned

gbrain

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

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
  • RAM ≥ 8 GB
  • no GPU
  • Compose
  • Needs Bun 1.4.4+, PGLite or Postgres, Tailscale (optional, remote MCP), Embedding and chat provider API (optional)

MemPalace

MemPalace stores conversation history and project files as verbatim text, without summarizing, and retrieves it by semantic search scoped into wings (people, projects), rooms (topics) and drawers (original content). It defaults to ChromaDB with a pluggable backend interface, and exposes 47 MCP tools plus a SQLite temporal knowledge graph. The README reports 96.6% R@5 on LongMemEval in raw mode with no LLM.

Who it is for: Developers giving coding agents persistent, local long-term memory

Strengths

  • Stores original text verbatim; raw mode needs no LLM or API key
  • Pluggable backends: Chroma, SQLite exact, Rust exact, Milvus, Qdrant, pgvector
  • Benchmarks reproducible from the repo with committed per-question results
  • Auto-save hooks for Claude Code, Codex CLI and Cursor; 47 MCP tools

Weaknesses

  • Native Termux install unsupported; Android needs a Debian PRoot container
  • Claude Code sessions expire in 30 days unless auto-save hooks are wired
  • First embedding call downloads a model of about 80-300 MB
  • GPU optional
  • Docker + Compose
  • Needs Python 3.10+, ChromaDB (default), Milvus (optional), Qdrant (optional), Postgres pgvector (optional)
  • Models: minilm, embeddinggemma, OpenAI-compatible embeddings endpoints

More in Memory

Building with these?

We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.