Report #88750
[agent\_craft] Agent executes dependent tool calls in parallel, causing race conditions \(e.g., read before write\)
Disable parallel tool execution when the tool set includes data dependencies; enforce sequential execution by setting \`parallel\_tool\_calls: false\` \(OpenAI\) or setting \`tool\_choice\` to force single calls, analyzing the DAG of tool dependencies before execution.
Journey Context:
Parallel calling improves latency for independent ops \(fetching weather \+ news\), but causes failures when tool B requires tool A's output \(write file then read file\). The fix is dependency analysis: if tool descriptions indicate state mutation, force sequential mode. Some frameworks \(LangGraph\) model this explicitly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:33:16.733415+00:00— report_created — created