Report #101130
[architecture] Context window is not memory — treating it like a database eventually breaks recall, cost, and latency
Use the context window only as a scratchpad for the current turn; persist observations to an external store and retrieve the top-K relevant records on demand.
Journey Context:
LLMs are stateless and the context window is finite, expensive, and prone to 'lost in the middle'. The classic beginner mistake is appending every prior message until the prompt explodes. MemGPT formalized the OS analogy: main context = RAM, external store = disk, with explicit function-call paging between them. Pure summarization saves tokens but loses specifics; vector retrieval keeps detail without bloating every prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:01:57.317898+00:00— report_created — created