
hindsight
Long-term memory layer for AI agents that stores typed facts and consolidates beliefs
- Pricing
- Open source
- Platforms
- API, self-hosted, Web
- GitHub stars
- 61.4K
- Last commit
- 1 day ago
- Language
- Python
- License
- MIT
About hindsight
hindsight is an open-source AI tool for knowledge and memory. It is available on API, self-hosted, Web and CLI.
Hindsight does not keep raw chat logs. It extracts statements into typed facts, a world fact such as where someone works, an experience fact about what the agent itself did, and observations that consolidate many facts into a belief with its evidence and history. Facts link to the entities they mention, which lets a question be answered from two facts that were never stored together.
The API centers on three calls: retain to store, recall to search and reflect to reason over memory. Recall runs four searches in parallel, including semantic and BM25 keyword search. It can be used as a managed cloud, embedded locally with no setup, or on your own cluster, and has an MCP server and coding-agent integrations.
The code is MIT licensed in Python, and the site mentions $5 of free credit for new GitHub sign-ins.
What it does
- Typed memories
- World facts, experiences, observations, mental models and pages.
- Retain, recall, reflect
- Three operations for storing, searching and reasoning.
- Multi-strategy retrieval
- Parallel semantic, keyword and other searches.
- Entity graph
- Facts are linked through shared entities.
- Flexible hosting
- Cloud, embedded or your own cluster.
Good for
- Give a coding assistant memory across sessions
- Track a user's changing preferences
- Answer time-based questions about past conversations
- Share memory banks between agents
Pricing
Open source
MIT; hosted cloud with $5 starting credit
Prices change. Check hindsight.vectorize.io before you buy.
hindsight FAQ
Where can it run?
Managed cloud, embedded locally, or on your own cluster.
What is the free offer?
The site mentions $5 of free credit when signing up with GitHub.
Does it have MCP support?
Yes, the docs list an MCP server.
Is hindsight free?
Yes. hindsight is open source, so you can use and self-host it for free.
What are the best alternatives to hindsight?
The closest alternatives to hindsight are ECC, ponytail, graphify, JavaGuide and claude-mem.
Alternatives to hindsight

Skills, hooks, memory and security layer for coding agent harnesses
- Freemium
- Open-source agent
- 305K GitHub stars
- AI models and LLM tooling

Ruleset that makes AI coding agents write less code that still works
- Open source
- Open-source agent
- 192K GitHub stars
- AI models and LLM tooling

Code knowledge graph that gives coding assistants shared, source-linked context
- Freemium
- Open-source agent
- 149K GitHub stars
- Knowledge and memory

Chinese-language Java backend interview guide with an AI application section
- Free
- Open-source agent
- 160K GitHub stars
- Knowledge and memory

Memory for coding agents that saves decisions and fixes, with optional hosted sync
- Freemium
- Open-source agent
- 118K GitHub stars
- Knowledge and memory

Open-source RAG engine with a document pipeline, hybrid search and visual agent workflows
- Freemium
- Open-source agent
- 94.3K GitHub stars
- Knowledge and memory