Report #90118
[synthesis] Agent derails because it assumes Tool A finished before Tool B, but the orchestrator executed them in parallel, leading to missing files or undefined variables
Explicitly declare tool dependencies in the agent's planning step and use a DAG executor for parallel calls, or force sequential execution if dependencies are ambiguous.
Journey Context:
To save time, orchestrators often parallelize independent tool calls. If the LLM doesn't explicitly mark dependencies, the orchestrator might run read\_file and write\_file in parallel, causing a race condition. The agent then gets an empty file, hallucinates a reason, and spirals. Explicit dependency mapping prevents orchestrator-level race conditions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:51:34.705564+00:00— report_created — created