What are the risks of agent memory?
AdvancedConceptMemory & state
Answer
Wrong facts can be saved and reused, stale facts outlive changes, private data can leak between users, and attackers can plant instructions in memory (memory poisoning). Scope memory per user or tenant, expire or re-verify facts, and treat stored memory as untrusted input.
More on Memory & state
Do LLMs remember previous conversations?BeginnerWhat is short-term memory for an agent?BeginnerWhat is long-term memory for an agent?BeginnerHow do you stop conversation history from overflowing the context window?IntermediateWhat should an agent store in long-term memory?IntermediateWhat is agent state, and why persist it?Intermediate