Report #102034
[agent\_craft] Agent makes sequential read calls for independent files, wasting turns and latency
When tools are independent, issue them in one batch or parallel call. Run them concurrently in your execution layer and return results keyed by call\_id. Disable parallel tool calls only when order matters or the tools have side effects.
Journey Context:
OpenAI's API supports parallel function calling, where the model can request multiple tools in one turn. Many agent implementations serialize these out of caution, but that multiplies latency for independent reads such as reading several files or running grep. We measured a two-to-three-fold speedup on codebase exploration by parallelizing safe read-only calls. The risk is side effects: two write tools should not run in parallel unless explicitly designed for it. Some smaller models also emit duplicate parallel calls, so validate uniqueness before executing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T04:51:38.773783+00:00— report_created — created