SecondChance: Benchmarking Reliable Error Recovery in AI Agents

Atahan Dokme, Adar Avsian, Larry HeckarXiv 2026

TL;DR

When AI agents use real-world tools, they inevitably make silent mistakes—like sending a duplicate payment or flipping a switch on the wrong user's account. SecondChance is a new benchmark that freezes agent sessions right after a natural mistake occurs and tests how different models clean up the mess. Across 5,760 runs, complete recovery turns out to be exceedingly rare: even the best model succeeds just 16% of the time on its own, revealing that finishing a task is very different from actually fixing your mistakes.

What Problem Does This Paper Address?

Picture an AI agent acting as a telecom customer service rep. A user asks to turn on international roaming while traveling in France. The agent calls the enable_roaming API, gets a 200 OK "Success!" message, and moves on. There’s just one problem: it enabled roaming on line 555-123-2001, while the user’s phone number is 555-123-2002.

Standard agent benchmarks start from a clean slate and mostly check whether the user’s final goal was met. If our agent eventually enables roaming on 2002, a naive evaluator gives it a gold star—completely ignoring the stranger on 2001 who now has roaming turned on without their knowledge.

Meanwhile, existing error-recovery benchmarks usually rely on injected faults, like forcing an API to throw a 500 Server Error. Those errors loudly announce themselves. Natural agent mistakes are far more insidious because the tool call technically succeeds. Furthermore, comparing how different models recover is tricky because different models make different mistakes at different times. Before SecondChance, we lacked a controlled way to put multiple agents in the exact same realistic mess and ask: Do they notice? Can they undo the damage? Do they tell the user? And was the mistake even fixable in the first place?

Methods

Instead of inventing synthetic bugs, the authors harvested real, unforced state-changing errors made by ten open-weight models during actual task attempts. They froze and verified the exact conversation history and database state right after each mistake, creating shared, replayable checkpoints.

Figure 1: SecondChance through one checkpoint. Top: the four assistance conditions, each adding information to the previous one. Left: the shared checkpoint, with what the agent sees and the annotations that only the evaluator sees. Right: five recorded continuations from this checkpoint, each scored on separate measures. Complete recovery requires telling the user about the fix but not asking first: with the location, GPT-6.1-sol fixes the error and reports it in 14 agent calls; with a plan, it asks first and needs 18. Quoted text is from the records, shortened.

An evaluation harness drops any tested model directly into a checkpoint (often inheriting another model's mistake) under four cumulative levels of graded help:

  1. Unaided (U): No hints; the agent just continues from the history.
  2. Notified (N): Told that an earlier action was a mistake.
  3. Localized (L): Told which exact action was the mistake.
  4. Plan-assisted (PA): Given what changed and a verified plan to undo it.

Crucially, before evaluating any AI, the authors determined each checkpoint's fixability using no LLMs—either executing a valid repair sequence to prove a fix exists (demonstrated), proving via environment code that no tool can undo it (proven impossible), or marking it unknown. Finally, the harness untangles scoring into distinct metrics: state repair (undoing the bug without collateral damage), task success, policy compliance, user disclosure (telling the user what happened), and durability (making sure the agent doesn't accidentally re-break the fix later).

Datasets

The paper introduces the SecondChance dataset, containing 129 verified error checkpoints distilled from 4,568 source episodes across three established tool-use benchmarks:

  • $\tau^2$-bench (38 checkpoints): Conversational telecom and banking tasks involving simulated users and strict service policies.
  • BFCL multi-turn (37 checkpoints): Scripted sequences of user requests modifying persistent application state.
  • AppWorld (54 checkpoints): Multi-app personal assistant tasks verified against underlying databases.

Of the 129 checkpoints, 57 have a demonstrated fix, 15 are proven impossible to undo, and 57 have unknown fixability.

Key Insights and Ideas

  • "Task Success" hides collateral damage: Passing a benchmark's final test doesn't mean an agent behaved safely. In AppWorld, nearly half (40 out of 84) of "successful" task completions left the original error—such as a duplicate payment—sitting untouched in the database.
  • Fixing the bug $\neq$ finishing the job: Some agents get tunnel vision. Given a repair plan, they dutifully undo the mistake and apologize, then completely forget to solve the user's original problem.
  • Pointing at the bug isn't enough: Simply notifying models of an error—or even pointing to the exact faulty step in their history—barely moves the needle for almost every model tested. Agents struggle to translate historical awareness into a new action plan unless explicitly handed repair guidance.
  • Fixes aren't always permanent, and some mistakes are one-way doors: Even after fixing an error, open-weight models sometimes accidentally undo their own repair before the session ends. And in state-by-state analyses of irreversible errors, the exact moment recovery became impossible was always the erroneous action itself—meaning prevention was the only option.

Key Results

The authors evaluated 12 models (10 open-weight models plus hosted GPT-5.4-mini and GPT-6.1-sol) across 5,760 continuations:

  • Complete recovery is rare: Across all checkpoints, the top performer (GPT-6.1-sol) achieved complete recovery on just 16% of runs unaided, rising to 27% with a repair plan. Most models scored near 0–4% unaided.
  • Even when a fix is guaranteed to exist, models miss it: On the 57 checkpoints with a demonstrated fix, GPT-6.1-sol completed 54% of recoveries with a plan, while half of the 12 models completed fewer than 10%. Twelve fixable checkpoints were never corrected by any model under any condition.
Figure 2: Observed recoverability with a plan on the 57 checkpoints with a demonstrated fix. Each column is one checkpoint, sorted within its environment by the number of models that correct it; each row is a model, in the order of Table 3. Every error shown has a fix that was executed before evaluation, so an empty cell is a missed fix.
  • Distinct behavioral quirks: With a repair plan in $\tau^2$-bench, Llama-3.3-70B corrected 26% of errors but achieved 0% complete recovery (leaving the user's goal unmet every time). Meanwhile, models like gpt-oss-20b acknowledged the error to the user in 61% of runs without fixing a single one, and some models kept making more unprompted changes to the wrong account.
  • Fragile repairs: In plan-assisted BFCL runs, 13 of 84 runs that successfully fixed the bug later undid their own fix.

Limitations and Future Work

SecondChance specifically screens for errors that alter environment state, meaning purely conversational blunders—like giving a user bad advice without calling a tool—can slip through unflagged. Additionally, fixability remains unknown for 57 of the 129 checkpoints, and the 18 $\tau^2$-bench checkpoints with demonstrated fixes all stem from telecom tasks. Finally, the main evaluation uses a single greedy decoding run per cell, and AppWorld was only evaluated on open-weight models. The authors make a clear implicit call for future agent design: build agents evaluated not just on clean-slate wins, but on recognizing, disclosing, and durably repairing their inevitable missteps.

Summary updated

Abstract

AI agents make errors while they act, and their reliability depends on what they do afterwards. Existing recovery benchmarks mostly inject faults, involve no user and score whether the task is eventually completed, so they cannot show whether an agent undid its own silent error, told the user, or faced an error that could not be fixed. We introduce SecondChance, an error checkpoint dataset and evaluation harness that profiles and measures error-recovery behaviour of AI agents. The errors are natural: they come from agents' own task attempts in $τ^2$-bench, BFCL and AppWorld. Different agents then resume from the same checkpoints under one of four conditions: no assistance, an error notice, the error location, or repair guidance. We measure error correction, task success, policy compliance, preservation of environment state, repair durability and cost. We evaluate 12 models under all four conditions in 5,760 continuations. Recovery is rare: across its environments, the best model completes only 16% of recoveries unaided and 27% with repair guidance. Correcting is not recovering: with repair guidance, Llama-3.3-70B corrects 26% of $τ^2$ errors but completes none, and 40 of 84 successful AppWorld continuations leave the error in place. SecondChance exposes these differences that task success alone cannot capture.
BibTeX
@misc{dokme2026secondchance,
  author = {Atahan Dokme and Adar Avsian and Larry Heck},
  title = {{SecondChance: Benchmarking Reliable Error Recovery in AI Agents}},
  year = {2026},
  eprint = {2611.31586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31586},
}
Figure