Report #8620
[architecture] Passing full conversation histories between agents causes exponential token growth and instruction cross-contamination
Maintain a centralized state graph or scratchpad. Pass only references \(like thread IDs or state diffs\) between agents, and use reducers to update the global state without sharing full monolithic histories.
Journey Context:
A common mistake is treating agent handoffs like human CC'ing on an email, passing the entire chat history. This blows up token limits and causes the receiving agent to inherit irrelevant instructions or few-shot examples from the previous agent. A shared state graph with scoped access allows agents to read only the specific keys they need and append their results, keeping context windows lean and focused.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T06:06:18.745474+00:00— report_created — created