Memory for AI Agents
A design guide for working memory, long-term memory, shared memory, and governance.
Key ideas
- Working memory
- Long-term memory
- Shared multi-agent memory
- Memory is not truth
Working memory
Short-lived context needed to complete the current task: user intent, intermediate results, tool outputs, and execution state.
Long-term memory
Durable information retained across interactions. Store only information that has a clear purpose, provenance, retention policy, and update strategy.
Shared multi-agent memory
Shared stores can improve collaboration but also create cross-agent contamination. Writes should be attributable, validated, classified, and access-controlled.
Memory is not truth
Treat remembered content as a managed data product with freshness, source, scope, and confidence—not as unquestioned fact.