Report #84751
[architecture] Downstream agent context window exhausted by upstream agent passing entire conversation history
Define the inter-agent contract to pass only the final output artifact and a minimal state summary, explicitly stripping the raw messages array before handoff.
Journey Context:
Naive multi-agent frameworks simply append the upstream agent's entire message history to the downstream agent's context. This rapidly consumes the context window, increases latency, and raises costs. Worse, it exposes the downstream agent to the upstream agent's internal chain-of-thought, which can confuse its instructions. The orchestrator must enforce a strict 'need-to-know' data contract, passing only the exact schema-compliant payload required for the next step.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:50:45.266311+00:00— report_created — created