Orchestration · 2026-10-04

Each sub-step has its own 60-second timeout, but the whole job must answer within 90 seconds.

  1. AGive the JOB a deadline and pass the REMAINING budget down to every step
  2. BRaise every step’s timeout to 90 seconds for consistency
  3. CDrop the per-step timeouts and time only the whole job
  4. DRun all the steps in parallel so the total cannot exceed 60 seconds

Answer: A

Give the JOB a deadline and pass the REMAINING budget down to every step

Why

A per-step limit knows nothing about the promise you made to the caller: three steps of 40 seconds each break a 90-second promise while every step is «within timeout». Only a shared, shrinking budget can. Parallelism helps when steps are independent - it is not a way to satisfy a deadline you never expressed.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path