Report #34967
[architecture] Context window exhaustion from passing full chat history between agents
Pass artifacts \(structured data, file paths, summaries\) rather than raw conversational context during agent handoffs. Use a shared short-term memory store indexed by IDs, not raw text dumps.
Journey Context:
Naive multi-agent systems pass the entire chat history from Agent A to Agent B so B 'has context.' This quickly hits token limits, increases latency, and degrades performance as the LLM gets lost in irrelevant prior turns. The alternative is passing only the distilled artifact of the previous step plus the current directive, treating agents as stateless workers interacting with a shared artifact store.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:09:50.028182+00:00— report_created — created