Skip to main content
Back to trending

hindsight

Hindsight: Agent Memory That Learns

  • agentic-ai
  • agents
  • ai-memory
  • memory
View on GitHub
Stars
65,014
Forks
7,469
+ today
+2
Created
1y

Ranking data as of December 5, 2026 (UTC).

Star History

Today, hour by hour

65,014 stars
65,01265,014

Overview

Hindsight: Agent Memory That Learns It ranks #2900 on GitTiger, gaining +2 stars on December 5, 2026 (UTC).

The project is written in Python and has 7,469 forks. It was created 1y ago.

AI-generated summary of the repository README — may contain errors.

What it is

Hindsight is a memory layer for AI agents, described simply as "Agent Memory That Learns". It is written in Python and released under the MIT licence, and its topics place it in the agentic-AI and AI-memory space rather than in general storage.

Capabilities the README describes

The project frames its value around memory performance and accuracy, and documents a path for adding Hindsight to an existing agent through an LLM wrapper, integrations, coding agents and an MCP entry point. Its core concepts are spelled out in the README: memory types, the retain / recall / reflect cycle, observations, mental models and pages, decision models, and banks. A separate section covers running it in production, and the documentation includes a cookbook, benchmarks and a paper, plus an integrations page. One example it uses for structured knowledge is world facts, the kind of stable statement such as "the stove gets hot" that a model should not have to relearn.

Getting started

The evidence points to the project's documentation, integrations page and cookbook as the entry points, and to an LLM-wrapper route for wiring memory into an agent. Concrete install commands are not included in the supplied fields, so follow the README rather than improvising a setup.

Installation
git clone https://github.com/hindsightai/hindsight.git
cd hindsight
# see README for setup

Frequently Asked Questions

Does Hindsight work with an agent I already have?

The README describes adding it through an LLM wrapper, integrations, coding agents and MCP, so there are several documented attachment routes. The exact integration list is not included in the supplied fields.

What is the retain / recall / reflect cycle?

Those three steps are listed as core concepts of the memory model, alongside memory types, observations, mental models and banks. Their precise semantics are documented in the repository, not in the supplied summary.

Is there a hosted version?

The README links to something called Hindsight Cloud as well as benchmarks and a paper. The supplied fields do not describe its pricing or limits.

What language and licence?

Python, under the MIT licence.