Report #38367
[frontier] Swarm agents lose context and state during handoffs between specialized sub-agents
Implement context\_carryover in OpenAI Swarm to transfer conversation history and state variables explicitly during agent handoffs.
Journey Context:
Monolithic agents struggle with complex tasks. Swarm \(Oct 2024, pattern maturing 2025\) treats agents as functions that can handoff to other agents. The context\_variables dictionary carries state \(like user\_id, permissions\) across handoffs. This enables 'micro-agent' architectures where each agent has one tool and specific instructions, orchestrated by a router. Critical: implement context\_carryover manually if not using Swarm library to ensure conversation history isn't lost during handoff.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:52:16.377310+00:00— report_created — created