Hindsight: Agent Memory That Learns
★ 60,209⑂ 7,354👁 115⑃ 4,421● 1,905▤ 75◈ 107
60,209
stars
+215+2,143
7,354
forks
115
watchers
4,421
prs
1,905
issues
75
releases
107
discussions
README
!Hindsight Banner Documentation • Integrations • Cookbook • Benchmarks • Paper • Hindsight Cloud --- What is Hindsight? Hindsight™ is an agent memory system built to create smarter agents that learn over time. Most agent memory systems focus on recalling conversation history. Hindsight is focused on making agents that learn, not just remember. It eliminates the shortcomings of alternative techniques such as RAG and knowledge graph and delivers state-of-the-art performance on long term memory tasks. 🆕 Introducing Hindsight Models: decision, rerank and embedding models built for agent memory. Open weights on Hugging Face, or hosted on Hindsight Inference. Read the post → Contents - Memory Performance & Accuracy - Quick Start — server · clients · platforms · embedded - Adding Hindsight to Your Agent — LLM Wrapper · integrations · coding agents · MCP - Core Concepts — memory types · retain / recall / reflect · observations · mental models & knowledge pages · decision models · banks - Use Cases - Running in Production - Resources --- Memory Performance & Accuracy Hindsight is the most accurate agent memory system ever tested according to benchmark performance. It has achieved state-of-the-art performance on the LongMemEval benchmark, widely used to assess memory system performance across a variety of conversational AI scenarios. The current reported performance of Hindsight and other agent memory solutions as of January 2026 is shown here: !Overview Live, continuously updated results — including per-model accuracy, latency and cost — are published at benchmarks.hindsight.vectorize.io. The benchmark performance data for Hindsight has been independently reproduced by research collaborators at the Virginia Tech Sanghani Center for Artificial Intelligence and Data Analytics and The Washington Post. Other scores are self-reported by software vendors. Hindsight is being used in production at Fortune 500 enterprises and by a growing number of AI startups. --- 🤖 Using a coding agent? Install the Hindsight documentation skill for instant access to docs while you code: bash npx skills add https://github.com/vectorize-io/hindsight --skill hindsight-docs Works with Claude Code, Cursor, and other AI coding assistants. --- Quick Start 1. Start a server Docker (recommended) bash export OPENAI_API_KEY=sk-xxx docker run -it --pull always --name hindsight --restart unless-stopped -p 8888:8888 -p 9999:9999 \ -e HINDSIGHT_API_LLM_API_KEY=$OPENAI_API_KEY \ -v hindsight-data:/home/hindsight/.pg0 \ ghcr.io/vectorize-io/hindsight:latest API: http://localhost:8888 UI: http://localhost:9999 Hindsight works with 25+ LLM providers via HINDSIGHT_API_LLM_PROVIDER — hosted (openai, anthropic, gemini, groq, bedrock, vertexai, minimax, deepseek, atlas, meta, …), fully local (ollama, lmstudio, llamacpp), any OpenAI-compatible endpoint, and gateways (litellm, litellmrouter) that reach the rest. Existing subscriptions work to
Top issues
#4061Daily security sweep — backlog37 comments · 2026-09-03#2551Provide extra surrounding context for extraction as needed to resolve misattribution and ambiguity13 comments · 2026-07-04#4697feat(hermes): surface a recalled memory's timestamp in recall injection6 comments · 2026-09-24#5809Integration: LiveKit Agents (voice AI memory)5 comments · 2026-10-19#5569hindsight-openclaw: retains of compacted OpenClaw sessions fail with AppendWouldTruncateDocument, and backfill can't recover them5 comments · 2026-10-14#5210coding-agents: per-message temporal provenance collapses to the conversation timestamp5 comments · 2026-10-04#6440Oracle: batch_retain fails with ORA-02291 (FK_ML_TO) when ANN neighbor is deleted between Phase 1 and insert4 comments · 2026-11-07#6424Recall has no degraded mode: an embeddings outage fails every recall, though the BM25 arm needs no query vector4 comments · 2026-11-06
Discussions
#6445hindsight-php: a PHP client, and memory for Laravel AI SDK agents1 comments · 2026-11-08#6425Consolidation option: hold a fact back until a second one supports the observation (observation_min_sources)0 comments · 2026-11-06#6338Hindsight Desktop, an independent macOS client0 comments · 2026-11-04#6248Thinking about ~1M small banks (one per user) on open-source Hindsight – where would you start?1 comments · 2026-11-01#6205Tip for external Postgres: jit=off cut graph expansion from ~5s to ~70ms for us0 comments · 2026-10-30#6119Memory as a continuous learning substrate0 comments · 2026-10-26#5968hindsight-livekit: long-term memory for LiveKit voice agents1 comments · 2026-10-22#5945AMD 显卡本地重排 Hindsight 中文记忆(llama.cpp Vulkan)0 comments · 2026-10-22
Latest release
v1.2.0 v1.2.0 2026-11-03What's Changed docs: changelog and blog post for v1.1.0 by @nicoloboschi in https://github.com/vectorize-io/hindsight/pull/5935 docs(blog): ChatGPT sign-in recording in the v1.1.0 post by @nicoloboschi in https://github.com/vectorize-io/hindsight/pull/5939 fix(parsers): strip UTF-8 byte-order mark in markitdown text files by @nicoloboschi in https://github.com/vectorize-io/hindsight/pull/5949 fix(embeddings): don't fail the call when the provider omits prompt_tokens by @nicoloboschi in https://github.com/vectorize-io/hindsight/pull/5951 fix(reflect): treat a non-list id field on done as e
News & coverage (12)
Hacker NewsHindsight – An open-source memory system for AI agents▲ 2 · 0 comments · 2026-10-05HackerNoonHindsight-Driven Development: An Iterative Approach to Building Software With AI2026-11-02noteHow to use Hindsight: An open-source memory tool that lets AI 'learn' rather than just 'remember', the two things you need, and the first three operations to get it running2026-10-09xJ. on X: "@nicoloboschi i put hindsight at number 5."2026-10-07xTrending GitHub Repositories on X: "Trending repository of the day hindsight Hindsight: Agent Memory That Learns Last 24h: 1,607 ⭐ Total: 26,931 ⭐️ https://t.co ...2026-10-02note[GitHub Daily] Agent Control Plane Zeron Debuts, Memory Learning Hindsight Surges — 2026-09-252026-09-24HackerNoonI Tested Hindsight, the Open-Source Memory Layer for Coding Agents2026-10-08YouTubeOur AI Agent Forgot the Meeting. Hindsight Remembered. | AI Agent Memory #AIAgents #AI #Hingsight2026-09-29InfoWorldFour agentic AI memory systems for smarter LLMs2026-07-08YouTubeYour AI Agent Has Amnesia. Mine Doesn't.2026-06-06