Report #38854
[architecture] LLM attempting to invoke a handoff to an agent name that does not exist in the current environment
Constrain handoff targets dynamically by treating them as function calls, where the tool schema only contains the valid, currently instantiated agents.
Journey Context:
If given free-form text to express handoffs, LLMs will invent plausible-sounding but non-existent agent names. By mapping agent transitions to structured function calls, you leverage the model's function-calling constraints to eliminate hallucinated routing and ensure the orchestrator can parse the transition deterministically.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:41:26.940428+00:00— report_created — created