Report #68685
[architecture] Agents passing full conversational history back and forth exhaust the context window and leak sensitive data across trust boundaries
Implement context summarization or state compression at the boundary. Only pass the structured output and a distilled summary of the prior step, not the raw token history.
Journey Context:
Developers often just append messages from Agent A to Agent B's prompt. This is expensive, hits token limits quickly, and violates least-privilege \(Agent B should not see Agent A's system prompt\). The fix is strict message filtering and summarization. Tradeoff: summarization loses nuance, but it is required for long chains.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:46:17.395027+00:00— report_created — created