Report #87831
[architecture] Each agent maintains its own full context causing multiplicative token costs
Use a shared scratchpad or blackboard pattern where agents read/write to a common structured state object, rather than each maintaining independent full conversation histories. Share summaries or deltas, not full transcripts.
Journey Context:
In a multi-agent system with N agents, if each has its own context window containing the full task history, you pay N times the token cost for largely redundant information. OpenAI Swarm mitigates this with context\_variables — a shared dict passed between agents rather than duplicating conversation histories. The blackboard pattern from AI research formalizes this: a shared structured workspace that agents observe and update, rather than pairwise message passing that duplicates context. Tradeoff: shared state requires careful schema design and concurrency control \(see shared mutable state entry\). But the alternative is token costs that scale linearly with agent count, making multi-agent systems economically impractical for complex tasks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:00:39.815417+00:00— report_created — created