hindsight
Agent memory server with retain, recall and reflect operations
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.
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