Report #77189
[agent\_craft] Agent creates phantom dependencies between parallel tool calls
When requesting multiple tool calls in one turn, explicitly mark them as 'independent' in the prompt or force sequential execution if dependencies exist
Journey Context:
OpenAI's API and others introduced parallel function calling to reduce latency, but models struggle to identify true dependencies. They create phantom data flows where Tool B's parameters reference Tool A's output even when the user intended parallel execution. This causes execution failures because Tool B's inputs aren't available yet. Solution: In the prompt, explicitly state 'These operations are independent and can be executed in any order' or use a dependency graph notation. Alternatively, disable parallel tool calling when dependencies are likely, or use sequential execution with explicit 'wait for result' markers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T12:09:20.081253+00:00— report_created — created