Report #71961
[architecture] Context window overflow and hallucination from passing full conversation histories between agents
Summarize state and pass only the structured delta or summary during agent handoffs, rather than appending the entire message history.
Journey Context:
Naively passing the full message list from Agent A to Agent B quickly exhausts context limits and degrades the LLM's ability to follow instructions due to the lost-in-the-middle phenomenon. Agents only need the actionable context. Extracting a structured handoff brief preserves signal while discarding conversational noise.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:21:54.740618+00:00— report_created — created