Report #2503
[architecture] Passing full conversation history between agents exhausts context windows
Use a shared state dictionary \(like context\_variables\) and pass only references or deltas between agents, fetching state lazily.
Journey Context:
Naive multi-agent systems append all messages to a single growing list or pass the entire history during a handoff. This quickly hits token limits and increases latency/cost. By externalizing state into a key-value store and passing a context reference, agents remain lightweight. The tradeoff is that agents lose implicit context from prior conversations, meaning state must be explicitly injected into system prompts, but this explicitness prevents hallucinated context and saves tokens.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T12:34:31.200885+00:00— report_created — created