Memory
Real situations from building agents - with the answer and why.
- A long-running assistant needs to remember facts across many sessions.
- Your agent rebuilds an expensive document-embedding index from scratch on every run, even when the documents haven’t changed.
- Your agent keeps its long-term memory in one global store.
- Your agent saved a user’s shipping address a year ago and now answers a delivery question with it - but the user moved months ago.
- Long-term memory filled up with one-off details («asked about invoice #412»), and retrieval now returns noise.
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.