Scaling · 2026-10-22

Asked to review the UX of one module, an agent started 826 sub-agents and spent $78,000 with no result.

  1. AAsk the agent at the end of each run to estimate and report how much it probably spent
  2. BUse a cheaper model for the sub-agents so the same fan-out costs less next time
  3. CCap parallel agents and set a budget that stops the run
  4. DForbid sub-agents entirely, because a single agent can never run up a bill that large

Answer: C

Cap parallel agents and set a budget that stops the run

Why

A report after the fact or a cheaper model only changes how much the same mistake costs. A hard cap on how many agents run and a budget that halts the run turn an open-ended bill into a known maximum.

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