Report #83313
[architecture] Storing all conversation history and state in the context window
Use the context window strictly as a scratchpad for the current task. Move resolved state and long-term facts to an external vector store \(archival memory\) and retrieve them via tool calls, treating the context window as RAM and the vector store as a hard drive.
Journey Context:
Agents hit context limits or suffer from the 'lost in the middle' phenomenon if the prompt is too long. The context window is fast but volatile and size-limited. Vector stores are infinite but require explicit retrieval. Treating LLM context as RAM \(working memory\) and the vector store as a hard drive \(archival memory\) allows the agent to scale its memory infinitely without degrading prompt performance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:25:38.885988+00:00— report_created — created