A multi-agent prompt workflow splits a task into specialist runs whose results must be combined by a controller. The extra agents do not create independent truth; they create separate context, tool calls, and failure paths. Begin with a single-agent baseline on the same task and acceptance checks. Delegate when the task has separable evidence sets, distinct tool permissions, or parallel work whose output can be reconciled. Keep sequential dependencies sequential. Set a maximum number of agents, tool calls, tokens, and elapsed time before dispatch. Compare answer quality, completeness, cost, and wall-clock latency on held-out cases; a faster-looking demonstration is not a release argument.
Specialist agents: prove that delegation earns its cost
Operational case
A fictional parcel platform has an elevated error rate after a release. Its controller can ask one agent to read the incident packet, or ask three bounded specialists to inspect telemetry, the release diff, and customer contacts. The baseline answers the causal question in 44 seconds with one missing caveat. The three-specialist run returns in 31 seconds but consumes more total model tokens and still needs a merge review. A second case with only one log excerpt takes 19 seconds in the baseline and 28 seconds with delegation. The workflow therefore routes small cases to one agent and sends only cases with independent evidence sets to specialists. Both paths face the same factual and authorization checks.
Route to specialists only if: evidence sets are separable AND each packet has an owner.
Baseline: one agent, same input and acceptance checks.
Budget: at most 3 specialists, 1 retrieval pass each, 2-minute wall clock.
Reject multi-agent gain claims without case-level quality, token, and latency data.Performance and operating cost
If independent runs take durations T1 through Tk, ideal parallel wall time approaches max(Ti) plus dispatch and merge time; total model work still grows roughly with the sum of per-agent tokens. Rate limits, shared-tool contention, and a slow specialist can erase the latency gain. A sequential chain costs approximately the sum of its stages. The controller should not spawn an agent to restate a fact it already has. Measure quality against the same held-out cases, including cases where specialists disagree or a required result arrives late.
Common Mistakes
- Do not equate more agents with more reliable evidence.
- Do not compare a parallel run against an easier single-agent task.
- Do not parallelize a step that requires another agent's verified result.
Connected lessons
- Prompt engineering applications
- Prompt Engineering
- Prompt decomposition: split stages at verifiable handoffs
- Tool plans: separate independent reads from dependent actions
- Prompt budgets: trade output quality against cost and tail latency
- Specialist task packets: scope evidence and authority explicitly
- Parallel agents: isolate state and assign one writer
- Specialist synthesis: merge claims, not fluent summaries
- Specialist workflows: bound retries and review the full trace
- Project: coordinate a parcel-platform incident review
- Specialist-agent coordination decisions
