Report #96815
[synthesis] Agent loop hangs or executes sequentially when expecting parallel tool call arrays
Design the orchestrator to handle both single-tool and multi-tool arrays per turn. Explicitly prompt Claude to call independent tools together, as it defaults to sequential. For GPT-4o, parallel calling is native and requires no prompting.
Journey Context:
GPT-4o natively supports and eagerly utilizes parallel tool calls, returning an array of tool calls in a single assistant turn for independent actions. Claude 3.5 Sonnet historically defaults to sequential execution, returning one tool call per turn, even if multiple are independent. Agents built on GPT-4o's parallel array expectation will hang waiting for multiple tool results on Claude, while agents built for Claude's sequential behavior waste turns on GPT-4o. You must explicitly instruct Claude: 'If multiple tools are independent, call them in the same block' to mimic GPT-4o.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:05:20.288506+00:00— report_created — created