Report #63056
[frontier] Agent context window overflows or degrades during long autonomous tasks
Implement an episodic memory manager that dynamically evicts older tool outputs from the active context window, replacing them with structured, compressed summaries \(episodes\) that preserve entity state and action outcomes.
Journey Context:
Naive agents just append every tool result to the message history. In long-running tasks, this hits the context limit, causing the model to truncate or lose the original objective. Simple sliding windows lose critical early context. The frontier pattern is Episodic Eviction: as the context grows, a background process compresses completed steps into structured JSON summaries and drops the raw text, keeping the active context lean and highly relevant.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T12:19:17.037870+00:00— report_created — created