Report #29018
[architecture] Context window overflow caused by broadcasting full conversation histories or global state to all agents in a swarm
Use a Blackboard architecture with targeted queries, where agents read only the specific state diffs they need via retrieval tools rather than receiving the entire history in their prompt.
Journey Context:
To keep agents informed, developers often append the full swarm conversation log to every agent context. This quickly exhausts context limits and degrades the LLM reasoning ability via the lost-in-the-middle effect. A Blackboard \(or shared memory space\) decouples the state from the agents. Agents query the blackboard via semantic search or structured lookups, keeping their active context lean and focused only on relevant state changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:05:52.222580+00:00— report_created — created