An AI agent can leave an application in the requested state while skipping required checks or failing to produce a supported completion report. AgentFaultBench evaluates these outcomes separately, then asks whether recovery guidance helps agents meet the full set of requirements after tool failures.

The answer in Sachin Gupta’s single-author preprint, submitted on 16 November, is mixed. In the primary experiment, guidance performed worse than active neutral feedback for one model; the other two comparisons remained inconclusive once missing outcomes were considered. A later experiment reported better final application states with revised guidance, using a different, narrower success measure.

The distinction matters for anyone reading a tool-using agent’s completion message: a correct result, evidence of the required procedure and an accurate final report are separate things to inspect.

What counted as completing the GitLab task

Gupta connected agents built with LangGraph and CrewAI to an isolated GitLab Community Edition 19.4.1 environment. The application operations were real, but the tasks, protected strings and fault schedules were constructed for the experiment. Prompts supplied the expected issue and report text.

The tasks required agents to read source material, inspect existing issues, create a specified issue and a new report, preserve existing material, and verify the result. Constructed incidents tested problems such as publishing private context, overwriting evidence and contaminating a report. The harness injected faults at tool boundaries, including rate limits, rejected mutations, forged verification and permission loss after a committed action.

The paper’s methods distinguish three layers:

  • Application state: Do the requested issue and report exist, with existing files and issues preserved?
  • Process: Do execution records show the required reads, initial issue inspection and current verification?
  • Reporting: Does the final JSON identify the actual issue and report, with the required verification field?

The combined “full success” measure also required no automated prohibited-action or unsupported-completion flag. Those flags are automated judgments without human validation. The reporting rule recognizes acknowledgment of a problem, but does not establish whether the disclosure was adequate.

According to Gupta, 318 of the 1,879 primary runs with known outcomes reached the correct application state but failed the full requirements. Every one lacked valid final JSON; most also missed required reads. These failures overlap because the checks depend on one another.

Neutral feedback also gave agents another opportunity

The main comparison was between guided continuation and an active neutral control.

Both policies shared feedback timing, eligibility for one further turn, permission checks, waits and verification rules. When an agent tried to finish, the system checked for requirements such as missing reads, confirmed writes, current verification and valid JSON.

The neutral message asked the agent to take another ordinary turn using the existing task and conversation. Its timing therefore revealed that the proposed ending had not been accepted. Guided feedback included pending steps and an instruction to report incompletion if a required step remained blocked.

This design asks whether the additional guidance was useful beyond that shared continuation opportunity. It does not compare guidance with an entirely unassisted agent.

Primary full-success results did not establish a consistent benefit

The primary design comprised 1,944 planned runs across nine task instances, two frameworks, six conditions, three policies, two repetitions and three fixed model versions. Gupta reports 1,879 known full-success outcomes after interruptions and ambiguous outcomes.

Table 2 reports the following paired comparisons of guided minus neutral full success. Each model had 216 planned pairs.

Model version Observed pairs Difference on observed pairs Paper-reported missing-outcome bounds
GPT-4o mini, 2024-07-18 216 −8.33 percentage points −8.33 to −8.33 points
GPT-4.1 mini, 2025-04-14 209 0.00 points −3.24 to +1.39 points
GPT-4.1, 2025-04-14 188 +1.06 points −4.63 to +11.11 points

The bounds describe the range permitted by unknown outcomes across the planned pairs. They are not confidence intervals. Missing outcomes leave the two GPT-4.1 comparisons inconclusive.

For GPT-4o mini, the paper reports 20 pairs where neutral feedback succeeded and guidance failed, versus two with the reverse result. All 20 guided losses occurred under rate limits. The agents received continuation, retained tools, made no further tool calls and reported incompletion. Because the guidance combined several elements, this observation cannot identify which wording explains the behavior.

Gupta says the experimental configuration was fixed before collection, but the primary presentation was selected after reviewing the studies.

A later study improved final state under revised policies

A later 624-run study used GPT-4o mini and six related task instances, with revised policies and correct-final-state scoring. The neutral and guided policies in this experiment differed from those in the primary study.

In the later comparison, neutral feedback produced 142 correct states out of 192 planned runs. Guidance produced 161, with one outcome unknown, out of 192. Counting that unknown as either failure or success gives an advantage of 9.90 to 10.42 percentage points across all planned runs.

That is a positive state result. It does not replace the primary full-success result: the policies changed, the endpoint was narrower and the tasks came from related families. The later guidance also included execution information alongside next-step advice, so the comparison does not isolate advice wording.

What remains unverified

This account uses the preprint’s accessible main text; its appendices and complete execution records were unavailable for independent checking.

Gupta reports agreement between two checker implementations, but both used the same saved observations. Agreement cannot establish that those observations were collected accurately. The paper also relies on constructed validation cases and reports no human validation or independent replication.

The study’s scope is narrow: authored GitLab tasks and injected faults, without deployment or practitioner validation.