Guides
AI agent memory guides
Everything between 'our agent forgets people' and a memory you can trust. Each guide is short, names no vendor as the answer and is written for people building the thing.
How to add memory to an AI agent
A step-by-step way to give an AI agent long-term memory: decide what to keep, extract it, store it, recall it within a token budget and keep it up to date.
Read the guideRAG vs agent memory
RAG and agent memory both retrieve text into a prompt, but from different sources and with different duties. A plain comparison, and when you need both.
Read the guideContext window vs memory
A larger context window is not memory. What each one does, why long prompts cost more on every turn, and how to decide what stays in context and what moves out.
Read the guideShort-term vs long-term memory in AI agents
How short-term and long-term memory differ in AI agents, how facts move from one to the other, and the three moments when an agent should write things down.
Read the guideEpisodic, semantic and procedural memory for agents
The three types of long-term memory in AI agents, with examples of each, how they are stored and recalled, and which one to build first for your product.
Read the guideWhat an agent should remember, and what it should forget
Rules for deciding which facts an AI agent keeps and which it drops: a test for memory-worthy facts, how to handle contradictions, and four ways to forget.
Read the guideVector database vs knowledge graph for agent memory
Where to store AI agent memory: vectors, a knowledge graph, plain tables or a mix. What each is good at, what each misses, and how to choose for your case.
Read the guideAI memory privacy checklist
A checklist for storing what users tell an AI agent: purpose, consent, isolation between users, deletion, sensitive data and defence against memory poisoning.
Read the guideHow to evaluate AI memory
A practical way to test whether an AI agent's memory works: five kinds of test question, what to measure on each turn, and how to build a small test set.
Read the guidePack the doko. Ask it anything.
Nine memories, one question, no account. See which facts an agent would carry into its next answer.