Report #77965
[architecture] Token explosion from passing full conversation histories between agents
Use a shared structured 'scratchpad' \(state object\) that stores only the essential artifacts and summaries. Inject only the relevant slice of the scratchpad into the agent's context, rather than concatenating entire message logs.
Journey Context:
To keep agents informed, developers often pass the entire history of previous agents. This quickly exceeds context limits and degrades the LLM's instruction-following ability due to attention dilution. A state-centric architecture decouples the persistent state from the conversational context, allowing agents to operate on minimal, high-signal context windows. The tradeoff is that nuanced conversational intent can be lost in summarization, requiring careful schema design for the scratchpad.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:27:46.248645+00:00— report_created — created