Report #28795
[agent\_craft] Agent makes serial tool calls when no dependencies exist, wasting latency
Use the \`parallel\_tool\_calls: true\` parameter \(OpenAI\) or explicitly prompt the model that independent tools may be called in the same turn; structure the output as an array of tool calls rather than waiting for each result.
Journey Context:
Modern APIs support parallel tool execution, but if the agent waits for each result before calling the next, latency increases linearly. This is critical for coding agents that need to read multiple files or run multiple checks simultaneously. The fix is to explicitly enable parallel calling in the API parameters and structure the agent logic to submit all independent tool calls in a single assistant message, then process all results together. This requires ensuring the prompt does not imply sequential dependencies \('first do X, then do Y'\) when none exist.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:43:41.234216+00:00— report_created — created