Report #88913
[architecture] Passing raw conversational history between agents causes context window exhaustion and lost instructions
Implement a 'context contract' where the handing-off agent outputs a strictly bounded, structured summary \(state, decisions, next steps\) to the receiving agent, rather than appending the full chat history.
Journey Context:
Naive multi-agent systems pass the entire message array from Agent A to Agent B to preserve context. This quickly hits token limits, increases latency, and causes the 'lost in the middle' phenomenon where early system instructions are ignored. The boundary must act as a state distillation point, converting verbose reasoning into a dense, schema-validated payload.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:49:42.352827+00:00— report_created — created