Memory · 2026-10-02

Long-term memory filled up with one-off details («asked about invoice #412»), and retrieval now returns noise.

  1. ADecide what is worth remembering AT WRITE TIME - durable facts about the person, not the transcript of a task
  2. BRetrieve more items so the useful ones are included
  3. CGive the memory store a bigger index and a higher similarity threshold, so retrieval can skip the one-off details and still find everything useful
  4. DClear memory every night and start fresh

Answer: A

Decide what is worth remembering AT WRITE TIME - durable facts about the person, not the transcript of a task

Why

Retrieval quality is decided by what you agreed to store. Reading harder cannot un-write a thousand irrelevant notes, and nightly wipes throw away the durable facts along with them - the filter belongs on the write.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path