Study FAQ
How should a Claude coordinator handle a failed or incomplete subagent task?
Also asked as 2
- What should a Claude coordinator do when only one delegated branch fails?
- How can a Claude multi-agent run recover a failed worker without repeating successful work?
Answer
Track each delegated deliverable separately. If one Claude subagent fails or finishes with partial evidence, retain the verified outputs of the successful branches and decide whether the missing branch blocks the user’s outcome. A required missing input calls for a bounded retry, an alternative allowed source, or escalation. A nonessential gap can be disclosed in a partial result.
Set the worker’s scope and expected evidence at dispatch. On return, check whether the branch completed, what evidence it gathered, and whether its result meets the agreed criteria. For SDK background work, a launch acknowledgment means the report is still pending. Use the completion signal before integrating that branch.
Choose retry policies at the coordinator. If workers can affect the same state, serialize or otherwise coordinate writes and check their external effects before repeating them. Reserve part of the overall time and spend budget for verification and synthesis. An exhausted budget or denied operation is a reason to reassess the remaining task, not to give another worker broader access.
Agent SDK subagent execution and errors · Agent SDK budget enforcement · Anthropic’s agent design patterns
Full explanation
Delegation and Subagent Orchestration for Claude Systems
Study guide · CCAR-F
Read the full explanation