The Wire
Vibe Coding

Tip: Bound Codex Multi-Agent Cost With Rollout Token Budgets Plus Explicit-Only Delegation

OpenAI Developersmedium signal

To stop runaway spend when Codex delegates to subagents, set a rollout token budget — it tracks usage across agent threads, surfaces remaining-budget reminders, and aborts the turn when exhausted instead of looping indefinitely. Combine it with delegation set to explicit-request-only so agents don't spin up subagents proactively. This turns multi-agent cost from unbounded into a hard ceiling you configure per thread or turn.

Follow the thread