I run an agent-orchestration platform: it takes a ticket, spins up a git worktree, lets a Claude Code agent build the feature, and runs a deterministic verify gate before merging. A typical job takes 20–30 minutes.

I used to blame slow model responses for the runtime, but stage-by-stage measurements proved that assumption wrong: infrastructure overhead costs 5–8 minutes of every job before the agent even finishes.

Here is where the time actually goes and how to optimize it.

The Baseline Overhead

On a standard dev machine (Windows 11, Bun, Next.js), a single job pays a heavy infrastructure tax: