A multi-agent run needs a controller-owned lifecycle: dispatch, deadline, result validation, conflict resolution, effect review, and final release. Give each specialist a retry limit and idempotency plan for tool effects; a timeout does not prove a request failed before its side effect. For read-only tasks, one retry on a fresh snapshot may be acceptable. For writes, inspect the action receipt before retrying. If a required specialist misses the deadline, issue a partial answer with named limits or stop, according to the task contract. Keep correlation IDs from the controller through each specialist and tool event, then evaluate the whole trajectory rather than grading only the final prose.
Specialist workflows: bound retries and review the full trace
Operational case
The parcel controller sets a 45-second limit per specialist and a two-minute overall deadline. Telemetry and release review return on time; customer review stalls after a support-search request. The controller does not invent a customer-impact number. It marks SUP-41 unverified, provides observed metric and config findings, and asks an operator to inspect support data before customer claims are released. A proposed rollback remains blocked: the reviewers have a plausible mechanism but no approved change request or rollback receipt. In an evaluation replay, the team scores timeout handling, evidence-version alignment, prohibited write attempts, and final wording separately.
Run ID: IR-672; overall deadline 120 seconds.
Required: telemetry + release; optional: redacted customer tags.
Timeout: mark missing packet; no guessed customer impact.
Write effect: none authorized; do not attempt rollback.
Release: facts cited; hypothesis labeled; gaps and next check named.Performance and operating cost
With K independent agents, total model tokens are approximately the sum of each run plus controller synthesis, while wall time is bounded by the slowest required run and merge. A retry adds another run's cost and may duplicate a side effect unless the runtime checks receipts or idempotency keys. Trace review is O(T) in recorded events for a linear pass, but analyzing causal dependencies can take more work. Set deadlines from user value, not arbitrary prompt impatience. A bounded partial answer may be more useful than waiting indefinitely, provided its missing evidence and action limits are explicit.
Common Mistakes
- Do not retry an ambiguous write without checking whether it already happened.
- Do not let the final answer hide a timed-out required specialist.
- Do not grade only fluent final prose while ignoring forbidden tool attempts.
Connected lessons
- Production prompt engineering
- Prompt Engineering
- Tool loops: set budgets, state checks, and a stopping condition
- Tool effects: reconcile receipts before retrying
- Prompt traces: connect an answer to its inputs, checks, and effects
- Specialist agents: prove that delegation earns its cost
- Specialist task packets: scope evidence and authority explicitly
- Parallel agents: isolate state and assign one writer
- Specialist synthesis: merge claims, not fluent summaries
- Project: coordinate a parcel-platform incident review
- Specialist-agent coordination decisions
