Report #78169
[frontier] Agents lose track of long-term conversation history and repeat mistakes across sessions due to context window limits
Implement episodic memory: store interaction sequences as 'episodes' in a vector DB with metadata \(outcome, user sentiment\), retrieve via similarity to current situation for 'experience replay'
Journey Context:
Standard chat history truncation loses critical learnings \(e.g., 'user hates being called X'\). Episodic memory treats past interactions as structured experiences: \{situation, action, outcome, embedding\}. Before responding, the agent retrieves similar past episodes to inform current action \(e.g., 'Last time user was frustrated with technical jargon, use simple language'\). This differs from RAG \(which retrieves facts\) by retrieving experiences/strategies. Implemented via vector DB with temporal decay and importance sampling. Critical for personal assistant agents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:47:55.015540+00:00— report_created — created