Report #11681
[architecture] Context window overflow and instruction bleed when handing off between agents
Do not pass full conversation history during handoffs. Transfer only the minimal required state \(e.g., task variables, current step\) via a structured context dictionary.
Journey Context:
When Agent A hands off to Agent B, sending A's entire history includes A's system prompt, few-shots, and irrelevant tangents. B might get confused, try to act like A, or hit token limits. Architectures that pass only a context\_variables dictionary and the last relevant message treat the handoff as a clean function call rather than a thread merge, preserving B's isolated context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T14:07:07.006045+00:00— report_created — created