Report #92205
[architecture] Passing full chat history between agents causes context window exhaustion and noise pollution
Implement context distillation: pass only the structured output contract and a distilled summary across agent boundaries, not the raw conversational context.
Journey Context:
Developers often pass the messages array directly from Agent A to Agent B. This includes A's internal thoughts, failed tool calls, and irrelevant context. B gets confused and runs out of tokens. Agents should communicate via clean APIs \(structured outputs\), not raw conversation logs. Tradeoff: loses some nuance from the history, but preserves context window and focus.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T13:21:25.859963+00:00— report_created — created