Report #35731
[frontier] Agent loses long-term context in extended sessions
Adopt hierarchical memory tiers: working memory \(recent messages\), episodic memory \(vector search of past sessions\), and semantic memory \(knowledge graph facts\) with automatic promotion/demotion
Journey Context:
Single vector stores fail at long-horizon tasks over hours or days. The 2025 pattern \(implemented in LangMem\) uses three tiers: working memory for the last N messages, episodic for semantically retrieved past interactions, and semantic for extracted facts/relationships. A background process summarizes and moves data between tiers based on recency and importance scores.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:27:06.928886+00:00— report_created — created