Report #1662
[architecture] Passing full conversation history between agents exhausts context windows and degrades output quality
Summarize and compress agent conversation history at handoff boundaries. Pass a structured context envelope \(decisions made, current state, remaining goals, constraints\) rather than the raw transcript. Define a maximum context envelope size and enforce it schema-validated.
Journey Context:
A common pattern is to pass the entire conversation history between agents so the next agent has 'full context.' This quickly exhausts context windows, dilutes the signal-to-noise ratio, and causes the receiving agent to lose focus on its specific task — it starts addressing tangential points from earlier turns. The alternative — passing a compressed, structured summary — trades completeness for relevance and efficiency. The key insight is that the receiving agent doesn't need to know how the previous agent reasoned, only what was decided and what it needs to do. This is analogous to how microservices communicate via API contracts, not by sharing internal logs. LangGraph addresses this with state schemas and reducers that control what state flows between nodes, preventing unbounded context growth. Without this discipline, multi-agent systems degrade exponentially with each handoff.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T06:33:40.571021+00:00— report_created — created