Agent memory, call by call

The same short conversation run through five agent memory systems, with every model call shown: what each one stores, what it does when the user changes their mind, and what it costs.

docs

docs/findings

notebooks

0. One conversation, five memory systems The idea in one screen. An assistant with memory keeps something from one conversation for the next. Every memory system does this on two paths. After a session, something decides what to keep and writes it down. Before a new answer, something finds what the question needs and puts it into the prompt. The systems differ in what fills each step: who writes, what shape the memory takes, and whether the read puts all of it into the prompt or picks a part.

00-introduction.ipynb · 9 min · Notebook on GitHub

Reading

Text size

19 px

Column width

Colours

Code cells

When the file changes

Saved on this device.