{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "vectorize-io-hindsight--retain-recall-and-reflect-on-agent-memory",
 "repo": "vectorize-io/hindsight",
 "repo_url": "https://github.com/vectorize-io/hindsight",
 "repo_slug": "vectorize-io-hindsight",
 "title": "Store, search and reason over agent memory with retain, recall and reflect",
 "page_title": "How to store, search and reason over agent memory with retain, recall and reflect with Hindsight",
 "summary": "Use the client SDK to control exactly what goes into memory and how it is used.",
 "who": "A developer who wants explicit control over memory instead of automatic wrapping.",
 "problem": "Automatic memory can store noise or miss the facts that matter.",
 "outcome": "A memory bank you write to on purpose and query for facts or for a reasoned summary.",
 "steps": [
  "Install a client: `pip install hindsight-client -U` (or the Node.js or Go client)",
  "Store a fact: `client.retain(bank_id=\"my-bank\", content=\"Alice works at Google as a software engineer\")`",
  "Search it: `client.recall(bank_id=\"my-bank\", query=\"What does Alice do?\")`",
  "Ask for a reasoned answer: `client.reflect(bank_id=\"my-bank\", query=\"Tell me about Alice\")`"
 ],
 "agent_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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Docker, pip or Kubernetes",
  "An LLM API key (OpenAI in the quick start)",
  "Python, Node.js or Go for the client"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/vectorize-io-hindsight/retain-recall-and-reflect-on-agent-memory/",
 "md": "https://dedupedai.com/use-cases/vectorize-io-hindsight/retain-recall-and-reflect-on-agent-memory/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/vectorize-io-hindsight--retain-recall-and-reflect-on-agent-memory.json",
 "api_version": "v1"
}
