11st of 41 in Memory
hindsight
Agent memory server with retain, recall and reflect operations
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 63.5k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
5,547 on 24 Mar 202663,488 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
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
Ranked among open-source alternatives to Mem (#1 of 10).
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
What it needs
- Docker
- Needs LLM provider (API or local), PostgreSQL (embedded pg0 by default)
- Models: openai, anthropic, gemini, groq, bedrock
- port 9999
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- coding-agents: the page search tool promises a "matching passage", and with no relevance cutoff every page comes back for any query ↗ (opens in a new tab)2 reactions
- coding-agents: with the server unreachable, SessionStart takes 21 s and every UserPromptSubmit 16 s, even with reflectTimeoutMs and injectTimeoutMs at 3 s ↗ (opens in a new tab)1 reactions
- coding-agents (Claude Code): an option to deliver memory again after a compaction, with a question that is not built from the next prompt ↗ (opens in a new tab)1 reactions
- Reflect decision model: a 422 context-limit refusal is not retried, so pruning fails on 32k System One endpoints ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- Recall decision reranker aborts on per-question refusals; System One 502 retries amplify failures ↗ (opens in a new tab)2 reactions · closed 6 Nov 2026Fixed by feat(recall): opt-in fallback to the reranker when the decision model fails ↗ (opens in a new tab)
- reranker(typesafe): every recall fails over on banks with realistic-size memories — the request ships full candidate text against Jev's ~32k budget, and nothing bounds it ↗ (opens in a new tab)2 reactions · closed 25 Sept 2026Fixed by fix(reranker): bound TypeSafe token usage and preserve cross-chunk rank order ↗ (opens in a new tab)
- Annoying uv.exe command popups ↗ (opens in a new tab)1 reactions · closed 24 Aug 2026Fixed by fix(windows): hide daemon subprocess windows ↗ (opens in a new tab)
- hindsight-litellm: _store_conversation crashes with AttributeError when response is a streaming CustomStreamWrapper ↗ (opens in a new tab)1 reactions · closed 24 Apr 2026Fixed by fix(litellm): handle streaming responses in _store_conversation ↗ (opens in a new tab)
- max_completion_tokens=65000 hardcoded in fact_extraction.py causes error with Claude models ↗ (opens in a new tab)1 reactions · closed 7 Jan 2026Fixed by fix: make retain max completion tokens configurable ↗ (opens in a new tab)
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 41| Rank | Project | Score |
|---|---|---|
| 2 | gbrainMemory store with sources and a knowledge graph for coding agents | 94 out of 100 |
| 3 | MemPalaceLocal verbatim memory store for AI agents with semantic search and MCP | 91 out of 100 |
| #4 | SupermemoryMemory and context engine for AI agents, with user profiles and hybrid search | 91 out of 100 |
| #5 | Mem0Long-term memory layer that stores and retrieves user facts for LLM agents | 88 out of 100 |
| #6 | CogneeLong-term memory engine that builds a knowledge graph from documents, code and sessions | 88 out of 100 |