cCarebun Reading‹ All reading
Carebun Interactive/Memory Study view

An interactive textbook

AI Agent Memory
Novice to Ninja

How an AI assistant remembers you, taught from zero with one card box, one secretary, one librarian, and numbers you can move with your own hands.

Start reading

22 chapters · about 4.2 hours · 26 interactives · no background needed

The library behind the book

hanumemAI

Remember everything. Inject almost nothing.

A memory layer for AI agents, measured on three public benchmarks with every model and token count named. This book teaches the subject from zero, with numbers you can move with your own hands.

Scores are LLM-judged accuracy on full question sets. Other systems' figures are as their vendors published them; where they score higher we say so.

How to read this book

  1. In order. Each chapter uses only what the earlier ones taught.
  2. With your hands. Chapters marked interactive have sliders and small simulators. Move them before you read on.
  3. Answer before you look. Every chapter ends with questions and folded answers. Recalling beats re-reading.

Part I · Novice

Why models forget, and the one idea that fixes it.

Part II · Apprentice

The secretary, the box and the librarian, piece by piece.

Part III · Journeyman

Latency, prompts, privacy, scale, cost and evaluation.

Part IV · Ninja

Benchmarks, and how other systems do it.

Part V · Practice

Build it, answer the questions readers ask, and whiteboard it cold.