Picture published by the creator on GitHub.
Hindsight: Give a coding agent memory that learns instead of just recalling
Added · Updated
Made by vectorize-io
View profile on GitHub (opens in a new tab)Hindsight is a memory system for AI agents, built to notice patterns across many conversations rather than only replaying past ones the way a typical chat history or a RAG lookup (search over stored documents) does.
You run it as a local server and connect it to a coding agent or your own app through an SDK, an MCP tool, or an LLM wrapper, and it works with over 25 model providers, including fully local ones through Ollama. The creator reports state-of-the-art results on the LongMemEval benchmark, a public test of how well a system remembers across long conversations, and says results have been independently reproduced by outside researchers.
What it does
Most agent memory tools store and retrieve past messages, which is closer to search than to learning. Hindsight instead separates memory into types — observations, mental models and knowledge pages it builds up — and runs a retain/recall/reflect cycle so an agent can carry forward a working understanding rather than just a transcript. It ships as a server (Docker is the recommended path) with clients and integrations for common coding agents, plus an MCP server so any MCP-aware tool can use it as a memory backend.
You could use it to…
- Give a coding agent memory that learns, not just recalls
- Run it fully local with Ollama, no cloud key required
- Connect it to an agent over MCP as a memory backend
Can I use this?
You'll need Docker and an LLM provider (local or cloud) · Setup needed
Worth knowing Benchmark figures beyond the independently reproduced one are self-reported by the project, and memory quality still depends on which underlying model you connect it to. Production use is described as already happening at some companies, which is the creator's claim, not an independent audit. MIT licence.
Why it's here
Not trending this week
Last seen on the GitHub trending list on 30 October 2026. It stays on BuildTube so you can still find it.
- 59,838 people have starred it on GitHub.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View setup guideBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is Hindsight?
- Most agent memory tools store and retrieve past messages, which is closer to search than to learning.
- What can I use Hindsight for?
- Give a coding agent memory that learns, not just recalls; Run it fully local with Ollama, no cloud key required; Connect it to an agent over MCP as a memory backend
- Can I run Hindsight on my computer?
- It runs on your own computer or server after a local setup.
- What do I need to use Hindsight?
- A computer that can run Docker, and access to at least one LLM provider — a local one through Ollama needs no key, while a hosted provider (OpenAI, Anthropic, and others) needs your own API key.
- What license does Hindsight use?
- MIT licence.
More from this week
- RAGFlow Ask questions about your documents and get cited answers
Upload documents and ask questions with traceable citations.
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Auto-Ontology Give AI agents checked business meanings for your database
Help AI agents answer questions about company databases using reviewed definitions and SQL, with each answer showing its steps.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-vectorize-io-hindsight/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-vectorize-io-hindsight/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Hindsight on BuildTube"></iframe>