Report failures the coordinator can use
Trace where an error was hidden or over-escalated in a multi-agent run, and choose a subagent error report (failure type, what was tried, partial results, alternatives) that lets the coordinator recover.
Scenario
Scenario: Multi-Agent Research System. Your research system delivers a cited report on heat-pump subsidies in the Nordic countries. One line reads: "No subsidy programmes were found for Norway."
Norway has several. The web search subagent's queries to the statistics portal timed out, the subagent returned an empty list marked as success, and every agent after it did its job correctly with wrong input.
Explanation
In a coordinator-subagent system an error travels: tool → subagent → coordinator → synthesis → report. At each hop it can be hidden or blown up, and both are failures.
Two anti-patterns:
- Silent suppression. The subagent catches a timeout and returns an empty result as success. Downstream, "the query failed" becomes "there is nothing to find", a false finding with nothing to flag it.
- Over-escalation. The subagent returns a generic "search unavailable", or one failed source stops the whole run. The coordinator can't tell a transient blip from a dead source, so it either gives up or repeats everything.
An access failure is not an empty result. A timeout means we don't know: retry, or try another source. A successful query with zero matches means we looked and found nothing: a finding in its own right. The report must make the two impossible to confuse. At the tool level, that is is_error: true on the tool result, with an instructive message rather than "failed".
Recover locally, propagate the rest. The subagent retries transient failures (a timeout, a rate limit) itself. Only what it cannot resolve goes up, and then as a structured report:
| Field | Lets the coordinator |
|---|---|
| Failure type (timeout, auth, not found, invalid query) | choose: retry, switch source, or accept the gap |
| What was attempted (queries, sources, retries) | avoid repeating it |
| Partial results | keep what did work |
| Alternatives | re-delegate without guessing |
Carry the gap to the end. If a source stays unreachable, synthesis still runs, and the report says which findings are well supported and which topic areas have gaps because sources were unavailable. Anthropic's research-system team found that telling the agent a tool is failing and letting it adapt works well, combined with deterministic retries; restarting from scratch is expensive.
Worked example
Before: what the search subagent returned for Norway.
{ "status": "ok", "results": [] }
The coordinator reads this as a complete, empty search. Even the honest alternative, {"status": "error", "message": "search unavailable"}, says nothing about what to do next.
After: the same failure, reported so the coordinator can act.
{
"status": "failed",
"failure_type": "timeout",
"retryable": true,
"attempted": [
"ssb.no subsidies, 3 tries over 40 s",
"enova.no programmes, 1 try"
],
"partial_results": [
{ "claim": "Enova grant scheme exists",
"source": "enova.no", "date": "2024-03" }
],
"alternatives": ["Nordic Energy Research datasets"]
}
The coordinator can now keep the Enova finding, re-delegate to the alternative source, and if that fails too, tell synthesis that Norway's coverage is partial.