Hindsight: Structured Agent Memory that Retains, Recalls, and Reflects
Hindsight: Structured Agent Memory that Retains, Recalls, and Reflects
Chris Latimer,Nicoló Boschi,5 Authors,Usa Vectorize.io
TLDR
H INDSIGHT is the only working memory system for AI agents that jointly provides fact-belief separation, temporal entity graphs, evolving opinions with confidence scores, and configurable behavioral profiles.
Abstract
We demonstrate H INDSIGHT , a working memory system for AI agents that organizes long-term memory into four logical networks and exposes three core operations. The world, experience, observation, and opinion networks separate objective facts from subjective beliefs, giving developers visibility into what an agent knows versus what it believes. The retain, re-call, and reflect operations handle ingestion, retrieval, and reasoning respectively, with a parallel pipeline that combines vector search, key-word matching, graph traversal, and temporal filtering, backed by PostgreSQL with pgvec-tor. Unlike existing systems such as MemGPT, Zep, and Mem0, H INDSIGHT is the only one that jointly provides fact-belief separation, temporal entity graphs, evolving opinions with confidence scores, and configurable behavioral profiles. On LongMemEval and LoCoMo, H IND - SIGHT with a 20B open-source model reaches 83.6% and 83.2% accuracy, outperforming full-context GPT-4o and all prior memory systems; with Gemini-3 Pro, LongMemEval accuracy reaches 91.4%. Our interactive demo lets users build memory graphs through multi-session conversations, inspect how memories are classified, and watch opinions form and change. The system is open-source under the MIT license , available as a Python package ( pip install hindsight-all ) and Docker image, with 13.3K GitHub stars and 763 forks to date, and in production use at Fortune 500 enterprises
