An AI model only sees what is placed in its context for each request. Designing that context is a core part of building good agents.
Key points
- Short-term memory holds the current conversation or task steps.
- Long-term memory stores facts such as customer preferences, retrieved when relevant.
- Too much context costs money and can confuse the model; relevance matters more than volume.
- Sensitive memories need the same protection and retention rules as other personal data.
Good memory design makes agents feel consistent and personal while staying efficient and compliant.