Report #3412
[agent\_craft] Agent context grows without bound and forgets everything beyond the window
Treat the context window as RAM and add a memory hierarchy: a small working context, a recall store for recent history, and an archival store for long-term facts. Give the agent explicit search and evict tools, and trigger eviction at ~70% capacity with a recursive summary.
Journey Context:
Flat conversation history does not scale. MemGPT showed that OS-style virtual memory—paging relevant data in and out—outperforms naive long-context baselines on multi-session chat and document analysis. The weak point is retrieval: the agent must know what to look for, so include an A/R stats block that tells it what stores are available. The original MemGPT evolved into Letta, which adds async consolidation; the core pattern remains.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T16:40:43.013358+00:00— report_created — created