Hindsight

hindsight.vectorize.io

Open-source agent memory system from Vectorize that helps AI agents learn over time, not just recall chat history.

GitHub stars
63,391
License
MIT
Language
Python
Pricing
Open source
Published
Oct 25, 2026

Next steps

What it does

Hindsight is an MIT-licensed agent memory system built by Vectorize. Instead of only replaying conversation history, it organizes memories into world facts, the agent's own experiences, consolidated observations and mental models, stored in memory banks with entities, relationships, time series and sparse/dense vectors. Three operations drive it: retain (an LLM extracts facts, entities and time data from new content), recall and reflect. It can run as a server with Python and TypeScript clients, embedded in Python without a server, as an LLM wrapper in two lines of code, or through an MCP server for coding agents. The project reports state-of-the-art results on the LongMemEval benchmark, publishes live benchmarks, has an arXiv paper and offers a managed Hindsight Cloud.

Hindsight · Image from the official website
Image from the official website

Use cases

  • Give a customer-support agent memory that improves across sessions
  • Add long-term memory to Claude Code or other coding agents via MCP
  • Replace ad-hoc RAG over chat logs with structured, time-aware memory

Frequently asked questions

Is Hindsight open source?
Yes. The code is on GitHub (vectorize-io/hindsight) under the MIT license; a managed Hindsight Cloud is also offered.
How is it different from RAG?
It extracts facts, entities, relationships and time data into memory banks and forms observations and mental models, rather than only retrieving raw text chunks.
How do I connect it to an agent?
Use the Python or TypeScript clients, the embedded Python mode, the two-line LLM wrapper, or the MCP server.
Log in to join the discussion