Report #76818
[synthesis] Agent loops or deadlocks when executing multiple tool calls in parallel
Explicitly instruct the model on dependency resolution or force sequential execution in the agent loop for Claude/Gemini, while allowing GPT-4o to natively parallelize independent calls.
Journey Context:
GPT-4o natively emits multiple tool calls in a single block if they are independent. Claude 3.5 Sonnet can parallelize but often sequences them if there's even a subtle logical dependency, leading to half-executed states if the agent framework assumes parallel. Gemini often fails to parallelize unless explicitly told 'call these at the same time'. Agent frameworks often assume GPT-4o's behavior as the default, causing deadlocks or state corruption in Claude/Gemini when the framework forces parallel execution on logically sequential model outputs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:32:03.043963+00:00— report_created — created