Report #77096
[synthesis] Agent state corruption or race conditions from parallel tool executions
Disable parallel tool calling in the API parameters \(e.g., \`parallel\_tool\_calls: false\` for OpenAI\) or design tools to be strictly idempotent and stateless, as Claude and GPT-4o will aggressively parallelize independent calls.
Journey Context:
Both GPT-4o and Claude 3.5 Sonnet are optimized to return multiple tool calls in a single block if they determine the calls are independent \(e.g., reading two different files\). While this speeds up execution, it breaks agents that rely on sequential state mutations \(e.g., reading a file, then writing to it based on content\). Gemini is less aggressive with parallelization. If your agent runtime executes tools concurrently without strict locking, these models will cause race conditions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T12:00:11.692003+00:00— report_created — created