Featured answer
Give me an overview of hindsight
Hindsight is an agent memory system for building AI agents that learn over time rather than only recalling conversation history. Agents store information with retain, search it with recall, and produce disposition-aware responses with reflect. Requests enter through the API server started by hindsight-api-slim/hindsight_api/main.py, which exposes HTTP routes defined in hindsight-api-slim/hindsight_api/api/http.py. The memory logic lives in hindsight-api-slim/hindsight_api/engine/memory_engine.py, and the hindsight-clients directory provides libraries that let applications use a running server without writing HTTP calls by hand. The hindsight-cli module supplies the hindsight command-line tool, and hindsight-embed runs a local memory server as a background daemon. To start reading, look at main.py and http.py for the API layer, then memory_engine.py for the core logic.
| Layer | Files |
|---|---|
| Application | 2097 |
| API | 156 |
| UI | 102 |
| Utility | 12 |
| Config | 20 |
| CLI | 30 |
| Types | 1 |
| Data | 238 |
| Service | 93 |
| Docs & Tooling | 279 |
Basis: Inferred · knowledge graph· as of 0bd5501