Back to glossary

Agent Memory

Systems that allow AI agents to store, retrieve, and use information across interactions and sessions. Agent memory encompasses short-term context within a conversation and long-term persistence across separate sessions.

Agent memory is what transforms a stateless language model into a persistent assistant that learns and adapts over time. Short-term memory (conversation context) lets agents maintain coherence within a session. Long-term memory (vector stores, databases, or key-value stores) lets agents recall user preferences, past interactions, and accumulated knowledge across sessions.

For growth products powered by AI, memory is the foundation of personalization. An onboarding agent that remembers where a user left off, a support agent that knows a customer's history, or a sales agent that tracks deal context across touchpoints all depend on well-designed memory systems. The engineering challenge is deciding what to remember, how to retrieve it efficiently, and when to forget. Storing everything is expensive and can pollute context with irrelevant information. Implement memory with clear schemas, relevance scoring on retrieval, and periodic garbage collection of stale entries.

Related Terms