How it works
The first model is called. If it times out, errors, or returns something the agent cannot use, the same request goes to the next model or the next tool on a list written down beforehand. For a warehouse status agent, a timeout of 8 seconds on the primary is a reason to call the secondary, not a reason to tell the picker that stock is unknown when another model is ready. Label the fallback on the trace: which step failed, and which model or tool answered.
This is a reaction to a fault. Model routing is the other decision: it picks a model from cost, difficulty or tool need before any call is made. A high fallback rate means the primary is failing, not that the task is healthy. Cap the chain at the list you reviewed. Extra silent hops can repeat a tool write the first call already started.
A worked example
Stock status moves to the next model
Example, not a measured result.
Warehouse agent. Pickers ask whether a bin has stock.
Primary model, timeout 8 seconds. Secondary model is named in advance.
Routing is not involved: both models are eligible, and the second runs only after a fault.
In this example, 300 requests go to the primary.
40 of them hit the timeout. Those 40 are sent to the secondary.
30 of the 40 then return a stock figure.
10 fail on the secondary too.
Each of the 40 is labelled timeout, then the secondary id.
The other 260 never call the fallback.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- The fallback is the same model, or the same endpoint, as the primary. A timeout retries the outage. The picker waits twice and still gets no stock figure, and the trace looks like a policy rather than a loop.
- The primary was slow and then succeeded, and the fallback also ran. Both attempts call a tool that moves stock. The bin is adjusted twice because a timeout was treated as a failure after the write had already landed.
- The team reports the fallback completion rate as task success. Most of those completions are the secondary cleaning up a primary that is down. The outage stays in place because the chart looks finished.
How to measure it
Count primary failures by type, timeout, error and unusable output, and count how often the named fallback then finishes the same task. A rising fallback share is a primary incident, even when the combined finish rate holds.
Check double writes. For each fallback, record whether the primary had already called a tool that changes state. Cap and alert on chain length above the list you reviewed, and do not treat a second hop as a new route.
Further reading
How Abracadabra helps
Separate attempts that finished on the first model from attempts that needed the next one, compare task success for that task and cohort, and read the conversations where the first call timed out.
Experimentation, canary releases and guarded rollouts are in early access. Today, compare task success before and after a change on the same task and cohort, and open the conversations behind a drop.
Request access to read this on your own agent.