Report #27398
[frontier] Multi-agent infinite handoff loops where agents bounce a task back and forth without progress
Implement a handoff depth counter and strict state mutations. When an agent hands off to another, it must append a progress\_delta to the shared state. If a handoff occurs without state mutation or exceeds the depth limit, route to a fallback triage agent or terminate.
Journey Context:
In topologies like OpenAI Swarm or AutoGen, agents often delegate to each other. A common failure mode is Agent A delegates to B because it lacks a tool, B does some work but cannot complete fully, and delegates back to A. This happens because handoffs are treated as function calls rather than state transitions. The tradeoff is adding strictness vs. flexibility. By enforcing state mutations on every turn, you guarantee forward progress at the cost of slightly more complex agent implementations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:23:08.429037+00:00— report_created — created