What should an agent store in long-term memory?
IntermediateConceptMemory & state
Answer
Durable, useful facts: decisions made, known system quirks, user preferences, outcomes of past tasks. Avoid storing raw transcripts, secrets or personal data that is not needed. Every stored item should have a source, a timestamp and a way to be corrected or deleted.
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 is agent state, and why persist it?IntermediateYour assistant contradicts what it said ten messages ago. What is happening?Intermediate