Hindsight is an open-source memory server for AI agents. You install it with pip on Windows and point it at a small local model running through Ollama. This suits anyone who already runs Ollama and wants agent memory that stays on their own machine.
YouTube video: Hindsight Setup: Give Your AI Agent Memory That Learns (Local, Windows, Ollama)
YouTube’s video details do not confirm captions. Check CC in the player for available tracks.
- Video length
- 5 min 31 s
- Time to do it
- 20 minutes
- Difficulty
- Medium
- Steps
- 9
What you need
Steps
Install Ollama on Windows and pull a small model, then confirm it answers prompts before you continue.
Clone the Hindsight repo from GitHub and open a terminal in that folder.
Create a virtual environment with python -m venv venv, then activate it with venv\Scripts\activate.
Install Hindsight with pip install -e. so the package and its dependencies are set up.
Start the memory server and point it at your Ollama model so it uses the local endpoint.
Open the web UI in your browser and check that the server is running and connected.
Test retain by storing a fact, then recall it to confirm the memory comes back.
Run reflect and review the output, keeping in mind a 0.6B model gives weak reflections.
Connect your agent through the MCP endpoint so it can call retain, recall and reflect.
Tips and common mistakes
Use a larger model for reflect, since a 0.6B model produces poor reflections.
Keep the server running in its own terminal window while your agent uses it.
Check the docs for the exact config keys before changing model or port settings.
Questions
Do I need a GPU?
No. A small local model through Ollama runs on CPU, though responses will be slower.
What is the MCP endpoint for?
It lets an AI agent connect to Hindsight and call retain, recall and reflect as tools.
Is Hindsight free?
Yes. It is open source under the MIT license, so you can run it locally at no cost.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


