hindsight vs gbrain

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.

11st of 45 in Memory

hindsight

Agent memory server with retain, recall and reflect operations

22nd of 45 in Memory

gbrain

Memory store with sources and a knowledge graph for coding agents

Verdict

hindsight ranks higher, 97 to 95. Of the 4 score parts we measure for both, hindsight leads on 1, gbrain on 1 and 2 are even.

  • Adoptionhindsight leads by 5 points, 97 to 92.
  • FreshnessEven at 100.
  • Maintenancegbrain leads by 1 point, 97 to 96: close to even.
  • Agent-readyEven at 85.

Pick hindsight if you are

Developers adding persistent memory to agents or coding assistants

  • Four parallel retrieval strategies (semantic, BM25, graph, temporal) with cross-encoder reranking
  • Works with 25+ LLM providers, including local ones: ollama, lmstudio, llamacpp

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
hindsight vs gbrain: score parts and facts
What we comparehindsightgbrain
Score parts, out of 100
Adoption97, widely used92, widely used
Freshness100, active100, active
Maintenance96, healthy97, healthy
Agent-ready85, ready85, ready
Facts from GitHub and the README
Stars64.1k33.7k
LicenseMIT (permissive)MIT (permissive)
Last commitNov 2026Nov 2026
Last releaseNov 2026Nov 2026
LanguagePythonTypeScript
DockerYesYes
GPUNot statedNot needed
arm64 or Apple SiliconMentionedMentioned

hindsight

Hindsight is a long-term memory system for agents. It uses an LLM to extract facts, entities and time data on retain, then recalls them with semantic, BM25, graph and temporal search, merged by reciprocal rank fusion and a cross-encoder rerank. It also consolidates facts into observations and mental models, and ships Python, TypeScript and Go clients, a CLI and a per-bank MCP endpoint.

Who it is for: Developers adding persistent memory to agents or coding assistants

Strengths

  • Four parallel retrieval strategies (semantic, BM25, graph, temporal) with cross-encoder reranking
  • Works with 25+ LLM providers, including local ones: ollama, lmstudio, llamacpp
  • Python, Node.js and Go clients, CLI, REST API and a built-in MCP endpoint per bank
  • Embedded pg0 database by default; external PostgreSQL and Helm chart also supported

Weaknesses

  • Retain depends on an LLM call for fact extraction, adding provider cost and latency
  • Dashboard, backups and uptime SLA are described only for the hosted Hindsight Cloud
  • Benchmark claims are partly vendor-reported; only some were independently reproduced
  • Intel Macs need the hindsight-all-slim package instead of the default
  • Docker
  • Needs LLM provider (API or local), PostgreSQL (embedded pg0 by default)
  • Models: openai, anthropic, gemini, groq, bedrock
  • port 9999

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)

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.