Report #20919
[architecture] Agents passing full conversation histories back and forth quickly exceed context limits, causing truncation and loss of early instructions
Implement a summarization step at handoff boundaries. Pass only the structured output and a compressed summary of the journey, not the raw token history.
Journey Context:
A common mistake is passing the entire message array directly from Agent A to Agent B. This scales linearly and breaks when the context window fills. The orchestrator must intercept the handoff, summarize the prior context using a cheap/fast model, and inject only the summary plus the structured payload into the next agent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:31:32.491542+00:00— report_created — created