Agent Memory System
A hierarchical memory architecture designed for intelligent agents, encompassing short-term memory (within a session) and long-term memory (across sessions). It uses a dynamic injection mechanism to introduce relevant memories into the context window, addressing the lack of persistent memory in large language models.
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.
An Agent's memory system is typically divided into three levels: working memory (current conversation context window), short-term memory (recent interaction history), and long-term memory (persistently stored via a vector database)
Solving the memory timeliness problem requires additionally building version management, timestamp-based ordering, and proactive memory invalidation mechanisms.
Timeline (last 90 days)
The workshop outline covers five memory aspects: building persistent memory across sessions, memory extraction and retrieval, memory consolidation and forgetting, and context window load management.
SAFE-Mem introduces fine-grained governance for agent memory: each "claim" carries source, authority, and scope labels, and retrieval first checks whether the claim's permissions match the query requirements before deciding whether to use it; in tests this mechanism reduced attack success rate by at least 77% relative to the strongest defense baseline while maintaining the highest answer accuracy among all evaluated defenses.
The FEB-30 benchmark proposed in the arXiv paper "Beyond Downstream QA" uses an inversion paradigm to construct deterministic ground truth, and tests show that a representative memory system correctly classifies memory operations (create, update, strengthen, supersede) only 20% of the time.
The most basic memory system can be very lightweight: a local file recording user preferences and a simple retrieval logic to recall historical summaries can already significantly improve the experience.
The lack of auditability of an Agent's persistent memory is an often overlooked infrastructure problem of long-horizon Agents.
An Agent's memory system is essentially a data modeling problem, not a prompt engineering problem.
A more reasonable approach for an Agent memory system is often a hybrid architecture: structured metadata stored in a relational database, semantic content retrieved with the aid of a vector index, and then rule-based filtering to decide the flow of information back.
Neglecting conflict resolution and extraction granularity optimization while directly pursuing "intelligent memory" often accumulates a large number of erroneous facts in actual use, which instead reduces the Agent's reliability.
Most Agent memory systems lack temporal awareness and version consciousness, often storing all historical information with approximately equal weight.
Relevance retrieval and timeliness management are two mechanisms that need to be designed in conjunction, yet most existing Agent memory implementations only address the former.
5 more timeline events
All Facts (17)
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%VerifiedAn Agent's memory system is typically divided into three levels: working memory (current conversation context window), short-term memory (recent interaction history), and long-term memory (persistently stored via a vector database)
80%VerifiedSolving the memory timeliness problem requires additionally building version management, timestamp-based ordering, and proactive memory invalidation mechanisms.
65%UnverifiedVector databases are currently the most common underlying storage form for Agent memory systems.
60%UnverifiedLarge models do not have true persistent memory capabilities; memory is a systems engineering construct that developers build for intelligent agents.
60%UnverifiedThe workshop outline covers five memory aspects: building persistent memory across sessions, memory extraction and retrieval, memory consolidation and forgetting, and context window load management.
50%UnverifiedThe FEB-30 benchmark proposed in the arXiv paper "Beyond Downstream QA" uses an inversion paradigm to construct deterministic ground truth, and tests show that a representative memory system correctly classifies memory operations (create, update, strengthen, supersede) only 20% of the time.
50%UnverifiedSAFE-Mem introduces fine-grained governance for agent memory: each "claim" carries source, authority, and scope labels, and retrieval first checks whether the claim's permissions match the query requirements before deciding whether to use it; in tests this mechanism reduced attack success rate by at least 77% relative to the strongest defense baseline while maintaining the highest answer accuracy among all evaluated defenses.
50%UnverifiedThe most basic memory system can be very lightweight: a local file recording user preferences and a simple retrieval logic to recall historical summaries can already significantly improve the experience.
50%UnverifiedThe lack of auditability of an Agent's persistent memory is an often overlooked infrastructure problem of long-horizon Agents.
50%UnverifiedAn Agent's memory system is essentially a data modeling problem, not a prompt engineering problem.
50%UnverifiedA more reasonable approach for an Agent memory system is often a hybrid architecture: structured metadata stored in a relational database, semantic content retrieved with the aid of a vector index, and then rule-based filtering to decide the flow of information back.
50%UnverifiedNeglecting conflict resolution and extraction granularity optimization while directly pursuing "intelligent memory" often accumulates a large number of erroneous facts in actual use, which instead reduces the Agent's reliability.
50%UnverifiedMost Agent memory systems lack temporal awareness and version consciousness, often storing all historical information with approximately equal weight.
50%UnverifiedRelevance retrieval and timeliness management are two mechanisms that need to be designed in conjunction, yet most existing Agent memory implementations only address the former.
50%UnverifiedWorking memory is the intermediate state during an Agent's operation, including information looked up, tools invoked, and the current step of the task.
50%UnverifiedIn production-grade Agents, memory retrieval and storage often combines both Embedding-based retrieval and keyword filtering mechanisms to balance semantic coverage and precision.
50%