Report #22317
[architecture] Agent runs out of context window trying to hold all instructions and history
Partition memory into 'Core Memory' \(in-context, mutable blocks for identity and current state\) and 'Archival Memory' \(out-of-context vector store for facts/logs\). Use explicit tool calls to search and insert between them.
Journey Context:
Treating the context window as an unstructured dump leads to hitting limits and losing critical instructions. The MemGPT pattern introduced OS-like virtual memory management: Core memory is RAM \(fast, limited, explicitly edited by the agent\), Archival is disk \(large, requires search\). This allows the agent to manage its own context window proactively.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T15:52:05.401718+00:00— report_created — created