Report #40838
[architecture] Passing entire conversational history between agents causes context window overflow and attention dilution
Pass only the structured output contract and a distilled summary of the previous state, using a 'blackboard' pattern where agents read from and write to a shared state store rather than passing raw message arrays sequentially.
Journey Context:
It is tempting to append Agent A's raw output to Agent B's prompt. By Agent D, the context is huge, expensive, and the LLM ignores early details \(lost in the middle\). By forcing agents to write to a structured state and only read what they need, you preserve context limits and improve accuracy. Tradeoff: Requires careful schema design for the shared state; agents lose access to subtle nuances from the raw text.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T23:01:04.806578+00:00— report_created — created