Agent Memory
Mechanisms in AI agents for storing and retrieving information. The concept encompasses three distinct problems: maintaining state within a single session, retaining information across sessions as long-term memory, and managing the context window.
Core Facts
An Agent's memory mechanism is typically divided into two categories: short-term memory and long-term memory, with long-term memory requiring external persistent storage such as vector databases, relational databases, and graph databases.
Persistent memory is typically divided into three levels: short-term working memory, episodic memory, and semantic memory
Timeline (last 90 days)
In sentinel-eval's tests, the original RAG scenario had a leakage rate of 0% (18 public chunks retrieved, 0 restricted chunks exposed); in the Agent memory scenario, 2 of 3 synthetic tasks leaked, and the cross-boundary workload leaked 6/18 canary markers.
Simply storing historical conversations in a vector database and retrieving by similarity causes retrieved content to lack contextual structure, and the memory store becomes noisy and mutually contradictory over time.
For unverified Agent-generated memories, a default TTL of 7 days should be set for automatic expiration, and this can be shortened further in high-risk scenarios.
Agent memory is becoming a key battleground in AI infrastructure competition around 2026.
Traditional RAG retrieves from external knowledge bases, whereas agent memory retrieval retrieves from the user's own interaction history.
All Facts (8)
An Agent's memory mechanism is typically divided into two categories: short-term memory and long-term memory, with long-term memory requiring external persistent storage such as vector databases, relational databases, and graph databases.
90%VerifiedPersistent memory is typically divided into three levels: short-term working memory, episodic memory, and semantic memory
65%UnverifiedWhen multiple agents share the same long-term context, erroneous memories and information that should not be shared are amplified together, forming a positive feedback loop of memory contamination.
60%UnverifiedIn sentinel-eval's tests, the original RAG scenario had a leakage rate of 0% (18 public chunks retrieved, 0 restricted chunks exposed); in the Agent memory scenario, 2 of 3 synthetic tasks leaked, and the cross-boundary workload leaked 6/18 canary markers.
50%UnverifiedSimply storing historical conversations in a vector database and retrieving by similarity causes retrieved content to lack contextual structure, and the memory store becomes noisy and mutually contradictory over time.
50%UnverifiedFor unverified Agent-generated memories, a default TTL of 7 days should be set for automatic expiration, and this can be shortened further in high-risk scenarios.
50%UnverifiedAgent memory is becoming a key battleground in AI infrastructure competition around 2026.
50%UnverifiedTraditional RAG retrieves from external knowledge bases, whereas agent memory retrieval retrieves from the user's own interaction history.
50%