What do you want to do?
3 use cases
-
Add long-term memory to an existing chatbot in two lines
Wrap your OpenAI client so memories are recalled before each call and stored after it.
View prompt
Add vectorize-io/hindsight memory to my chatbot in <file> using the LLM wrapper against a local server, one bank per user id, and show me a two-session test where the second session remembers a fact from the first.
-
Store, search and reason over agent memory with retain, recall and reflect
Use the client SDK to control exactly what goes into memory and how it is used.
- REPO
vectorize-io/hindsight - Software and DevOps
- Intermediate
View prompt
Using vectorize-io/hindsight's Python client, write a script that retains <facts> into a bank, then compares recall and reflect answers for <question>, and prints both.
- REPO
-
Self-host the Hindsight memory server
Run the server and UI in one Docker container with a persistent volume.
View prompt
Self-host vectorize-io/hindsight with Docker on this server with a named volume, confirm the API answers on 8888, and tell me how to back up and restore the data.
Quick start with Hindsight
- Check you have what it needs: Docker, pip or Kubernetes; An LLM API key (OpenAI in the quick start); Python, Node.js or Go for the client.
- Open vectorize-io/hindsight on GitHub and read the README and license.
- Start a Hindsight server, for example with the Docker command from the README on ports 8888 and 9999
- Install the wrapper:
pip install hindsight-litellm - Import it with
from hindsight_litellm import wrap_openaiand wrap your OpenAI client, passing a bank_id per user and hindsight_api_url for a self-hosted server (http://localhost:8888) - Call
client.chat.completions.createas before; usewrap_anthropic()for the Anthropic SDK
These steps come from our top use case, Add long-term memory to an existing chatbot in two lines, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for vectorize-io/hindsight
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeHindsight alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers building assistants or agents that should remember users and past work across sessions.
- Why it is hot53k stars, talked about in 2 AI sources we track
- LanguagePython
- Sourcegithub.com/vectorize-io/hindsight · Back to Hot repos
Requirements
- Docker, pip or Kubernetes
- An LLM API key (OpenAI in the quick start)
- Python, Node.js or Go for the client
Add this badge to your README
Maintain Hindsight? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/vectorize-io-hindsight/?utm_source=github&utm_medium=badge&utm_campaign=vectorize-io-hindsight)
HTML
<a href="https://dedupedai.com/use-cases/vectorize-io-hindsight/?utm_source=github&utm_medium=badge&utm_campaign=vectorize-io-hindsight"><img src="https://dedupedai.com/badge/vectorize-io/hindsight.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Hindsight
What is Hindsight?
Hindsight is an open-source agent memory system focused on agents that learn, not just recall chat history. You store facts with retain, fetch them with recall, and get a reasoned answer over memory with reflect, organized in memory banks. It runs as a Docker container, with Docker Compose, from pip or on Kubernetes with Helm, has Python, Node.js and Go clients, and an LLM wrapper that adds memory to an existing OpenAI or Anthropic client in two lines. It is an open-source project on GitHub: https://github.com/vectorize-io/hindsight.
How do I use Hindsight?
Start a Hindsight server, for example with the Docker command from the README on ports 8888 and 9999; then install the wrapper: pip install hindsight-litellm; import it with from hindsight_litellm import wrap_openai and wrap your OpenAI client, passing a bank_id per user and hindsight_api_url for a self-hosted server (http://localhost:8888). The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Hindsight for?
Developers building assistants or agents that should remember users and past work across sessions.
What can I do with Hindsight?
3 use cases so far, for example: Add long-term memory to an existing chatbot in two lines; Store, search and reason over agent memory with retain, recall and reflect; Self-host the Hindsight memory server. Each has steps and a copy-paste agent prompt.
What do I need to run Hindsight?
Docker, pip or Kubernetes; An LLM API key (OpenAI in the quick start); Python, Node.js or Go for the client.
What are alternatives to Hindsight?
Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.
Is Hindsight safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.