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.

6 min read

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 guide
4 min read

RAG 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 guide
4 min read

Context 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 guide
4 min read

Short-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 guide
4 min read

Episodic, 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 guide
5 min read

What 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 guide
5 min read

Vector 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 guide
5 min read

AI 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 guide
5 min read

How 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 guide

Pack the doko. Ask it anything.

Nine memories, one question, no account. See which facts an agent would carry into its next answer.