Next-Generation AI

Find which stage lost the memory

Agent memory is a pipeline.

Next-Generation AI · 2 min read

Agent memory is a pipeline. A fact can be missing because it was never written, because retrieval missed it, or because the model ignored the retrieved evidence.

Worked example

In a synthetic calendar task, record when the system saw the appointment, whether it was saved, whether retrieval returned it at query time, and whether the answer cited it correctly. Two incorrect answers may need different repairs if one had the correct evidence available.

How to apply it

Evaluate write, retrieval and use separately as well as end to end. Include stale facts and updates in the benchmark, and treat provenance as part of the result.

Check your understanding

When an appointment moves from Tuesday to Thursday, check that the new fact is written, that retrieval prefers it, and that the final answer uses it. These checks distinguish a stale store from stale reasoning.

Further reading

Chapter 18 of Next-Generation AI, Explained and Evaluated develops the method in more detail.

More guides from this book