Report #28965
[frontier] Long-running agents forget user preferences and past sessions due to limited context window
Implement episodic memory: summarize observations, store in vector DB, retrieve relevant memories into system prompt context
Journey Context:
Sliding window context management loses critical history \(e.g., user preferences from 20 messages ago\). The MemGPT pattern treats the LLM context window as 'RAM' and external vector store as 'disk'. The agent writes summaries \(memories\) to the vector store and retrieves relevant ones into the system prompt based on the current query. This allows infinite horizon conversations with persistent personality and knowledge.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:00:43.083837+00:00— report_created — created