Subdomain 1.2: Orchestrate multi-agent systems with coordinator-subagent patterns
1.An architect reviews a multi-agent research assistant and finds that each subagent independently implements its own retry logic, logging format, and rate-limit backoff, leading to inconsistent behavior across the system. Which change best aligns this design with the hub-and-spoke coordinator pattern's intended benefits?
- A.Standardize the retry logic across subagents by copying the identical code into each subagent's own system prompt
- B.Remove logging and retry logic from subagents entirely, since coordinator-based systems should never retry failed subtasks
- C.Assign one subagent the role of monitoring the others' retries and logs so the coordinator need not track failures
- D.Centralize error handling, logging, and retry policy in the coordinator so all subagent communication stays consistent
Show answer & explanation
Correct answer: D — Centralize error handling, logging, and retry policy in the coordinator so all subagent communication stays consistent
- A. Duplicating the same retry code into every subagent's prompt still leaves the logic scattered across subagents rather than centralized, and prompts are an unreliable place to enforce consistent behavior.
- B. Retries are still a valid and often necessary response to transient failures; the issue is inconsistency across subagents, not that retrying should never happen.
- C. Delegating monitoring to another subagent adds an extra hop and still requires the coordinator to route information, rather than handling error management where communication naturally converges.
- D. Correct. The coordinator manages all inter-subagent communication and error handling in the hub-and-spoke pattern, so centralizing retry, logging, and backoff policy there produces consistent, observable behavior across the system.