Hindsight
Hindsight is the default memory provider: Docker Compose runs LiteLLM, the Hindsight API, and the shared indexer on loopback. Retain, recall, reflect, and consolidate go through Hindsight’s HTTP API; LiteLLM routes model calls to lemond, Ollama, or another OpenAI-compatible backend.
Upstream project: vectorize-io/hindsight.
What personal-memory runs
Section titled “What personal-memory runs”| Service | Role |
|---|---|
litellm |
Proxy for Hindsight aliases memory-retain, memory-reflect, memory-consolidate |
hindsight |
Memory API (default host port 8888, HINDSIGHT_PORT) |
indexer |
Git, Obsidian, markdown trees, feed cache → Hindsight banks via MEMORY_SINK=hindsight |
Health check after setup:
curl -fsS http://127.0.0.1:8888/healthControl plane URL is printed by the wizard (separate from the API port).
Secrets and config (never in the repo)
Section titled “Secrets and config (never in the repo)”| Path | Purpose |
|---|---|
~/.config/hindsight/hindsight.env |
Hindsight API settings |
~/.config/hindsight/litellm.yaml |
Optional full LiteLLM route override |
~/.config/hindsight/index.yml |
Index sources (index-sources.md) |
~/.config/hindsight/wizard.conf |
Active provider and wizard choices |
~/.hindsight/coding-agent.json |
Real file on disk — repo maps, opt-in paths, NotebookLM access |
Shipped route templates live in config/litellm.lemond.yaml and config/litellm.ollama.yaml. Details: Model configuration.
Coding agents and MCP
Section titled “Coding agents and MCP”Default (all providers): unified memory_* MCP plus in-repo session hooks:
npx personal-memory install-coding-agent --yesOptional: also install the upstream Hindsight plugin hooks:
npx personal-memory install-coding-agent --yes --hindsight-pluginMCP without session hooks:
npx personal-memory install-mcp --yesRestart Cursor Agent after MCP changes.
Switch provider
Section titled “Switch provider”npx personal-memory switch mem0 --yes# return: npx personal-memory switch hindsight --yesUpdates compose profile, env, and MCP wiring. Does not migrate memories between backends.
NotebookLM (opt-in)
Section titled “NotebookLM (opt-in)”NotebookLM sync and MCP are provider-agnostic but were built for Hindsight-first workflows. See docs/notebooklm.md.
See also
Section titled “See also”- Architecture — indexing and MCP paths
- Model configuration — LiteLLM aliases and backends
- Provider status
This page is generated from docs/hindsight.md in the repository.