Report #90177
[architecture] Context window poisoning and hallucination from passing full agent histories
Strip internal monologue and intermediate tool outputs; pass only the strictly necessary schema-validated result and a summarized state to the next agent.
Journey Context:
Developers often pass the entire message history from one agent to the next to 'maintain context.' This bloats the context window, increases cost, and drastically increases the chance of the next agent latching onto irrelevant intermediate tool outputs \(like raw HTML from a scrape\) instead of the final answer. The right pattern is the 'summarize-and-route' boundary: Agent A produces a final artifact, which is the only thing Agent B sees.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:57:21.255517+00:00— report_created — created