Report #46896
[architecture] Context window overflow from passing full history between agents
Use a structured shared state object \(e.g., a JSON dictionary\) with selective field projection. Only inject the specific state variables required for the next agent's task, rather than the entire conversational history.
Journey Context:
A common mistake is treating multi-agent systems like group chats where every agent reads the full transcript. This fills context windows with irrelevant system prompts and tool outputs from other agents, degrading performance and increasing costs. The tradeoff is that selective projection requires upfront schema design, but it preserves context windows for actual reasoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:11:09.805142+00:00— report_created — created