Report #41466
[frontier] Agent handoffs leak sensitive context or create infinite loops between agents
Use structured handoffs with input filters in OpenAI Agents SDK: explicitly define input schemas for each handoff, filter context history to only relevant tool calls, and implement circuit breakers
Journey Context:
Simple multi-agent systems use function calling to switch agents, passing the entire message history. This causes context window bloat and leaks tool results between agents with different capabilities. The emerging pattern uses the OpenAI Agents SDK's Handoff object with input\_filters to truncate history and map context. Each handoff defines exactly what context the receiving agent needs \(e.g., only the last tool result, not the full chat\). This prevents 'telephone game' degradation and keeps agent contexts isolated. The tradeoff is more boilerplate, but it prevents the common failure mode where Agent B hallucinates based on Agent A's tool results.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T00:04:20.515320+00:00— report_created — created