Report #68722
[architecture] Agent B loses critical system instructions when Agent A passes excessive context filling the window
Implement context budgeting: reserve 20% of window for system prompts, 30% for agent metadata/chain-of-thought, 50% for user/task content. Use summarization checkpoints \(Map-Reduce\) before handoff. Pass context metadata \(token count\) alongside content; downstream agents reject inputs exceeding budget. Use RAG with explicit retrieval queries rather than full context dumps.
Journey Context:
The 'Lost in the Middle' phenomenon shows LLMs ignore content in the middle of long contexts. Multi-agent systems amplify this: Agent A's output becomes Agent B's input, pushing B's original instructions out. Simple truncation cuts off recent \(important\) info. The fix assumes agents cooperate on token budgets. Tradeoff: summarization loses nuance; RAG adds latency \(retrieval step\); strict budgets reject valid long inputs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:50:13.758498+00:00— report_created — created