Report #85507
[frontier] Agent loses context in long-horizon tasks due to naive RAG and implicit truncation
Implement tiered memory as MCP servers: expose L1 \(working memory\), L2 \(vector cache\), and L3 \(knowledge graph\) via separate MCP resources, and use explicit 'context budgeting' tools that the agent calls to page data between tiers rather than stuffing text into the prompt.
Journey Context:
Naive RAG flattens relational knowledge into chunks, destroying structure needed for multi-hop reasoning, while implicit truncation causes silent data loss. The breakthrough is treating memory not as a retrieval function but as a hierarchical storage system exposed via MCP, where the agent explicitly manages its own context window like an OS virtual memory manager. This prevents 'context thrashing' in long-running tasks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:06:23.371388+00:00— report_created — created