ProbeAgent:可验证环境中智能体故障的系统化诊断
摘要
ProbeAgent是一个自动化框架,能够发现智能体故障,通过构造任务来验证其提出的故障原因,并将其归类为跨22种智能体配置和10个基准测试的共享故障模式。
arXiv:2611.26897v1 Announce Type: new
Abstract: Improving agents requires discovering where they fail and understanding why. An agent acts over multiple steps in a changing environment, so diagnosing its failures requires more than inspecting the final response of a large language model (LLM). The same unsuccessful outcome can arise from task difficulty or from an error the agent repeats across tasks. We introduce ProbeAgent, an automated framework that discovers agent failures, tests their proposed causes, and identifies shared failure modes. Starting from benchmark tasks, ProbeAgent builds executable tests and validates them using reference solutions, automated checks, and review of the task requirements. For each failed trajectory, it explains the error and constructs new tasks that preserve the suspected cause while changing the surrounding context. Running the agent on these tasks tests whether the same error recurs. ProbeAgent then groups failures with similar causes and generates descriptions that distinguish their errors. This process connects explanations of individual failures to executable tests and descriptions of shared failure modes. We evaluate ProbeAgent across 22 agent configurations using tasks from 10 benchmarks, collecting 1,244 failures and producing 536 failure-mode descriptions. These descriptions distinguish specific errors within broad outcomes such as incomplete work, including planning without acting and stopping before delivering a file. In human evaluation, annotators accept 90.0% of assigned descriptions and correctly reject 83.3% of similar alternatives, supporting the accuracy and specificity of the discovered failure modes.
查看缓存全文
缓存时间: 2026/11/23 09:16
# ProbeAgent: Principled Diagnosis of Agent Failures in Verifiable Environments
Source: [https://arxiv.org/html/2611.26897](https://arxiv.org/html/2611.26897)
Yuchen MaAffiliation:Ludwig\-Maximilians\-Universität MünchenShuhang LinAffiliation:Rutgers UniversityYuyang WuAffiliation:Carnegie Mellon UniversityZixuan WengAffiliation:Georgia Institute of TechnologyZixiang XuAffiliation:University of Southern CaliforniaXiangqi WangAffiliation:University of Notre DameYuexing HaoAffiliation:Massachusetts Institute of TechnologyYujun ZhouAffiliation:University of Notre DameYue ZhaoAffiliation:University of Southern CaliforniaOlexandr IsayevAffiliation:Carnegie Mellon UniversityStefan FeuerriegelAffiliation:Ludwig\-Maximilians\-Universität MünchenXiangliang ZhangAffiliation:University of Notre Dame
###### Abstract
Improving agents requires discovering where they fail and understanding why\. An agent acts over multiple steps in a changing environment, so diagnosing its failures requires more than inspecting the final response of a large language model \(LLM\)\. The same unsuccessful outcome can arise from task difficulty or from an error the agent repeats across tasks\. We introduceProbeAgent, an automated framework that discovers agent failures, tests their proposed causes, and identifies shared failure modes\. Starting from benchmark tasks,ProbeAgentbuilds executable tests and validates them using reference solutions, automated checks, and review of the task requirements\. For each failed trajectory, it explains the error and constructs new tasks that preserve the suspected cause while changing the surrounding context\. Running the agent on these tasks tests whether the same error recurs\.ProbeAgentthen groups failures with similar causes and generates descriptions that distinguish their errors\. This process connects explanations of individual failures to executable tests and descriptions of shared failure modes\. We evaluateProbeAgentacross 22 agent configurations using tasks from 10 benchmarks, collecting 1,244 failures and producing 536 failure\-mode descriptions\. These descriptions distinguish specific errors within broad outcomes such as incomplete work, including planning without acting and stopping before delivering a file\. In human evaluation, annotators accept 90\.0% of assigned descriptions and correctly reject 83\.3% of similar alternatives, supporting the accuracy and specificity of the discovered failure modes\.
\[ Extension=\.otf,UprightFont=\*\-regular,BoldFont=\*\-bold, ItalicFont=\*\-italic,BoldItalicFont=\*\-bolditalic\] \[Path=fonts/,Extension=\.otf,UprightFont=\*\-Regular,BoldFont=\*\-Bold, ItalicFont=\*\-RegularIt,BoldItalicFont=\*\-BoldIt\]\\setmathfonttexgyrepagella\-math\.otf\\setmathfontNewCMMath\-Book\.otf\[range="29F5\]\\coversansProbeAgent: Principled Diagnosis of Agent Failures in Verifiable Environments
\\coversans
Yue Huang1Yuchen Ma2Shuhang Lin3Yuyang Wu4Zixuan Weng5Zixiang Xu6Xiangqi Wang1Yuexing Hao7Yujun Zhou1Yue Zhao6Olexandr Isayev4Stefan Feuerriegel2Xiangliang Zhang1
\\coversans
1University of Notre Dame2Ludwig\-Maximilians\-Universität München ![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/ru.png)3Rutgers University![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/cmu.png)4Carnegie Mellon University5Georgia Institute of Technology 6University of Southern California7Massachusetts Institute of Technology
![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/probeagent_intro.png)
Figure 1:ProbeAgentoverview\.A missing\-file failure illustrates the three stages\.\\theabstract
## 1Introduction
Agents are increasingly used to modify code, navigate websites, and complete work in terminal environments\[[28](https://arxiv.org/html/2611.26897#bib.bib28),[55](https://arxiv.org/html/2611.26897#bib.bib55),[37](https://arxiv.org/html/2611.26897#bib.bib37)\]\. An agent combines a large language model \(LLM\) with a*harness*, which manages its context, execution flow, and termination\. As agents become part of real\-world workflows, they still fail on many tasks\. Studying these failures can guide improvement: we need to identify where agents fail and understand why\. Benchmark scores summarize task success, but the final outcome alone does not explain the cause of a failure\. The same outcome can arise for different reasons\. For example, a missing report may result from a difficult computation, or simply because the agent stops before saving its result\. These failures require different fixes\. Improving agents therefore requires not only measuring failures, but also systematically discovering them and diagnosing their causes\.
Existing automated evaluation methods often discover LLM failures by generating new questions or selecting informative tests\[[11](https://arxiv.org/html/2611.26897#bib.bib11),[29](https://arxiv.org/html/2611.26897#bib.bib29),[1](https://arxiv.org/html/2611.26897#bib.bib1)\]\. ProbeLLM\[[23](https://arxiv.org/html/2611.26897#bib.bib23)\]goes beyond finding individual errors by explaining incorrect responses and organizing related errors into*failure modes*\. Each mode describes a shared error pattern supported by concrete failure examples\. This connects the discovery of individual failures with an account of the patterns shared across them\.
For agents, existing methods diagnose failed trajectories after execution\. For example, Who&When benchmarks failure attribution\[[54](https://arxiv.org/html/2611.26897#bib.bib54)\], while AgentRx and AgentDebug analyze*trajectories*, the sequences of actions and observations, to locate errors or guide corrective feedback\[[8](https://arxiv.org/html/2611.26897#bib.bib8),[57](https://arxiv.org/html/2611.26897#bib.bib57)\]\. These studies help explain observed failures, but leave open how to systematically construct new tasks to discover further failures and organize them into shared modes\. We therefore ask:*can we build an effective framework that automatically discovers and diagnoses agent failures?*
This requires addressing three challenges\.\(1\) Building reliable executable tests\.An LLM test can pair a question with a reference answer and a verifier\. An agent test also needs a working environment in which actions change the task state, a solvable task, and a checker that evaluates the required outcome\. Environment defects or shortcuts accepted by the checker can otherwise give misleading results\[[3](https://arxiv.org/html/2611.26897#bib.bib3),[45](https://arxiv.org/html/2611.26897#bib.bib45)\]\.\(2\) Distinguishing task\-specific difficulties from recurring agent behavior\.A failed trajectory may reflect a difficulty in one task or a behavior that appears in many tasks\. Explaining that trajectory alone does not distinguish the two\. New tests must change the task context while preserving the condition thought to cause the failure, so that we can check whether the same agent makes the same mistake again\.\(3\) Identifying shared failures across different tasks\.Omitting a CSV export after data analysis and a JSON export after a database query can reflect the same error: completing the computation without delivering its output\. A failed write can also leave a file missing, but requires a different correction\. Diagnosis must distinguish the behaviors behind these similar outcomes\.
To address these challenges, we proposeProbeAgent, an automated framework for discovering and diagnosing agent failures \(Figure[1](https://arxiv.org/html/2611.26897#S0.F1)\)\. It connects three stages\.*Establish failures*constructs executable probes from benchmark tasks, validates their checkers and reference solutions, and explains failed trajectories\.*Test failure recurrence*constructs*sibling tasks*: new tasks that preserve the proposed triggering condition while changing the domain, data, or output format\. Running the same agent on these tasks tests whether the explained error recurs\.*Discover failure modes*groups failures by their causes and generates descriptions that distinguish their errors\. By using explanations to guide new executable tests,ProbeAgentconnects diagnosis of observed failures with discovery of further failures and the patterns they share\.
We evaluateProbeAgentacross 22 agent configurations and 10 benchmarks, collecting 1,244 explained failures and producing 536 failure\-mode descriptions\. These distinguish specific mistakes within incomplete work, such as planning without acting and stopping before delivering a file\. Human annotators accept 90\.0% of assigned descriptions and correctly reject 83\.3% of similar alternatives\. Review of generated tasks detects invalid tests that pass execution checks, and enforcing similarity within each group improves description agreement from 78\.0% to 91\.8% against the model\-based reference\. These results demonstrate thatProbeAgentproduces usable diagnostic tests and accurate, specific failure descriptions\.
Contributions\.Our contributions are:
1. 1\.We proposeProbeAgent, an automated framework for discovering and diagnosing agent failures\.It connects executable testing with failure\-mode discovery \(Section[3](https://arxiv.org/html/2611.26897#S3)\)\.
2. 2\.ProbeAgentbuilds and validates probes to test failure explanations\.It turns explanations into new executable tests and groups failures by their causes to generate descriptions supported by examples \(Sections[3\.1](https://arxiv.org/html/2611.26897#S3.SS1)–[3\.3](https://arxiv.org/html/2611.26897#S3.SS3)\)\.
3. 3\.We evaluateProbeAgentacross agents and benchmarks\.Our experiments demonstrate diverse failure discovery, accurate descriptions, and effective probe validation \(Section[4](https://arxiv.org/html/2611.26897#S4)\)\.
## 2Preliminaries
LetAAdenote an agent\. A*rollout*is one execution, producing a trajectoryz=\(o0,a1,o1,…,aT,oT\)z=\(o\_\{0\},a\_\{1\},o\_\{1\},\\ldots,a\_\{T\},o\_\{T\}\)of actionsata\_\{t\}and observationsoto\_\{t\}\.
###### Definition 1\(Probe\)\.
A probe is an executable tests=\(E,x,g,π⋆\)s=\(E,x,g,\\pi^\{\\star\}\), comprising an environmentEE, instructionxx, binary task checkergg, and reference solutionπ⋆\\pi^\{\\star\}\. The checker returnsg\(z\)=1g\(z\)=1for success andg\(z\)=0g\(z\)=0for failure\.
###### Definition 2\(Failure\)\.
A failure is a diagnosed errorr=\(s,z,u,e\)r=\(s,z,u,e\)from an execution withg\(z\)=0g\(z\)=0on a validated probess\. It includes the trajectoryzz, a summaryuu, and a failure explanationee\(Definition[3](https://arxiv.org/html/2611.26897#Thmdefinition3)\)\. One unsuccessful execution may contain several errors, each represented by its ownrr\.
###### Definition 3\(Failure explanation\)\.
A failure explanatione=\(b,ℓ,τ,δ\)e=\(b,\\ell,\\tau,\\delta\)identifies a proposed cause of one failure: the erroneous action or omitted actionbb, the point in the task where it occursℓ\\ell, the task conditionτ\\tauunder which it arises \(the*trigger*\), and a corrective actionδ\\delta\. Each field is supported by the trajectoryzz\.
###### Definition 4\(Failure\-mode description\)\.
A failure\-mode descriptionccis a natural\-language statement of a shared error\. Writec\(r\)∈\{0,1\}c\(r\)\\in\\\{0,1\\\}for the judgment of whether failurerrexhibits that error\. A*failure mode*is a tuple\(c,R,B\)\(c,R,B\)with nonempty supporting failuresRRand disjoint contrasting failuresBB, for which the description satisfies
c\(r\)=1\(r∈R\),c\(r\)=0\(r∈B\)\.c\(r\)=1\\quad\(r\\in R\),\\qquad c\(r\)=0\\quad\(r\\in B\)\.A failure explanationeeconcerns one trajectory; a descriptionccstates the pattern used to group failures\. Section[3\.3](https://arxiv.org/html/2611.26897#S3.SS3)specifies how these judgments are made\.
Example\.An agent computes a total but stops without saving the required report\. The failurerrrecords this error and its trajectory\. Its explanationeeidentifies the omitted save after computation, the requirement to deliver a file, and the correction of writing that file\. A descriptioncc, “stops after computing without delivering the required file,” can cover this failure and similar errors in database or spreadsheet tasks\. A failed write does not match this description\.
###### Definition 5\(Sibling environment\)\.
For a failurerrfrom probess, interpret its triggerτ\(r\)\\tau\(r\)as a predicate on probes:τ\(r\)\(s′\)=1\\tau\(r\)\(s^\{\\prime\}\)=1means thats′s^\{\\prime\}contains the proposed triggering condition\. A sibling is a new probes′≠ss^\{\\prime\}\\neq swithτ\(r\)\(s′\)=τ\(r\)\(s\)=1\\tau\(r\)\(s^\{\\prime\}\)=\\tau\(r\)\(s\)=1, constructed by varying domain, data, tools, naming, or output format\. Its environment is a*sibling environment*\. We validate the new probe before testing the same agentAAon it to determine whether the error recurs\.
Objective\.For agentAA, search policyη\\etaconstructs and tests probes, collecting failures𝒟η\\mathcal\{D\}\_\{\\eta\}at costC\(η\)C\(\\eta\)\. Given budgetBtestB\_\{\\mathrm\{test\}\}and fixed induction procedureℐθ\\mathcal\{I\}\_\{\\theta\}, we seek the most distinct, supported failure modes:
maxη𝔼\[\|ℐθ\(𝒟η\)\|\]s\.t\.C\(η\)≤Btest\.\\max\_\{\\eta\}\\;\\mathbb\{E\}\\\!\\left\[\\left\|\\mathcal\{I\}\_\{\\theta\}\(\\mathcal\{D\}\_\{\\eta\}\)\\right\|\\right\]\\quad\\text\{s\.t\.\}\\quad C\(\\eta\)\\leq B\_\{\\mathrm\{test\}\}\.\(1\)The expectation accounts for randomness in task construction and agent execution\. The budget covers construction, validation, and testing\. We count modes supported by validated probes and descriptions satisfying Definition[4](https://arxiv.org/html/2611.26897#Thmdefinition4), using the same induction settings when comparing search policies\.
## 3TheProbeAgentFramework
ProbeAgentconnects three stages \(Figure[2](https://arxiv.org/html/2611.26897#S3.F2)\):*Establish failures*builds and validates probes, then explains failed trajectories;*Test failure recurrence*checks whether the explained error appears in new tasks; and*Discover failure modes*groups failures and describes their shared errors\. Search alternates between the first two stages, and discovery of failure modes uses the collected failures\. Appendix[A](https://arxiv.org/html/2611.26897#A1)specifies the LLM configuration for construction, review, explanation, and judging\.
Figure 2:ProbeAgentin detail\.\(a\)Establish failures:construct and validate a probe from a benchmark task, and explain the target’s failed trajectory\. \(b\)Test failure recurrence:preserve the structural trigger while varying the context; here, each task computes a result but omits delivery\. \(c\)Discover failure modes:use cause\-based similarity and density\-constrained grouping to generate descriptions that cover each group and exclude similar errors outside it\.### 3\.1Establish failures
To diagnose an agent, we first need tests whose instructions, environment, and checker agree\. We construct these tests from benchmark tasks and validate them before interpreting the agent’s errors\.
Construct a probe from a seed task\.A seed taskttis a benchmark task used to start the search\. We select tasks with inspectable checkers on which the target agent fails an initial trial\. The reference solution succeeds and inaction fails, as specified by Equation \([2](https://arxiv.org/html/2611.26897#S3.E2)\)\. The builder receives the task instructions, input files, and checker, and constructss∼Build\(t\)s\\sim\\operatorname\{Build\}\(t\)\. It changes the setting or operational demands while preserving the question and required outcome\. Appendix[A](https://arxiv.org/html/2611.26897#A1)gives the construction budget and task\-preservation checks\.
Validate the probe\.We admit a generated probe after three checks\.a\) Executed: test reference and null controls\.The reference must succeed and inaction \(nop\\mathrm\{nop\}\) must fail;ggevaluates their executions\. Model\-judged tasks record their verdict type\.b\) Read: inspect checker sources\.We check for inaccessible or external assertions\.c\) Reviewed: check instruction–implementation consistency\.A separate read\-only agent checks for shortcuts, missing requirements, and solution leakage\. It reports evidence but cannot repair candidates; rejected probes return to the builder within budget\. This review detects shortcuts that execution controls can miss \(Section[4\.4](https://arxiv.org/html/2611.26897#S4.SS4)\)\. With binary check resultsλexec\\lambda\_\{\\mathrm\{exec\}\},λread\\lambda\_\{\\mathrm\{read\}\}, andλreview\\lambda\_\{\\mathrm\{review\}\}, admission is
λexec\(s\)\\displaystyle\\lambda\_\{\\mathrm\{exec\}\}\(s\)=𝟏\{g\(π⋆\)=1∧g\(nop\)=0\},\\displaystyle=\\mathbf\{1\}\\\{g\(\\pi^\{\\star\}\)=1\\ \\land\\ g\(\\mathrm\{nop\}\)=0\\\},\(2\)Λ\(s\)\\displaystyle\\Lambda\(s\)=λexec\(s\)λread\(s\)λreview\(s\)\.\\displaystyle=\\lambda\_\{\\mathrm\{exec\}\}\(s\)\\lambda\_\{\\mathrm\{read\}\}\(s\)\\lambda\_\{\\mathrm\{review\}\}\(s\)\.Only probes withΛ\(s\)=1\\Lambda\(s\)=1proceed to target testing\.
Explain the target trajectory\.For an admitted probe, letz∼Run\(A,s\)z\\sim\\operatorname\{Run\}\(A,s\)be the target trajectory\. Ifg\(z\)=0g\(z\)=0, an LLM analyzes the task, checker feedback, and trajectory to return summary–explanation pairs\(u,e\)∈Analyze\(s,z\)\(u,e\)\\in\\operatorname\{Analyze\}\(s,z\), yielding
ℛ\(s,z\)=\{\(s,z,u,e\):\(u,e\)∈Analyze\(s,z\)\},g\(z\)=0\.\\mathcal\{R\}\(s,z\)=\\\{\(s,z,u,e\):\(u,e\)\\in\\operatorname\{Analyze\}\(s,z\)\\\},\\qquad g\(z\)=0\.\(3\)Each element is a failurerr\(Definition[2](https://arxiv.org/html/2611.26897#Thmdefinition2)\)\. In Figure[2](https://arxiv.org/html/2611.26897#S3.F2)\(a\), the explanation identifies an omitted save, proposes writing the report, and supplies the trigger for sibling tests\.
### 3\.2Test failure recurrence
A failure explanation proposes why one trajectory went wrong\. We test that explanation by constructing tasks in which the same error could occur, while changing details that are specific to the original task\.
Construct sibling tasks\.Given failurerrfromss, the builder samplessj∼Buildsib\(r,τ\(r\)\)s\_\{j\}\\sim\\operatorname\{Build\}\_\{\\mathrm\{sib\}\}\(r,\\tau\(r\)\)\. We construct and validate each sibling so thatsj≠ss\_\{j\}\\neq s,τ\(r\)\(sj\)=1\\tau\(r\)\(s\_\{j\}\)=1, andΛ\(sj\)=1\\Lambda\(s\_\{j\}\)=1\(Definition[5](https://arxiv.org/html/2611.26897#Thmdefinition5)\)\. For example, CSV analysis can become a JSON database query while retaining the requirement to save the result \(Figure[2](https://arxiv.org/html/2611.26897#S3.F2)\(b\)\)\.
Test the explanation\.ProbeAgentruns the same agent to obtainzj,t∼Run\(A,sj\)z\_\{j,t\}\\sim\\operatorname\{Run\}\(A,s\_\{j\}\)for attemptst=1,…,njt=1,\\ldots,n\_\{j\}\. An LLM recurrence judgeH\(r,zj,t\)∈\{0,1\}H\(r,z\_\{j,t\}\)\\in\\\{0,1\\\}compares the trajectory withrr’s failure explanation and corrective action\. It returns 1 if the same error recurs under the specified condition, and 0 otherwise\. Formmtested sibling environments, we count the environments in which the error recurs:
yj=max1≤t≤njH\(r,zj,t\),ρ=∑j=1myj\.y\_\{j\}=\\max\_\{1\\leq t\\leq n\_\{j\}\}H\(r,z\_\{j,t\}\),\\qquad\\rho=\\sum\_\{j=1\}^\{m\}y\_\{j\}\.\(4\)Thus repeated occurrences in one environment count once\. An omitted save matches the example failure; incorrect computation or an unsuccessful write does not\. Withm0=3m\_\{0\}=3andθ=2/3\\theta=2/3, the test outcome is
v\(r\)=\{agent behaviorm≥m0,ρ/m≥θ,task\-specificm≥m0,ρ=0,weakm≥m0,0<ρ/m<θ,unverifiedm<m0\.v\(r\)=\\begin\{cases\}\\textsc\{agent behavior\}&m\\geq m\_\{0\},\\;\\rho/m\\geq\\theta,\\\\ \\textsc\{task\-specific\}&m\\geq m\_\{0\},\\;\\rho=0,\\\\ \\textsc\{weak\}&m\\geq m\_\{0\},\\;0<\\rho/m<\\theta,\\\\ \\textsc\{unverified\}&m<m\_\{0\}\.\\end\{cases\}\(5\)A mode pools its members’ distinct tests and reproduction counts, counting each test once and recording conflicting outcomes among its failures\.
Balance new tasks and sibling tests\.ProbeAgentalternates between exploring new tasks and testing sibling tasks\. During exploration,ProbeAgentselects the task category with the fewest admitted probes\. Categories are determined by the search goal and seed tasks, and ties are broken at random\. A newly observed failure label schedules construction of three sibling tasks\. After three consecutive sibling construction attempts, we construct a probe from a seed task to continue exploring for new failures\. Appendix[A](https://arxiv.org/html/2611.26897#A1)gives the selection rule and budgets\.
### 3\.3Discover failure modes
Different tasks can expose the same error, while similar unsuccessful outcomes can have different causes\.ProbeAgentgroups the collected failures by cause, then generates a description for each group\. We call this process*induction*\. It uses failures from both seed\-task probes and sibling tasks, including new errors found during sibling tests, and outputs modes\(c,R,B\)\(c,R,B\)\(Definition[4](https://arxiv.org/html/2611.26897#Thmdefinition4); Figure[2](https://arxiv.org/html/2611.26897#S3.F2)\(c\)\)\.
Cause\-based similarity\.For each failurer=\(s,z,u,e\)r=\(s,z,u,e\), we form textκ\(r\)\\kappa\(r\)by combining its summaryuuwith the cause, corrective action, trigger, and task stage fromee, omitting absent fields\. We embed this text asϕ\(r\)=emb\(κ\(r\)\)\\phi\(r\)=\\mathrm\{emb\}\(\\kappa\(r\)\), subtract the corpus meanϕ¯\\bar\{\\phi\}, and normalize:
ψ\(r\)=ϕ\(r\)−ϕ¯‖ϕ\(r\)−ϕ¯‖2,sim\(r,r′\)=⟨ψ\(r\),ψ\(r′\)⟩\.\\psi\(r\)=\\frac\{\\phi\(r\)\-\\bar\{\\phi\}\}\{\\\|\\phi\(r\)\-\\bar\{\\phi\}\\\|\_\{2\}\},\\qquad\\mathrm\{sim\}\(r,r^\{\\prime\}\)=\\langle\\psi\(r\),\\psi\(r^\{\\prime\}\)\\rangle\.\(6\)This reduces the shared embedding direction associated with describing agent failures\. We use an LLM as a pairwise judgeJJthat compares two failures’ explanations, triggers, and corrections:J\(r,r′\)=1J\(r,r^\{\\prime\}\)=1denotes the same mechanism and00different mechanisms\. It labels a calibration sample spanning the full similarity range\. We choose thresholdsτ\+,τ−\\tau\_\{\+\},\\tau\_\{\-\}so that, on this sample, at leastq\+=0\.90q\_\{\+\}=0\.90of pairs withsim≥τ\+\\mathrm\{sim\}\\geq\\tau\_\{\+\}receiveJ=1J=1, and at leastq−=0\.98q\_\{\-\}=0\.98of pairs withsim≤τ−\\mathrm\{sim\}\\leq\\tau\_\{\-\}receiveJ=0J=0\. Thusq±q\_\{\\pm\}specify target agreement rates for accepting or rejecting a pair as sharing the same error\. We accept pairs aboveτ\+\\tau\_\{\+\}and reject pairs belowτ−\\tau\_\{\-\}\. We call the interval between these thresholds the*ambiguous band*\. Within this interval, we send pairs among each failure’sknn=15k\_\{\\mathrm\{nn\}\}=15nearest neighbors toJJand retain those receivingJ=1J=1\. Other pairs in the interval remain unconnected\. Appendix[A](https://arxiv.org/html/2611.26897#A1)gives the threshold selection rule\.
Density\-constrained grouping\.Failures form a graphG=\(𝒟,E\)G=\(\\mathcal\{D\},E\)whose edges connect pairs accepted by the pair\-selection procedure above\. Each retained edge has weightw\(r,r′\)=sim\(r,r′\)w\(r,r^\{\\prime\}\)=\\mathrm\{sim\}\(r,r^\{\\prime\}\)\. Chains of such links can connect otherwise different failures, soProbeAgentalso checks each group’s overall similarity\. For a connected groupKK, letdin\(K\)d\_\{\\mathrm\{in\}\}\(K\)be the mean similarity over all member pairs anddout\(K\)d\_\{\\mathrm\{out\}\}\(K\)the maximum similarity between any member and any outside failure\. For connected partitions𝒫\(G\)\\mathcal\{P\}\(G\)of this graph, our grouping target is
min𝒦∈𝒫\(G\)\|𝒦\|s\.t\.din\(K\)−dout\(K\)≥μ∀K∈𝒦:\|K\|\>1\.\\min\_\{\\mathcal\{K\}\\in\\mathcal\{P\}\(G\)\}\|\\mathcal\{K\}\|\\quad\\text\{s\.t\.\}\\quad d\_\{\\mathrm\{in\}\}\(K\)\-d\_\{\\mathrm\{out\}\}\(K\)\\geq\\mu\\quad\\forall K\\in\\mathcal\{K\}:\\ \|K\|\>1\.\(7\)We approximate this objective with a greedy procedure\. For a group that violates the constraint, we remove edges in ascending weight order until it disconnects, then check each resulting component again\. Splitting continues until each group satisfies the constraint or contains one failure\. The similarity marginμ\\mucontrols the required gap between within\-group and outside similarity\. Unlikeτ±\\tau\_\{\\pm\}, which decide individual pair links,μ\\muchecks a whole group\. Increasing it can split a broad group into smaller groups with more specific errors\.
Generate and check failure\-mode descriptions\.For each groupRR, the*boundary*BBcontains the nearestknnk\_\{\\mathrm\{nn\}\}excluded failures, ranked by their maximum similarity to a failure inRR\. These are failures that look similar but belong to other groups\. An LLM generates a descriptioncc, also called a*claim*\. We use the induction LLM as a judge to check whether the error and condition stated inccagree with each failure’s explanation and corrective action\. We acceptccwhen it covers every failure inRRand excludes every failure inBB\(Definition[4](https://arxiv.org/html/2611.26897#Thmdefinition4)\); otherwise the group remains unresolved\. For a new failurerr, the corresponding matching modes areℳ\(r\)=\{k:ck\(r\)=1\}\\mathcal\{M\}\(r\)=\\\{k:c\_\{k\}\(r\)=1\\\}\. Thus a failure belongs to a mode when it exhibits the error stated in its description\. A failure may match multiple descriptions or remain unassigned\. Discovery groups partition the corpus; an execution with several diagnosed errors can contribute to several modes\.
We evaluate these descriptions on failures withheld before induction \(Section[4\.3](https://arxiv.org/html/2611.26897#S4.SS3)\)\. Algorithm[1](https://arxiv.org/html/2611.26897#algorithm1)gives the full procedure; Appendix[A](https://arxiv.org/html/2611.26897#A1)specifies the model roles and scoring rules\.
## 4Experiments
### 4\.1Experimental setup
Models and harnesses\.We evaluate 22 configurations combining 15 models and seven harnesses\. The models include GPT\-5\.6 and GPT\-5\.4\-nano\[[43](https://arxiv.org/html/2611.26897#bib.bib43),[42](https://arxiv.org/html/2611.26897#bib.bib42)\], Claude\[[6](https://arxiv.org/html/2611.26897#bib.bib6)\], DeepSeek\-V4\-Pro\[[12](https://arxiv.org/html/2611.26897#bib.bib12)\], Kimi K3\[[39](https://arxiv.org/html/2611.26897#bib.bib39)\], GLM\-5 and GLM\-5\.2\[[52](https://arxiv.org/html/2611.26897#bib.bib52),[53](https://arxiv.org/html/2611.26897#bib.bib53)\], Qwen3\.8\-Max\[[4](https://arxiv.org/html/2611.26897#bib.bib4)\], Grok 4\.5\[[44](https://arxiv.org/html/2611.26897#bib.bib44)\], and MiniMax\-M2\.7\[[38](https://arxiv.org/html/2611.26897#bib.bib38)\]\. The harnesses are Terminus 2\[[17](https://arxiv.org/html/2611.26897#bib.bib17)\], Codex\[[41](https://arxiv.org/html/2611.26897#bib.bib41)\], Claude Code\[[7](https://arxiv.org/html/2611.26897#bib.bib7)\], Goose\[[15](https://arxiv.org/html/2611.26897#bib.bib15)\], opencode\[[5](https://arxiv.org/html/2611.26897#bib.bib5)\], OpenHands\[[46](https://arxiv.org/html/2611.26897#bib.bib46)\], and Aider\[[2](https://arxiv.org/html/2611.26897#bib.bib2)\]\. Table[2](https://arxiv.org/html/2611.26897#S4.T2)lists the exact model–harness pairings\. Appendix[A](https://arxiv.org/html/2611.26897#A1)specifies the internal model configuration for construction, review, analysis, and induction\.
Tasks and protocol\.We start from 14 seed tasks from 10 benchmarks spanning retrieval, code editing, performance engineering, data pipelines, terminal operation, tabular and spreadsheet work, clinical tasks, customer service, and law \(Appendix[B](https://arxiv.org/html/2611.26897#A2)\)\. Each diagnostic search constructs and validates new probe environments from these tasks, then collects failures from the agent’s trajectories\. We group these failures and generate descriptions of their shared errors\. For corpus analysis, we use the group\-level similarity marginμ=0\.02\\mu=0\.02defined in Equation \([7](https://arxiv.org/html/2611.26897#S3.E7)\); ablations examine other values\. Probes run as Harbor tasks\[[16](https://arxiv.org/html/2611.26897#bib.bib16)\]in Docker containers\[[13](https://arxiv.org/html/2611.26897#bib.bib13)\]\. Search uses three rollouts per environment\. Appendix[A\.3](https://arxiv.org/html/2611.26897#A1.SS3)gives the hyperparameters and execution details\.
### 4\.2Failure discovery across agents and tasks
ProbeAgentdiscovers diverse failure modes across agents and tasks\.We runProbeAgentacross 347 generated environments and collect 1,244 explained failures from which we generate 536 failure\-mode descriptions\. Table[1](https://arxiv.org/html/2611.26897#S4.T1)provides examples of the resulting descriptions, including treating a human transfer as completion, planning an action without executing it, and continuing research without delivering a file\. Each description specifies an error in its task context\.
Table 1:Examples of induced claims, abridged for presentation\.\|R\|\|R\|is the number of supporting failures\.Table[2](https://arxiv.org/html/2611.26897#S4.T2)summarizes these discoveries across all 22 configurations\.
Table 2:Failure discoveries by agent configuration\.Shared groups contain failures from multiple configurations; largest gives the size of the largest group containing a failure from that row\. Group counts can overlap across rows\.ModelHarnessFailuresGroupsSharedLargestDeepSeek\-V4\-Pro![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 21326878GPT\-5\.6\-sol![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 21325848Claude Sonnet 5![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 21055654Claude Sonnet 4\.5![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 214352715Kimi K3![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 2875268Grok 4\.5![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 2844735GLM\-5![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 2723504GPT\-5\.6\-luna![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 2643348GPT\-5\.4\-nano![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 27330312Claude Opus 5![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 2552414GPT\-5\.6\-terra![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 2502126![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/x7.png)Qwen3\.8\-Max![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 2392055MiniMax\-M2\.7![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 23515215Claude Opus 4\.8![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 2118215GLM\-5\.2![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/t2.png)Terminus 211614Claude Sonnet 5OpenHands402025Claude Sonnet 5Goose351636Claude Sonnet 4\.5![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/cc.png)Claude Code371603Claude Sonnet 5opencode301426GPT\-5\.6\-sol![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/cx.png)Codex9714GPT\-5\.4\-nano![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/cx.png)Codex0000Claude Sonnet 5![[Uncaptioned image]](https://arxiv.org/html/2611.26897v1/ad.png)Aider0000Corpus1,2445652715ProbeAgentdistinguishes failures within broad error categories\.We compare our groups with a baseline that assigns failures to eight fixed categories, including incomplete work, instruction violations, and verification failures \(Figure[3](https://arxiv.org/html/2611.26897#S4.F3)\)\. Both use the same 961 failures\. The*incomplete*category contains 264 failures \(27\.5% of the set\), spanning 163 induced groups\. The pattern extends to*instruction violation*and*verification failure*, which contain 107 and 102 induced groups, respectively\. Thus the distinctions found byProbeAgentoccur across several common error categories, rather than only within one type of unsuccessful outcome\.
The largest induced group contains 11 failures, compared with 264 in the largest fixed category \(Figure[3](https://arxiv.org/html/2611.26897#S4.F3), right\)\. A category such as*incomplete*identifies an outcome; our descriptions distinguish the actions or omissions behind it\.
\(a\) Category breakdownFailures and induced groups in each fixed category, countFailuresInduced groupsIncomplete work264163Instruction violation179107Verification failure165102Tool misuse10051Reasoning error8847Planning6845Hallucination6744Environment error2517\(b\) Group granularitySummary statistics of the two representationsFixedInducedGroups8505Largest group26411Largest share27\.5%1\.1%Median size941Singleton groups0381Unassigned50
Figure 3:Fixed categories and induced descriptionson 961 failures\. Left: failures and induced groups represented in each category\. Right: summary statistics for the two representations\. The taxonomy provides broad coverage, while induction separates more specific mechanisms\.Related agent configurations share more discovered failure modes\.We keep four seed tasks and the search settings fixed, and form nine related pairs: three model\-version pairs under Terminus 2 and six harness pairs using Sonnet 5\. Four of these nine pairs \(44\.4%\) share at least one induced group, compared with 26 of the other 181 pairs \(14\.4%; Figure[4](https://arxiv.org/html/2611.26897#S4.F4)\)\. These shared groups identify specific errors that persist across a change in model or harness\. Appendix[D](https://arxiv.org/html/2611.26897#A4)gives the configurations and individual overlaps\.
Pairs that share at least one induced groupShare of configuration pairs, %Related pairsModel version or harness changed44\.4%4 of 9 pairsOther pairsAll remaining configuration pairs14\.4%26 of 181 pairs3\.1×higher for related pairs
Figure 4:Failure sharing across configuration pairs\.Bars show the fraction of pairs sharing at least one induced group:4/94/9related pairs and26/18126/181other pairs\. Related pairs differ only in model version or harness\.Group counts differ within these pairs\.Moving from GLM\-5 to GLM\-5\.2 under Terminus 2 lowers the number of distinct groups from 35 to 6, while moving Sonnet 4\.5 from Claude Code to Terminus 2 raises it from 16 to 52 \(Figure[5](https://arxiv.org/html/2611.26897#S4.F5)\)\. These counts describe adaptive discovery campaigns, not matched comparisons; Section[4\.5](https://arxiv.org/html/2611.26897#S4.SS5)reports matched replay\.
Distinct failure groups; Terminus 2 held fixedGroupsChange03570Distinct failure groups; same modelGroupsChange03570Sonnet 4\.5→\\to55256\+4GLM\-5→\\to5\.2356−29Opus 4\.8→\\to5824\+16Sonnet 4\.5Claude Code→\\toTerminus 21652\+36GPT\-5\.6\-solCodex→\\toTerminus 2758\+51First configurationSecond configuration Tinted band: change between them
Figure 5:Group counts for selected configurations\.\(a\) Model\-version pairs under Terminus 2\. \(b\) Harness pairs with the same model\. Counts match Table[2](https://arxiv.org/html/2611.26897#S4.T2); Appendix[D](https://arxiv.org/html/2611.26897#A4)gives the setup\. Grey and navy labels give the first and second configurations; the tinted band spans the change\.
### 4\.3Accuracy of failure\-mode induction
ProbeAgentaccurately characterizes failure modes\.We evaluate description accuracy by testing whether each description correctly identifies matching failures\. The induction judge assigns held\-out failures using the descriptions, and the pairwise judge confirms each assignment against the selected group’s first member in corpus order\. The classifier may return no match; agreement is measured among assigned failures\. With 25% of failures held out before induction,ProbeAgentachieves 88\.5% agreement on the 1,244\-failure corpus atμ=0\.02\\mu=0\.02\. These failures are excluded from centering, calibration, and description construction\. The result supports the accuracy of the induced failure descriptions \(Appendix[C](https://arxiv.org/html/2611.26897#A3)\)\.
Human evaluation supports description accuracy and specificity\.We ask two annotators to evaluate 30 failures, each paired with its assigned group’s description and a similar alternative from another group\. Each annotator evaluates all 60 pairs\. They accept 28 and 26 assigned descriptions, respectively, and each correctly rejects 25 alternatives, giving mean acceptance and rejection rates of 90\.0% and 83\.3%\. These judgments support accurate descriptions that distinguish similar errors \(Appendix[C\.5](https://arxiv.org/html/2611.26897#A3.SS5)\)\.
### 4\.4Effectiveness of probe validation
Review of task requirements detects defects that execution checks miss\.Across 1,451 build rounds, the execution gate rejects 349 candidates, and the reviewer rejects a further 638 after executable controls pass\. The most common finding is a rewarded shortcut that bypasses the intended task, observed in 565 rounds\. Neither the reference nor null run attempts these shortcuts\. In 323 rounds, the checker does not evaluate the requested outcome; in 255, it imposes an unstated requirement\. Findings can overlap within a round\. These findings show why both checks contribute to probe validation: execution tests whether the reference succeeds and inaction fails, while semantic review examines whether the checker rewards the work specified in the instruction\. Table[3](https://arxiv.org/html/2611.26897#S4.T3)gives the complete finding counts\. Review also detects missing instructions and exposed solutions, which change the task the agent is asked to solve\. Appendix[E\.1](https://arxiv.org/html/2611.26897#A5.SS1)reports the sequential gate counts\.
Table 3:Semantic\-review findings over 1,451 build rounds\. A round may receive multiple findings\.Classification of 940 failures by whether they concern task completion, the harness, or formatting identifies 95\.0% as substantive failures, 3\.1% as harness\-related problems, and 1\.9% as format\-related problems\. Reference solutions pass in all nine audited environments where every tested agent failed\. Appendix[E](https://arxiv.org/html/2611.26897#A5)reports these checks together with the manual environment audit, including expected\-answer errors and format ambiguities\.
### 4\.5Sibling testing separates recurring and task\-specific failures
Sibling tests distinguish recurring behavior from context\-specific failures\.Figure[6](https://arxiv.org/html/2611.26897#S4.F6)\(a\) summarizes 239 proposed failure explanations, of which 119 reached sibling testing within the search budget\. Among those tested, 48 \(40\.3%\) reproduced in no sibling, 20 \(16\.8%\) met the agent\-behavior criterion, and 26 \(21\.8%\) reproduced weakly\. The remaining 25 \(21\.0%\) had fewer than three tested siblings\. The tests give each explanation an explicit recurrence outcome under changed task contexts\.
\(a\) Failure recurrenceProposed failure explanations, countProposed239Not tested in budget−120Tested on siblings119Outcome of the 119 tested explanationsAgent behavior2016\.8%Weak recurrence2621\.8%Task\-specific4840\.3%Unverified2521\.0%Unverified: fewer than three tested siblings\.\(b\) Replay cost and failure rateMatched failure rate by input tokens per rollout100k200k500k1M2M4M0%50%100%Input tokens per rollout, log scale123456789,101112131415Configurations in \(b\)Terminus 2Codex or Claude CodeTerminus 2: Spearmanρ= 0\.50,p= 0\.08,n= 131Claude Sonnet 52Kimi K33GPT\-5\.6\-sol4Qwen3\.8\-Max5GLM\-5\.26Grok 4\.57GLM\-58Claude Opus 59MiniMax\-M2\.710DeepSeek\-V411Claude Sonnet 4\.512GPT\-5\.4\-nano13GPT\-5\.6\-solCodex14Claude Opus 4\.815Sonnet 4\.5Claude Code
Figure 6:Failure recurrence and replay cost\.\(a\) Sibling outcomes for 119 of 239 explanations; recurrence is counted per environment \(Equation \([5](https://arxiv.org/html/2611.26897#S3.E5)\)\)\. \(b\) Mean replay input tokens per rollout versus failure rates on 18 matched trials per configuration \(log token axis\)\. IDs refer to the key; circles denote Terminus 2 and diamonds denote Codex or Claude Code\.The tests distinguish explanations that recur across new tasks from those that do not recur in the tested contexts\. This gives each explanation evidence beyond its original trajectory and identifies recurring errors for further investigation\. Appendix[B\.3](https://arxiv.org/html/2611.26897#A2.SS3)links these outcomes to the discovered failure modes\.
Replay cost varies across configurations\.Mean input tokens per rollout span 112k–3\.49M across 15 configurations \(Figure[6](https://arxiv.org/html/2611.26897#S4.F6)\(b\)\); Appendix[D](https://arxiv.org/html/2611.26897#A4)details the replay protocol\.
Matched replay compares failure rates on fixed tasks\.With 18 matched trials per configuration on five environments, failure rates range from 22\.2% for Kimi K3 to 94\.4% for GPT\-5\.4\-nano, both under Terminus 2 \(Figure[7](https://arxiv.org/html/2611.26897#S4.F7)\)\. The intervals are wide at this sample size; Appendix[D](https://arxiv.org/html/2611.26897#A4)gives the paired tests\.
ModelHarnessMatched failure rate, %Kimi K3Terminus 222\.2GPT\-5\.6\-solCodex27\.8GLM\-5Terminus 233\.3GPT\-5\.6\-solTerminus 238\.9Claude Opus 5Terminus 244\.4GLM\-5\.2Terminus 250\.0Claude Sonnet 4\.5Terminus 250\.0Qwen3\.8\-MaxTerminus 255\.6DeepSeek\-V4Terminus 266\.7MiniMax\-M2\.7Terminus 266\.7Claude Sonnet 5Terminus 266\.7Grok 4\.5Terminus 272\.2Claude Opus 4\.8Terminus 272\.2Claude Sonnet 4\.5Claude Code77\.8GPT\-5\.4\-nanoTerminus 294\.40%25%50%75%100%Terminus 2Codex or Claude CodeLabel: rate over 18 matched trials Tinted band: 95% Wilson interval
Figure 7:Matched replay results\.Rates use 18 matched trials per valid configuration across five environments; intervals are 95% Wilson intervals, shown as tinted bands with each rate printed at its estimate\. The pool was selected for discriminating failures\. Infrastructure\-only executions are excluded\.
### 4\.6Grouping components and efficiency
We test which grouping choices improve description accuracy and reduce LLM calls\.
The group\-level constraint prevents excessive merging\.Figure[8](https://arxiv.org/html/2611.26897#S4.F8)compares induction variants on the same failure set\. Removing the constraint reduces 505 groups to 23, including a component containing 650 of 961 failures, and lowers held\-out agreement from 91\.8% to 78\.0%\. Pairwise links alone therefore merge failures that the group\-level constraint separates\.
Induction ablations961 failures, similarity marginμ= 0\.05VariantHeld\-out agreementΔ vs\. fullJudge callsGroupsSharedFull method91\.8%–7,44950511No density constraint78\.0%−13\.87,449234Fixed thresholds90\.8%−1\.06,78950011Neighborsknn= 593\.3%\+1\.52,61450610Neighborsknn= 3092\.4%\+0\.614,29750511Single threshold92\.1%\+0\.3050011
Figure 8:Induction ablationson 961 failures with similarity marginμ=0\.05\\mu=0\.05\. Held\-out agreement is confirmed byJJ;Δ\\Deltagives its change from the full method in percentage points\. Judge calls count pairs sent toJJ\. Shared counts groups spanning agent configurations\.Repeated evaluations retain the accuracy gain from the density constraint\.On the 961\-failure corpus, two evaluations yield held\-out agreement of 91\.8% and 91\.4% with the constraint, compared with 78\.0% and 70\.7% without it\. The 940\-failure audit set yields 91\.1% agreement\. The constraint improves agreement in both evaluations, supporting its role in separating distinct errors\.
The similarity margin controls how broadly failures are grouped\.Reducingμ\\mufrom 0\.05 to 0\.02 increases shared groups from 13 to 27 on the 1,244\-failure corpus, while held\-out agreement changes from 89\.3% to 88\.5%\. We useμ=0\.02\\mu=0\.02for the main corpus analysis because it identifies more groups shared across agent configurations with similar agreement\. The component ablations in Figure[8](https://arxiv.org/html/2611.26897#S4.F8)useμ=0\.05\\mu=0\.05; The sweep in Figure[9](https://arxiv.org/html/2611.26897#S4.F9)\(a,b\) shows how increasing the margin separates failures into more groups while reducing support from multiple failures\. Atμ=0\.20\\mu=0\.20, only 38 of the 665 groups contain multiple failures\.
\(a\) Group countsTwo or more failuresSingle failure23None173740168421\.02155505\.05124565\.08101603\.1276665\.2038MarginμTwo or moreNo constraint: the largest group contains 650 failures\.\(b\) Description agreementHeld\-out agreement on 961 failures, %70\.7None87\.4090\.2\.0291\.4\.0592\.1\.0892\.6\.1293\.1\.20Marginμ
\(c\) Threshold calibrationSimilarity band sent to the pairwise judgeCentered cosine similarityPairs labeled matchingFixed thresholds\[−0\.10, 0\.15\]9%Calibrated thresholds\[−0\.03, 0\.64\]41%−1−0\.500\.51
Figure 9:Grouping sensitivity and threshold calibration\.\(a\) Groups with two or more failures and single\-failure groups, with totals above the bars; \(b\) held\-out description agreement on 961 failures\. \(c\) Similarity ranges sent to the pairwise judge and the fraction labeled as matching\. Larger margins split groups; calibration concentrates judging on likely matches\.Threshold selection and pair reuse reduce judging costs\.Selecting thresholds from judge\-labeled pairs increases the fraction of matching pairs in the ambiguous band from 9% to 41% \(Figure[9](https://arxiv.org/html/2611.26897#S4.F9)\(c\)\)\. Nearest\-neighbor selection reduces judged pairs by 75\.5% while preserving all 53 groups in a 182\-failure experiment\. Reusing cached pair judgments answers 7,150 of 8,655 ambiguous\-band pairs in the 1,244\-failure run\. Appendix[C](https://arxiv.org/html/2611.26897#A3)reports the similarity analysis, thresholds, and additional cost measurements\.
## 5Related Work
Agent evaluation\.Agent benchmarks cover repository repair, web interaction, desktop operation, and domain\-specific tasks\[[28](https://arxiv.org/html/2611.26897#bib.bib28),[55](https://arxiv.org/html/2611.26897#bib.bib55),[48](https://arxiv.org/html/2611.26897#bib.bib48),[51](https://arxiv.org/html/2611.26897#bib.bib51),[27](https://arxiv.org/html/2611.26897#bib.bib27),[32](https://arxiv.org/html/2611.26897#bib.bib32), e\.g\.,\]\. Recent work also examines how agents progress through a task\. For example, AgentBoard measures intermediate progress,τ2\\tau^\{2\}\-Bench studies coordination when users and agents share control, and Gaia2 evaluates dynamic, asynchronous environments\[[34](https://arxiv.org/html/2611.26897#bib.bib34),[9](https://arxiv.org/html/2611.26897#bib.bib9),[14](https://arxiv.org/html/2611.26897#bib.bib14)\]\. Agent\-as\-a\-Judge assesses intermediate work against task requirements, while AgentRewardBench compares automatic trajectory evaluations with expert assessments\[[58](https://arxiv.org/html/2611.26897#bib.bib58),[33](https://arxiv.org/html/2611.26897#bib.bib33)\]\. Newer benchmarks test agents on longer and more specialized work\. AutoLab evaluates long\-horizon research and engineering tasks in which agents improve a working baseline through repeated experiments\[[49](https://arxiv.org/html/2611.26897#bib.bib49)\]\. RSI Arena studies agents that post\-train a base language model and then improve it with human preference votes\[[25](https://arxiv.org/html/2611.26897#bib.bib25)\]\. JobBench grades workflows that experts in 35 occupations want to delegate\[[30](https://arxiv.org/html/2611.26897#bib.bib30)\]\. In specialized domains, NARRA\-Gym logs full interactive story episodes to evaluate narrative agents\[[24](https://arxiv.org/html/2611.26897#bib.bib24)\], and ChemCost scores chemical cost reasoning against exact ground truth, with stage\-level diagnosis of grounding, retrieval, procurement, and arithmetic failures\[[47](https://arxiv.org/html/2611.26897#bib.bib47)\]\.ProbeAgentuses failed tasks to construct further tests, checking whether the same error recurs under changed task conditions\.
Task generation and benchmark validity\.Generated environments expand the experience available for agent training\. For example, AgentGen synthesizes environments and planning tasks, while SWE\-smith and R2E\-Gym construct executable software\-engineering tasks through repository modifications, test generation, and commit\-based synthesis\[[18](https://arxiv.org/html/2611.26897#bib.bib18),[50](https://arxiv.org/html/2611.26897#bib.bib50),[26](https://arxiv.org/html/2611.26897#bib.bib26)\]\. LLM\-driven data synthesis also produces training and evaluation data in other settings\. DataGen combines attribute\-guided generation with code\-based label checks and retrieval\-based fact checks\[[20](https://arxiv.org/html/2611.26897#bib.bib20)\]\. ChemOrch synthesizes chemistry instructions with tool\-grounded responses, and uses them both to train models and to build tasks that reveal model weaknesses\[[19](https://arxiv.org/html/2611.26897#bib.bib19)\]\. PersonaGym simulates multi\-turn user interactions with evolving preferences for personalization\[[35](https://arxiv.org/html/2611.26897#bib.bib35)\], and AuraGen injects labeled risks into synthesized agent trajectories to train the Safiron guardrail\[[21](https://arxiv.org/html/2611.26897#bib.bib21)\]\. Reliable verification is central to using such tasks\. A different stream focuses on human validation and benchmark audits to identify ambiguous specifications, weak tests, and exploitable evaluation logic\[[40](https://arxiv.org/html/2611.26897#bib.bib40),[3](https://arxiv.org/html/2611.26897#bib.bib3),[45](https://arxiv.org/html/2611.26897#bib.bib45)\]\.ProbeAgentuses task generation for diagnosis: it constructs validated tests around a proposed cause of failure and checks whether the error recurs\.
Automated probing and failure analysis\.Dynamic evaluation moves beyond fixed test sets by adapting what is tested\. For instance, Meta Probing Agents transform evaluation problems along cognitive dimensions\[[56](https://arxiv.org/html/2611.26897#bib.bib56)\]; AutoDetect coordinates examiners, questioners, and assessors to expose model weaknesses\[[11](https://arxiv.org/html/2611.26897#bib.bib11)\]; AutoBencher optimizes dataset descriptions for criteria such as difficulty and novelty\[[29](https://arxiv.org/html/2611.26897#bib.bib29)\]; ACE selects informative capabilities through active learning\[[1](https://arxiv.org/html/2611.26897#bib.bib1)\]; and FACT\-AUDIT adapts fact\-checking assessments to model responses and evaluates both verdicts and justifications\[[31](https://arxiv.org/html/2611.26897#bib.bib31)\]\. For agents, MAST organizes multi\-agent failures into a taxonomy, and Who&When provides annotations of the responsible agent and decisive step\[[10](https://arxiv.org/html/2611.26897#bib.bib10),[54](https://arxiv.org/html/2611.26897#bib.bib54)\]\. Failures can also emerge from the interaction among agents\. In generative multi\-agent systems, collusion\-like coordination and conformity arise often across repeated trials of resource competition, sequential handoff, and collective decisions\[[22](https://arxiv.org/html/2611.26897#bib.bib22)\]\. In enterprise workflows, agents that each act within their own permissions can jointly violate organization\-wide constraints; EAIR tests these risks in executable micro\-worlds and uses execution traces to locate and repair them\[[36](https://arxiv.org/html/2611.26897#bib.bib36)\]\. AgentDebug combines critical\-error detection with feedback for later rollouts, while AgentRx uses stepwise constraints to ground failure localization\[[57](https://arxiv.org/html/2611.26897#bib.bib57),[8](https://arxiv.org/html/2611.26897#bib.bib8)\]\. These methods organize or locate errors in observed trajectories\. ProbeLLM\[[23](https://arxiv.org/html/2611.26897#bib.bib23)\]discovers failure modes of LLM responses through active probing and verifiable test cases\.ProbeAgentextends this approach to agents: it constructs and validates environments, uses trajectory explanations to design new tasks, tests whether the same error recurs, and describes shared failure modes\.
## 6Conclusion
ProbeAgentprovides an automated framework for discovering and diagnosing agent failure modes\. Across 22 agent configurations and 10 benchmarks, it collects 1,244 failures and produces 536 failure\-mode descriptions\. Its experiments demonstrate diverse failure discovery, accurate descriptions, and effective probe validation and grouping\. By combining executable tests with tests of recurrence,ProbeAgenthelps identify specific agent errors and the task conditions in which they arise\.
### AI use statement
Generative models are components of the proposed methodology: they construct probe and sibling environments, review candidate tasks, explain failed trajectories, and judge failure pairs and failure claims, as described in Section[3](https://arxiv.org/html/2611.26897#S3)\. Generative AI tools also assisted with manuscript restructuring and language revision, consistency checks, LaTeX formatting, and the design and revision of the overview figure and its description\.
## References
- \[1\]Arash Afkanpour, Omkar Dige, Fatemeh Tavakoli, Negin Baghbanzadeh, Farnaz Kohankhaki, and Elham Dolatabadi\.Automated capability evaluation of foundation models\.*arXiv preprint arXiv:2505\.17228*, 2025\.URL[https://arxiv\.org/abs/2505\.17228](https://arxiv.org/abs/2505.17228)\.
- \[2\]Aider Contributors\.Aider: AI pair programming in your terminal, 2026\.URL[https://github\.com/Aider\-AI/aider](https://github.com/Aider-AI/aider)\.Accessed September 20, 2026\.
- \[3\]Reem Aleithan, Haoran Xue, Mohammad Mahdi Mohajer, Elijah Nnorom, Gias Uddin, and Song Wang\.SWE\-Bench\+: Enhanced coding benchmark for LLMs\.*arXiv preprint arXiv:2410\.06992*, 2024\.URL[https://arxiv\.org/abs/2410\.06992](https://arxiv.org/abs/2410.06992)\.32\.67% of passing patches attributed to solution leakage, 31\.08% to weak tests\.
- \[4\]Alibaba Cloud\.Alibaba unveils Qwen3\.8\-Max: Its largest and most capable flagship model to date, 2026\.URL[https://www\.alibabacloud\.com/en/press\-room/alibaba\-unveils\-qwen3\-8\-max](https://www.alibabacloud.com/en/press-room/alibaba-unveils-qwen3-8-max)\.
- \[5\]Anomaly\.OpenCode, 2026\.URL[https://opencode\.ai](https://opencode.ai/)\.Accessed September 20, 2026\.
- \[6\]Anthropic\.Anthropic’s transparency hub, 2026a\.URL[https://www\.anthropic\.com/transparency](https://www.anthropic.com/transparency)\.Claude model documentation and system cards; accessed September 20, 2026\.
- \[7\]Anthropic\.Claude Code overview, 2026b\.URL[https://code\.claude\.com/docs/en/overview](https://code.claude.com/docs/en/overview)\.Accessed September 20, 2026\.
- \[8\]Shraddha Barke, Arnav Goyal, Alind Khare, Avaljot Singh, Suman Nath, and Chetan Bansal\.AgentRx: Diagnosing AI agent failures from execution trajectories\.*arXiv preprint arXiv:2602\.02475*, 2026\.URL[https://arxiv\.org/abs/2602\.02475](https://arxiv.org/abs/2602.02475)\.Accepted to Findings of EMNLP 2026\.
- \[9\]Victor Barres, Honghua Dong, Soham Ray, Xujie Si, and Karthik Narasimhan\.τ2\\tau^\{2\}\-Bench: Evaluating conversational agents in a dual\-control environment\.*arXiv preprint arXiv:2506\.07982*, 2025\.URL[https://arxiv\.org/abs/2506\.07982](https://arxiv.org/abs/2506.07982)\.
- \[10\]Mert Cemri, Melissa Z\. Pan, Shuyi Yang, Lakshya A\. Agrawal, Bhavya Chopra, Rishabh Tiwari, Kurt Keutzer, Aditya Parameswaran, Dan Klein, Kannan Ramchandran, Matei Zaharia, Joseph E\. Gonzalez, and Ion Stoica\.Why do multi\-agent LLM systems fail?*arXiv preprint arXiv:2503\.13657*, 2025\.URL[https://arxiv\.org/abs/2503\.13657](https://arxiv.org/abs/2503.13657)\.
- \[11\]Jiale Cheng, Yida Lu, Xiaotao Gu, Pei Ke, Xiao Liu, Yuxiao Dong, Hongning Wang, Jie Tang, and Minlie Huang\.AutoDetect: Towards a unified framework for automated weakness detection in large language models\.In*Findings of the Association for Computational Linguistics: EMNLP 2024*, pages 6786–6803, 2024\.[10\.18653/v1/2024\.findings\-emnlp\.397](https://doi.org/10.18653/v1/2024.findings-emnlp.397)\.URL[https://aclanthology\.org/2024\.findings\-emnlp\.397/](https://aclanthology.org/2024.findings-emnlp.397/)\.
- \[12\]DeepSeek\-AI\.DeepSeek\-V4 model card, 2026\.URL[https://fe\-static\.deepseek\.com/chat/transparency/deepseek\-V4\-model\-card\-EN\.pdf](https://fe-static.deepseek.com/chat/transparency/deepseek-V4-model-card-EN.pdf)\.
- \[13\]Docker\.What is Docker?, 2026\.URL[https://docs\.docker\.com/get\-started/docker\-overview/](https://docs.docker.com/get-started/docker-overview/)\.Docker documentation; accessed September 20, 2026\.
- \[14\]Romain Froger, Pierre Andrews, Matteo Bettini, Amar Budhiraja, Ricardo Silveira Cabral, Virginie Do, Emilien Garreau, Jean\-Baptiste Gaya, Hugo Laurençon, Maxime Lecanu, Kunal Malkan, Dheeraj Mekala, Pierre Ménard, Gerard Moreno\-Torres Bertran, Ulyana Piterbarg, Mikhail Plekhanov, Mathieu Rita, Andrey Rusakov, Vladislav Vorotilov, Mengjue Wang, Ian Yu, Amine Benhalloum, Grégoire Mialon, and Thomas Scialom\.Gaia2: Benchmarking LLM agents on dynamic and asynchronous environments\.In*International Conference on Learning Representations \(ICLR\)*, 2026\.URL[https://arxiv\.org/abs/2602\.11964](https://arxiv.org/abs/2602.11964)\.
- \[15\]Goose Contributors\.Goose, 2026\.URL[https://github\.com/aaif\-goose/goose](https://github.com/aaif-goose/goose)\.Accessed September 20, 2026\.
- \[16\]Harbor Team\.Harbor: Evaluate agents in sandboxed environments, 2026a\.URL[https://www\.harborframework\.com/](https://www.harborframework.com/)\.Accessed September 20, 2026\.
- \[17\]Harbor Team\.Terminus\-2, 2026b\.URL[https://github\.com/harbor\-framework/harbor/blob/main/docs/content/docs/agents/terminus\-2\.mdx](https://github.com/harbor-framework/harbor/blob/main/docs/content/docs/agents/terminus-2.mdx)\.Agent documentation; accessed September 20, 2026\.
- \[18\]Mengkang Hu, Pu Zhao, Can Xu, Qingfeng Sun, Jianguang Lou, Qingwei Lin, Ping Luo, and Saravan Rajmohan\.AgentGen: Enhancing planning abilities for large language model based agent via environment and task generation\.In*Proceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining*, 2025\.URL[https://arxiv\.org/abs/2408\.00764](https://arxiv.org/abs/2408.00764)\.
- \[19\]Yue Huang, Zhengzhe Jiang, Xiaonan Luo, Kehan Guo, Haomin Zhuang, Yujun Zhou, Zhengqing Yuan, Xiaoqi Sun, Jules Schleinitz, Yanbo Wang, Shuhao Zhang, Mihir Surve, Nitesh V\. Chawla, Olaf Wiest, and Xiangliang Zhang\.ChemOrch: Empowering LLMs with chemical intelligence via groundbreaking synthetic instructions\.In*Advances in Neural Information Processing Systems \(NeurIPS\)*, 2025a\.URL[https://openreview\.net/forum?id=W0eTcFyx44](https://openreview.net/forum?id=W0eTcFyx44)\.arXiv:2509\.16543\.
- \[20\]Yue Huang, Siyuan Wu, Chujie Gao, Dongping Chen, Qihui Zhang, Yao Wan, Tianyi Zhou, Chaowei Xiao, Jianfeng Gao, Lichao Sun, and Xiangliang Zhang\.DataGen: Unified synthetic dataset generation via large language models\.In*International Conference on Learning Representations \(ICLR\)*, 2025b\.URL[https://openreview\.net/forum?id=F5R0lG74Tu](https://openreview.net/forum?id=F5R0lG74Tu)\.arXiv:2406\.18966\.
- \[21\]Yue Huang, Hang Hua, Yujun Zhou, Pengcheng Jing, Manish Nagireddy, Inkit Padhi, Greta Dolcetti, Zhangchen Xu, Subhajit Chaudhury, Ambrish Rawat, Liubov Nedoshivina, Pin\-Yu Chen, Prasanna Sattigeri, and Xiangliang Zhang\.Building a foundational guardrail for general agentic systems via synthetic data\.In*International Conference on Learning Representations \(ICLR\)*, 2026a\.URL[https://openreview\.net/forum?id=M47SWYubR5](https://openreview.net/forum?id=M47SWYubR5)\.arXiv:2510\.09781\.
- \[22\]Yue Huang, Yu Jiang, Wenjie Wang, Haomin Zhuang, Xiaonan Luo, Yuchen Ma, Zhangchen Xu, Zichen Chen, Nuno Moniz, Zinan Lin, Pin\-Yu Chen, Nitesh V\. Chawla, Nouha Dziri, Huan Sun, and Xiangliang Zhang\.Emergent risks in generative multi\-agent systems\.*arXiv preprint arXiv:2603\.27771*, 2026b\.URL[https://arxiv\.org/abs/2603\.27771](https://arxiv.org/abs/2603.27771)\.Accepted in Nature Machine Intelligence\.
- \[23\]Yue Huang, Zhengzhe Jiang, Yuchen Ma, Yu Jiang, Xiangqi Wang, Yujun Zhou, Yuexing Hao, Kehan Guo, Pin\-Yu Chen, Stefan Feuerriegel, and Xiangliang Zhang\.ProbeLLM: Automating principled diagnosis of LLM failures\.In*International Conference on Machine Learning \(ICML\)*, 2026c\.URL[https://icml\.cc/virtual/2026/poster/66530](https://icml.cc/virtual/2026/poster/66530)\.
- \[24\]Yue Huang, Yuchen Ma, Jiayi Ye, Wenjie Wang, Zipeng Ling, Xingjian Hu, Yuexing Hao, Zichen Chen, Zhangchen Xu, Yunhong He, Zhengqing Yuan, Yujun Zhou, Kehan Guo, Chaoran Chen, Toby Jia\-Jun Li, Stefan Feuerriegel, and Xiangliang Zhang\.NARRA\-Gym for evaluating interactive narrative agents\.In*Advances in Neural Information Processing Systems \(NeurIPS\), Evaluations and Datasets Track*, 2026d\.URL[https://arxiv\.org/abs/2605\.08503](https://arxiv.org/abs/2605.08503)\.arXiv:2605\.08503\.
- \[25\]Yue Huang, Yanbo Wang, Lichi Li, Yuanyuan Chen, Andreas Haupt, Xiaonan Luo, Zheyuan Liu, Jihye Choi, Felix Juefei\-Xu, Xiangliang Zhang, Radha Poovendran, Misha Sra, Ying Liu, Ben Burtenshaw, Thomas Wolf, Alex Pentland, Zichen Chen, and Zhangchen Xu\.RSI Arena: Towards recursive self\-improvement with human feedback\.*arXiv preprint arXiv:2610\.33624*, 2026e\.URL[https://arxiv\.org/abs/2610\.33624](https://arxiv.org/abs/2610.33624)\.
- \[26\]Naman Jain, Jaskirat Singh, Manish Shetty, Liang Zheng, Koushik Sen, and Ion Stoica\.R2E\-Gym: Procedural environments and hybrid verifiers for scaling open\-weights SWE agents\.*arXiv preprint arXiv:2504\.07164*, 2025\.URL[https://arxiv\.org/abs/2504\.07164](https://arxiv.org/abs/2504.07164)\.
- \[27\]Yixing Jiang, Kameron C\. Black, Gloria Geng, Danny Park, James Zou, Andrew Y\. Ng, and Jonathan H\. Chen\.MedAgentBench: A realistic virtual EHR environment to benchmark medical LLM agents\.*arXiv preprint arXiv:2501\.14654*, 2025\.URL[https://arxiv\.org/abs/2501\.14654](https://arxiv.org/abs/2501.14654)\.
- \[28\]Carlos E\. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan\.SWE\-bench: Can language models resolve real\-world GitHub issues?In*International Conference on Learning Representations \(ICLR\)*, 2024\.URL[https://arxiv\.org/abs/2310\.06770](https://arxiv.org/abs/2310.06770)\.arXiv:2310\.06770\.
- \[29\]Xiang Lisa Li, Farzaan Kaiyom, Evan Zheran Liu, Yifan Mai, Percy Liang, and Tatsunori Hashimoto\.AutoBencher: Towards declarative benchmark construction\.In*International Conference on Learning Representations \(ICLR\)*, 2025\.URL[https://proceedings\.iclr\.cc/paper\_files/paper/2025/hash/eb216114f3eaad22506fd1bc7bbff0ca\-Abstract\-Conference\.html](https://proceedings.iclr.cc/paper_files/paper/2025/hash/eb216114f3eaad22506fd1bc7bbff0ca-Abstract-Conference.html)\.
- \[30\]Yuetai Li, Yichen Feng, Zhangchen Xu, Zixian Ma, Kaiyuan Zheng, Fengqing Jiang, Xinghua Sun, Rulin Shao, Zichen Chen, Yue Huang, Xinyang Han, Brian Lee, Kayla Xu, Shenglai Zeng, Hang Hua, Xiangliang Zhang, Basel Alomair, Ranjay Krishna, Luke Zettlemoyer, Pang Wei Koh, Bhaskar Ramasubramanian, Luyao Niu, Xiang Yue, and Radha Poovendran\.JobBench: Aligning agent work with human will\.In*Advances in Neural Information Processing Systems \(NeurIPS\), Evaluations and Datasets Track*, 2026\.URL[https://arxiv\.org/abs/2605\.26329](https://arxiv.org/abs/2605.26329)\.arXiv:2605\.26329\.
- \[31\]Hongzhan Lin, Yang Deng, Yuxuan Gu, Wenxuan Zhang, Jing Ma, See\-Kiong Ng, and Tat\-Seng Chua\.FACT\-AUDIT: An adaptive multi\-agent framework for dynamic fact\-checking evaluation of large language models\.*arXiv preprint arXiv:2502\.17924*, 2025\.URL[https://arxiv\.org/abs/2502\.17924](https://arxiv.org/abs/2502.17924)\.
- \[32\]Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, Shudan Zhang, Xiang Deng, Aohan Zeng, Zhengxiao Du, Chenhui Zhang, Sheng Shen, Tianjun Zhang, Yu Su, Huan Sun, Minlie Huang, Yuxiao Dong, and Jie Tang\.AgentBench: Evaluating LLMs as agents\.In*International Conference on Learning Representations \(ICLR\)*, 2024\.URL[https://arxiv\.org/abs/2308\.03688](https://arxiv.org/abs/2308.03688)\.arXiv:2308\.03688; eight environments\.
- \[33\]Xing Han Lù, Amirhossein Kazemnejad, Nicholas Meade, Arkil Patel, Dongchan Shin, Alejandra Zambrano, Karolina Stańczak, Peter Shaw, Christopher J\. Pal, and Siva Reddy\.AgentRewardBench: Evaluating automatic evaluations of web agent trajectories\.*arXiv preprint arXiv:2504\.08942*, 2025\.URL[https://arxiv\.org/abs/2504\.08942](https://arxiv.org/abs/2504.08942)\.
- \[34\]Chang Ma, Junlei Zhang, Zhihao Zhu, Cheng Yang, Yujiu Yang, Yaohui Jin, Zhenzhong Lan, Lingpeng Kong, and Junxian He\.AgentBoard: An analytical evaluation board of multi\-turn LLM agents\.In*Advances in Neural Information Processing Systems \(NeurIPS\)*, 2024\.URL[https://proceedings\.neurips\.cc/paper\_files/paper/2024/hash/877b40688e330a0e2a3fc24084208dfa\-Abstract\-Datasets\_and\_Benchmarks\_Track\.html](https://proceedings.neurips.cc/paper_files/paper/2024/hash/877b40688e330a0e2a3fc24084208dfa-Abstract-Datasets_and_Benchmarks_Track.html)\.
- \[35\]Yuchen Ma, Yue Huang, Wenjie Wang, Xiaonan Luo, Xiangliang Zhang, and Stefan Feuerriegel\.Synthetic interaction data for scalable personalization in large language models\.In*ACM SIGKDD Conference on Knowledge Discovery and Data Mining \(KDD\)*, 2026a\.URL[https://arxiv\.org/abs/2602\.12394](https://arxiv.org/abs/2602.12394)\.arXiv:2602\.12394\.
- \[36\]Yuchen Ma, Swadheen Shukla, Paulo Salem, Yue Huang, Robert Sim, Stefan Feuerriegel, Michel Galley, and Jianfeng Gao\.EAIR: Interaction risks in enterprise LLM multi\-agent systems\.*arXiv preprint arXiv:2610\.14800*, 2026b\.URL[https://arxiv\.org/abs/2610\.14800](https://arxiv.org/abs/2610.14800)\.
- \[37\]Mike A\. Merrill, Alexander G\. Shaw, Nicholas Carlini, Boxuan Li, Harsh Raj, et al\.Terminal\-Bench: Benchmarking agents on hard, realistic tasks in command line interfaces\.*arXiv preprint arXiv:2601\.11868*, 2026\.URL[https://arxiv\.org/abs/2601\.11868](https://arxiv.org/abs/2601.11868)\.
- \[38\]MiniMax\.MiniMax M2\.7, 2026\.URL[https://www\.minimax\.io/models/text/m27](https://www.minimax.io/models/text/m27)\.
- \[39\]Moonshot AI\.Kimi K3: Open frontier intelligence, 2026\.URL[https://github\.com/MoonshotAI/Kimi\-K3](https://github.com/MoonshotAI/Kimi-K3)\.
- \[40\]OpenAI\.Introducing SWE\-bench verified\.[https://openai\.com/index/introducing\-swe\-bench\-verified/](https://openai.com/index/introducing-swe-bench-verified/), 2024\.A 500\-instance subset validated by human annotators\.
- \[41\]OpenAI\.Codex CLI, 2026a\.URL[https://github\.com/openai/codex](https://github.com/openai/codex)\.Accessed September 20, 2026\.
- \[42\]OpenAI\.Introducing GPT\-5\.4 mini and nano, 2026b\.URL[https://openai\.com/index/introducing\-gpt\-5\-4\-mini\-and\-nano/](https://openai.com/index/introducing-gpt-5-4-mini-and-nano/)\.
- \[43\]OpenAI\.GPT\-5\.6: Frontier intelligence that scales with your ambition, 2026c\.URL[https://openai\.com/index/gpt\-5\-6/](https://openai.com/index/gpt-5-6/)\.
- \[44\]SpaceXAI\.Introducing Grok 4\.5, 2026\.URL[https://x\.ai/news/grok\-4\-5](https://x.ai/news/grok-4-5)\.
- \[45\]Hao Wang, Hanchen Li, Qiuyang Mang, Alvin Cheung, Koushik Sen, and Dawn Song\.Do androids dream of breaking the game? systematically auditing AI agent benchmarks with BenchJack\.*arXiv preprint arXiv:2605\.12673*, 2026\.URL[https://arxiv\.org/abs/2605\.12673](https://arxiv.org/abs/2605.12673)\.
- \[46\]Xingyao Wang, Boxuan Li, Yufan Song, Frank F\. Xu, Xiangru Tang, Mingchen Zhuge, Jiayi Pan, Yueqi Song, Bowen Li, Jaskirat Singh, Hoang H\. Tran, Fuqiang Li, Ren Ma, Mingzhang Zheng, Bill Qian, Yanjun Shao, Niklas Muennighoff, Yizhe Zhang, Binyuan Hui, Junyang Lin, Robert Brennan, Hao Peng, Heng Ji, and Graham Neubig\.OpenHands: An open platform for AI software developers as generalist agents\.In*International Conference on Learning Representations \(ICLR\)*, 2025\.URL[https://arxiv\.org/abs/2407\.16741](https://arxiv.org/abs/2407.16741)\.
- \[47\]Yuyang Wu, Yue Huang, Shuaike Shen, Xujian Wang, Shuhao Zhang, Qiyao Xue, Weichen Liu, Runtian Gao, Jian Ma, Xiangliang Zhang, and Olexandr Isayev\.Can agents price a reaction? Evaluating LLMs on chemical cost reasoning\.In*Advances in Neural Information Processing Systems \(NeurIPS\), Evaluations and Datasets Track*, 2026\.URL[https://arxiv\.org/abs/2605\.07251](https://arxiv.org/abs/2605.07251)\.arXiv:2605\.07251\.
- \[48\]Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, and Tao Yu\.OSWorld: Benchmarking multimodal agents for open\-ended tasks in real computer environments\.In*Advances in Neural Information Processing Systems \(NeurIPS\)*, 2024\.URL[https://proceedings\.neurips\.cc/paper\_files/paper/2024/hash/5d413e48f84dc61244b6be550f1cd8f5\-Abstract\-Datasets\_and\_Benchmarks\_Track\.html](https://proceedings.neurips.cc/paper_files/paper/2024/hash/5d413e48f84dc61244b6be550f1cd8f5-Abstract-Datasets_and_Benchmarks_Track.html)\.arXiv:2404\.07972; 369 tasks in a real operating system\.
- \[49\]Zhangchen Xu, Junda Chen, Yue Huang, Dongfu Jiang, Jiefeng Chen, Hang Hua, Zijian Wu, Zheyuan Liu, Zexue He, Lichi Li, Shizhe Diao, Jiaxin Pei, Jinsung Yoon, Hao Zhang, Mengdi Wang, Radha Poovendran, Misha Sra, Alex Pentland, and Zichen Chen\.AutoLab: Can frontier models solve long\-horizon auto research and engineering tasks?*arXiv preprint arXiv:2606\.05080*, 2026\.URL[https://arxiv\.org/abs/2606\.05080](https://arxiv.org/abs/2606.05080)\.
- \[50\]John Yang, Kilian Lieret, Carlos E\. Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang, Binyuan Hui, Ofir Press, Ludwig Schmidt, and Diyi Yang\.SWE\-smith: Scaling data for software engineering agents\.In*Advances in Neural Information Processing Systems \(NeurIPS\)*, 2025\.URL[https://proceedings\.neurips\.cc/paper\_files/paper/2025/hash/8b86cf5ace600c48fd188efbb8dedec8\-Abstract\-Datasets\_and\_Benchmarks\_Track\.html](https://proceedings.neurips.cc/paper_files/paper/2025/hash/8b86cf5ace600c48fd188efbb8dedec8-Abstract-Datasets_and_Benchmarks_Track.html)\.
- \[51\]Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan\.τ\\tau\-bench: A benchmark for tool\-agent\-user interaction in real\-world domains\.*arXiv preprint arXiv:2406\.12045*, 2024\.URL[https://arxiv\.org/abs/2406\.12045](https://arxiv.org/abs/2406.12045)\.Scores by comparing the final database state against an annotated goal state\.
- \[52\]Z\.AI\.GLM\-5, 2026a\.URL[https://docs\.z\.ai/guides/llm/glm\-5](https://docs.z.ai/guides/llm/glm-5)\.Model documentation; accessed September 20, 2026\.
- \[53\]Z\.AI\.GLM\-5\.2, 2026b\.URL[https://docs\.z\.ai/guides/llm/glm\-5\.2](https://docs.z.ai/guides/llm/glm-5.2)\.Model documentation; accessed September 20, 2026\.
- \[54\]Shaokun Zhang, Ming Yin, Jieyu Zhang, Jiale Liu, Zhiguang Han, Jingyang Zhang, Beibin Li, Chi Wang, Huazheng Wang, Yiran Chen, and Qingyun Wu\.Which agent causes task failures and when? On automated failure attribution of LLM multi\-agent systems\.In*International Conference on Machine Learning \(ICML\)*, pages 76583–76599, 2025\.URL[https://proceedings\.mlr\.press/v267/zhang25cq\.html](https://proceedings.mlr.press/v267/zhang25cq.html)\.
- \[55\]Shuyan Zhou, Frank F\. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig\.WebArena: A realistic web environment for building autonomous agents\.In*International Conference on Learning Representations \(ICLR\)*, 2024\.URL[https://arxiv\.org/abs/2307\.13854](https://arxiv.org/abs/2307.13854)\.arXiv:2307\.13854; 812 tasks graded by functional correctness\.
- \[56\]Kaijie Zhu, Jindong Wang, Qinlin Zhao, Ruochen Xu, and Xing Xie\.Dynamic evaluation of large language models by meta probing agents\.In*International Conference on Machine Learning \(ICML\)*, 2024\.URL[https://proceedings\.mlr\.press/v235/zhu24m\.html](https://proceedings.mlr.press/v235/zhu24m.html)\.
- \[57\]Kunlun Zhu, Zijia Liu, Bingxuan Li, Muxin Tian, Yingxuan Yang, Jiaxun Zhang, Pengrui Han, Qipeng Xie, Fuyang Cui, Weijia Zhang, Xiaoteng Ma, Xiaodong Yu, Gowtham Ramesh, Jialian Wu, Zicheng Liu, Pan Lu, James Zou, and Jiaxuan You\.Where LLM agents fail and how they can learn from failures\.*arXiv preprint arXiv:2509\.25370*, 2025\.URL[https://arxiv\.org/abs/2509\.25370](https://arxiv.org/abs/2509.25370)\.
- \[58\]Mingchen Zhuge, Changsheng Zhao, Dylan R\. Ashley, Wenyi Wang, Dmitrii Khizbullin, Yunyang Xiong, Zechun Liu, Ernie Chang, Raghuraman Krishnamoorthi, Yuandong Tian, Yangyang Shi, Vikas Chandra, and Jürgen Schmidhuber\.Agent\-as\-a\-Judge: Evaluate agents with agents\.In*International Conference on Machine Learning \(ICML\)*, 2025\.URL[https://proceedings\.mlr\.press/v267/zhuge25a\.html](https://proceedings.mlr.press/v267/zhuge25a.html)\.
## Appendix AImplementation and Detailed Protocols
Internal model configuration\.The provided configuration assigns GPT\-5\.6\-sol to probe construction, semantic review, trajectory analysis, pairwise judging, and claim generation\. The reviewer uses the builder’s model settings in a separate read\-only session\. The induction judge also classifies held\-out failures and checks their assigned groups\. The embedding configuration uses google/gemini\-embedding\-2\. Builder and reviewer calls use the identifier openai/gpt\-5\.6\-sol; analysis and induction use gpt\-5\.6\-sol\. Generative roles default to temperature zero\. These internal roles are configured separately from the target agents listed in Table[2](https://arxiv.org/html/2611.26897#S4.T2)\.
### A\.1Probe construction and search
The implementation supports discovery, corpus consolidation, and controlled comparison\. The builder runs on the host; target probes use Harbor task directories and run in Docker\. Settings are specified through configuration files and per\-run overrides\.
For a benchmark tasktt, seed selection requires
Γ\(t\)=γread\(t\)∧γbite\(t\)∧γsound\(t\)\.\\Gamma\(t\)=\\gamma\_\{\\mathrm\{read\}\}\(t\)\\wedge\\gamma\_\{\\mathrm\{bite\}\}\(t\)\\wedge\\gamma\_\{\\mathrm\{sound\}\}\(t\)\.\(8\)The gates cost zero, one, and two rollouts in order; rejection stops further evaluation\. The reviewability gate checks the available verification sources, including whether assertions are external or hidden behind an apparent exact\-match check\. The failure gate runs the target once and requiresgt\(A\(t\)\)<1g\_\{t\}\(A\(t\)\)<1\. The soundness gate requires a passing reference and a failing null run\. Tasks whose evaluation requires a model judge are identified explicitly in the probe metadata\. In the benchmark survey, 88\.1% of 45,811 tasks had executable verdicts; judged tasks were concentrated in suites with simulated users\.
The builder receives the complete seed and must preserve its question and required outcome\. The identity check addresses semantic drift that executable controls alone can miss\. For example, a GAIA question about which scientist first predicted thinking machines was transformed into an unrelated code\-editing task\. A matching checker and reference could make that candidate executable without preserving the source task\.
Admission is the conjunctionΛ\(s\)=λexec∧λread∧λreview\\Lambda\(s\)=\\lambda\_\{\\mathrm\{exec\}\}\\wedge\\lambda\_\{\\mathrm\{read\}\}\\wedge\\lambda\_\{\\mathrm\{review\}\}\. The reviewer has read\-only access and no shell; its verdict requires a rationale grounded in the instruction and checker\. Candidate construction stops at either five rounds or 30 minutes\. The time limit controls the cost of individual rounds, which the round limit alone does not bound\.
Let𝒞=𝒞1×⋯×𝒞d\\mathcal\{C\}=\\mathcal\{C\}\_\{1\}\\times\\cdots\\times\\mathcal\{C\}\_\{d\}be the coverage space derived from the campaign intent and seeds, and letn\(c\)n\(c\)count admitted probes in cellcc\. Exploration selects
c⋆∈argminc∈𝒞n\(c\),c^\{\\star\}\\in\\operatorname\*\{arg\\,min\}\_\{c\\in\\mathcal\{C\}\}n\(c\),\(9\)with uniform tie\-breaking\. Each new failure label queues three sibling builds, with exploration forced after three consecutive verification builds\. The coverage policy is suited to campaigns with tens of expensive environment builds\. For comparison, an exploration term of the formlnN/n\\sqrt\{\\ln N/n\}is approximately 1\.3 atN=30,n=2N=30,n=2, comparable to a reward bounded by one\. This motivates the simpler allocation rule at the scale studied here\.
Sibling reproduction is based on the explained mechanism\. Labels such as inconsistent\-timing\-artifact and invalid\-timing\-artifact can describe the same failure, so exact label equality is not used as a reproduction test\. A sibling that produces the mechanism in several rollouts still contributes one reproducing environment\.
### A\.2Similarity calibration and induction
Write𝒟\\mathcal\{D\}for the failures available to an induction run\. For held\-out evaluation, select every fourth failure in corpus order to form the 25% hold\-out setℋ\\mathcal\{H\}before the pipeline and set𝒟=ℛ∖ℋ\\mathcal\{D\}=\\mathcal\{R\}\\setminus\\mathcal\{H\}; for corpus description, use the available corpus\. The mean in Equation \([6](https://arxiv.org/html/2611.26897#S3.E6)\) isϕ¯=\|𝒟\|−1∑r∈𝒟ϕ\(r\)\\bar\{\\phi\}=\|\\mathcal\{D\}\|^\{\-1\}\\sum\_\{r\\in\\mathcal\{D\}\}\\phi\(r\)\. Centering, calibration, grouping, and claim construction operate on𝒟\\mathcal\{D\}\.
Given calibrated thresholdsτ−<τ\+\\tau\_\{\-\}<\\tau\_\{\+\}, pair decisions are
same\(r,r′\)=\{1sim\(r,r′\)≥τ\+,J\(r,r′\)τ−<sim\(r,r′\)<τ\+,0sim\(r,r′\)≤τ−\.\\mathrm\{same\}\(r,r^\{\\prime\}\)=\\begin\{cases\}1&\\mathrm\{sim\}\(r,r^\{\\prime\}\)\\geq\\tau\_\{\+\},\\\\ J\(r,r^\{\\prime\}\)&\\tau\_\{\-\}<\\mathrm\{sim\}\(r,r^\{\\prime\}\)<\\tau\_\{\+\},\\\\ 0&\\mathrm\{sim\}\(r,r^\{\\prime\}\)\\leq\\tau\_\{\-\}\.\\end\{cases\}\(10\)In the ambiguous band, only pairs retained by the nearest\-neighbor trim are judged; unjudged band pairs introduce no graph edge\. Calibration uses empirical judge agreement on a stratified sample from the full similarity range:
τ\+\\displaystyle\\tau\_\{\+\}=min\{τ:Pr^\(J=same∣sim≥τ\)≥q\+\},\\displaystyle=\\min\\\{\\tau:\\widehat\{\\Pr\}\(J=\\mathrm\{same\}\\mid\\mathrm\{sim\}\\geq\\tau\)\\geq q\_\{\+\}\\\},τ−\\displaystyle\\tau\_\{\-\}=max\{τ:Pr^\(J=different∣sim≤τ\)≥q−\}\.\\displaystyle=\\max\\\{\\tau:\\widehat\{\\Pr\}\(J=\\mathrm\{different\}\\mid\\mathrm\{sim\}\\leq\\tau\)\\geq q\_\{\-\}\\\}\.\(11\)Using the full range ensures that threshold estimation includes pairs outside the current working band\. The targets areq\+=0\.90q\_\{\+\}=0\.90andq−=0\.98q\_\{\-\}=0\.98\.
For a componentKKwith at least two failures, the density statistics are
din\(K\)=1\(\|K\|2\)∑\{r,r′\}⊆Ksim\(r,r′\),dout\(K\)=maxr∈K,r′∈𝒟∖Ksim\(r,r′\)\.d\_\{\\mathrm\{in\}\}\(K\)=\\frac\{1\}\{\\binom\{\|K\|\}\{2\}\}\\sum\_\{\\\{r,r^\{\\prime\}\\\}\\subseteq K\}\\mathrm\{sim\}\(r,r^\{\\prime\}\),\\qquad d\_\{\\mathrm\{out\}\}\(K\)=\\max\_\{r\\in K,\\;r^\{\\prime\}\\in\\mathcal\{D\}\\setminus K\}\\mathrm\{sim\}\(r,r^\{\\prime\}\)\.\(12\)Edge weights are the centered cosine similarities,w\(r,r′\)=sim\(r,r′\)w\(r,r^\{\\prime\}\)=\\mathrm\{sim\}\(r,r^\{\\prime\}\), on the retained edges\. To split a violating component, sort its edges by increasing weight and remove them one at a time until it disconnects\. Recursively apply the same test to each resulting component, using the remaining edges\. This greedy procedure approximates the grouping objective in Equation \([7](https://arxiv.org/html/2611.26897#S3.E7)\)\. WhenK=𝒟K=\\mathcal\{D\}, no outside failure exists; the implementation instead requiresdin\(K\)≥τ\+d\_\{\\mathrm\{in\}\}\(K\)\\geq\\tau\_\{\+\}\. Singletons are retained without a density test\.
The boundary comprises theknnk\_\{\\mathrm\{nn\}\}non\-members maximizingmaxr∈Ksim\(r,r′\)\\max\_\{r\\in K\}\\mathrm\{sim\}\(r,r^\{\\prime\}\)\. A generated claim is tested on every member and boundary failure\. The output includes the supporting failures, exclusions, and any failure to generate a distinguishing claim\.
Algorithm 1Induction with held\-out evaluation\. For full\-corpus description, omit the hold\-out split and membership evaluation\.Input:failures
ℛ\\mathcal\{R\}, judge
JJ, margin
μ\\mu, precision targets
q±q\_\{\\pm\}, neighbor count
knnk\_\{\\mathrm\{nn\}\}, hold\-out fraction
hh
Output:groups, distinguishing claims, boundaries, held\-out agreement
1Select every fourth failure for
ℋ\\mathcal\{H\}\(
h=0\.25h=0\.25\); set
𝒟=ℛ∖ℋ\\mathcal\{D\}=\\mathcal\{R\}\\setminus\\mathcal\{H\}
2Embed causes in
𝒟\\mathcal\{D\}, subtract their mean, and normalize
3Calibrate
\(τ−,τ\+\)\(\\tau\_\{\-\},\\tau\_\{\+\}\)on a stratified sample of pairs from
𝒟\\mathcal\{D\}
4
E←\{\(r,r′\)∈𝒟2:sim\(r,r′\)≥τ\+\}E\\leftarrow\\\{\(r,r^\{\\prime\}\)\\in\\mathcal\{D\}^\{2\}:\\mathrm\{sim\}\(r,r^\{\\prime\}\)\\geq\\tau\_\{\+\}\\\}
5foreach*retained nearest\-neighbor pair in the ambiguous band*do
6if*J\(r,r′\)=sameJ\(r,r^\{\\prime\}\)=\\mathrm\{same\}*thenadd
\(r,r′\)\(r,r^\{\\prime\}\)to
EE
7end foreach
8
w\(r,r′\)←sim\(r,r′\)w\(r,r^\{\\prime\}\)\\leftarrow\\mathrm\{sim\}\(r,r^\{\\prime\}\)for each edge in
EE
9
𝒦←\\mathcal\{K\}\\leftarrowconnected components of
\(𝒟,E\)\(\\mathcal\{D\},E\)
10while*some non\-singletonK∈𝒦K\\in\\mathcal\{K\}fails its density test*do
11remove edges of
KKin ascending weight order until
KKdisconnects
12replace
KKwith the resulting connected components
13end while
14foreach*K∈𝒦K\\in\\mathcal\{K\}*do
15
BK←B\_\{K\}\\leftarrownearest
knnk\_\{\\mathrm\{nn\}\}non\-members in
𝒟\\mathcal\{D\}
16
cK←c\_\{K\}\\leftarrowclaim covering
KKand excluding
BKB\_\{K\}, orunresolved
17end foreach
18Assign held\-out failures using the claims; confirm assignments with
JJagainst each selected group’s first member
19return*\{\(cK,K,BK\)\}\\\{\(c\_\{K\},K,B\_\{K\}\)\\\}and held\-out agreement*
Held\-out scoring\.Leta\(r\)a\(r\)be the group selected by the classification model after reading the induced descriptions and the held\-out failure, or⊥\\botif no description matches\. The classifier sees descriptions rather than the groups’ member failures\. For each selected groupKK, letrKr\_\{K\}be its first member in corpus order\. The reference check isJ\(r,rK\)J\(r,r\_\{K\}\), using the same pairwise prompt as grouping, without supplying the generated description\. ForℋK=\{r∈ℋ:a\(r\)=K\}\\mathcal\{H\}\_\{K\}=\\\{r\\in\\mathcal\{H\}:a\(r\)=K\\\}, the implementation logs
nK=\|ℋK\|,uK=∑r∈ℋKJ\(r,rK\)\.n\_\{K\}=\|\\mathcal\{H\}\_\{K\}\|,\\qquad u\_\{K\}=\\sum\_\{r\\in\\mathcal\{H\}\_\{K\}\}J\(r,r\_\{K\}\)\.These are the number of assignments and the number confirmed for each group; held\-out agreement counts confirmations among assignments\. No\-match outputs and failed classification calls do not enter these counts\. Both classification and pairwise confirmation use the induction judge model\. The reference labels are therefore supplied by model\-based pair comparisons\.
Embedding text\.The serializationκ\(r\)\\kappa\(r\)joins nonempty fields with spaces in this order: summary, explanation, corrected action, trigger, and stage\. Trigger and stage are prefixed by “Triggered by:” and “Stage:” respectively\. If all fields are empty, the implementation falls back to the failure label\.
### A\.3Hyperparameters
Table[4](https://arxiv.org/html/2611.26897#A1.T4)lists the exposed settings\. The corpus analysis usesμ=0\.02\\mu=0\.02; the component study usesμ=0\.05\\mu=0\.05, and both settings are compared on the full corpus\. The thresholdsτ±\\tau\_\{\\pm\}are calibration outputs\. The neighbor count controls the number of ambiguous pairs judged and the number of boundary failures considered\.
Table 4:Hyperparameters used in the experiments\. The density\-margin sweep is reported in Figure[9](https://arxiv.org/html/2611.26897#S4.F9); fixed thresholds are used only in the corresponding ablation\.SymbolStageWhat it controlsValuermaxr\_\{\\max\}admissionrounds of build/verify/review before a candidate is discarded5TbuildT\_\{\\mathrm\{build\}\}admissionwall\-clock budget for one candidate, independent of rounds30 mineesearchverification builds before an exploration build is forced3mmsearchsiblings queued for a newly seen failure3kkmeasurementrollouts per environment3 / 6m0m\_\{0\}reproductionsiblings required before a recurrence verdict is assigned3θ\\thetareproductionfraction of siblings that must reproduce foragent behaviour2/32/3q\+q\_\{\+\}inductionprecision distance must reach before it may join a pair automatically0\.90q−q\_\{\-\}inductionprecision distance must reach before it may separate a pair automatically0\.98μ\\muinductiondensity margin a component must clear to survive uncut0\.02knnk\_\{\\mathrm\{nn\}\}inductionneighbours kept per failure, for the judged band and forBmB\_\{m\}15hhinductionfailures withheld from the whole pipeline0\.25τ\+,τ−\\tau\_\{\+\},\\tau\_\{\-\}inductionderived fromq±q\_\{\\pm\}; fixed fallbacks0\.150\.15and−0\.10\-0\.10derived
## Appendix BCorpus and Failure Evidence
### B\.1Agent configurations
The panel contains 22 model–harness configurations, with one discovery campaign per configuration\. A 16\-configuration campaign set includes 13 models under Terminus 2, Claude Code with Sonnet 4\.5, and Codex with GPT\-5\.6\-sol and GPT\-5\.4\-nano\. Six additional configurations support the matched design: GPT\-5\.6\-luna and GPT\-5\.6\-terra under Terminus 2, and Sonnet 5 under Goose, opencode, OpenHands, and Aider\. Table[2](https://arxiv.org/html/2611.26897#S4.T2)reports the 1,244 retained failures\.
Campaign counts describe the observations collected for each configuration\. For example, Terminus 2 with Sonnet 4\.5 contributes 143 failures in 52 groups, while Claude Code with the same model contributes 37 failures in 16 groups\. Such counts reflect the tasks and depth reached during discovery; matched failure rates are reported separately in Appendix[D](https://arxiv.org/html/2611.26897#A4)\.
### B\.2Seed coverage
The seed tasks span retrieval, performance engineering, data pipelines, code editing, terminal operation, tabular analysis, spreadsheets, clinical tasks, customer service, and law\. Table[5](https://arxiv.org/html/2611.26897#A2.T5)provides the recorded seed\-level breakdown for the 16\-configuration campaign set\. Five entries account for approximately 94% of the reported group counts\. Banking\-support dialogue and data\-pipeline repair contribute many observations, consistent with their extended workflows and multiple opportunities for operational failure\.
Seed eligibility also depends on executability and whether the target still fails the task\. Among twelve candidate tasks drawn from SWE\-bench Verified and SWE\-bench Pro, six were solved by the target and six could not be built\. Additional candidate suites failed to produce usable seeds because their tasks were saturated, their runs produced no rewards, or their reference solutions failed\. These outcomes motivate task\-level seed gates rather than assuming every benchmark supplies suitable probes\.
Table 5:Seed\-level breakdown of the 16\-configuration campaign set\. Groups are counted within each seed and need not sum to a corpus\-wide grouping\. Configurations counts those contributing at least one failure under the seed\.
### B\.3Attribution and breadth
Table[6](https://arxiv.org/html/2611.26897#A2.T6)reports breadth and sibling evidence separately\. A singleton describes one observed failure; its attribution depends on the sibling tests linked to the source failure\. Cross\-configuration membership describes breadth across agents; sibling tests measure recurrence across task contexts\.
Each test is keyed to the environment whose failure motivated its siblings\. Across 146 tests, 311 failures and 161 groups inherit test evidence\. Seven groups pool more than one distinct test, and four contain tests with different verdict classes\. Tests can support several groups when trajectories from one tested environment yield failures that induction separates\. Within a group, each test contributes its reproduction count only once\. Of the 27 tests outside the 119\-candidate experiment in Figure[6](https://arxiv.org/html/2611.26897#S4.F6), 14 have insufficient tested siblings\. The remaining 404 groups have no linked sibling test\.
Table 6:Evidence supporting the 565 induced groups\. Breadth counts observed failures and configurations\. Attribution pools distinct sibling tests associated with member failures; the two parts describe different dimensions of support\.Breadth of supporting failuresGroupsShareOne failure36163\.9%Two or more failures, one configuration17731\.3%Two or more failures, spanning two configurations223\.9%Two or more failures, spanning three or more50\.9%Total565100%Attribution from sibling testsGroupsShareGroups linked to sibling tests16128\.5%agent behavior335\.8%weak325\.7%task\-specific539\.4%unverified437\.6%Groups without sibling tests40471\.5%
### B\.4Example claims
Table[1](https://arxiv.org/html/2611.26897#S4.T1)presents four distinguishing claims\. The 565 induced groups comprise 361 single\-failure groups, 177 multi\-failure groups from one configuration, and 27 groups spanning configurations\. The largest group contains 15 failures\. Overall, 29 of 565 groups are unresolved, including two of the 27 shared groups\. The other 536 groups have distinguishing claims\.
## Appendix CAdditional Induction Results
### C\.1Granularity
Section[4\.6](https://arxiv.org/html/2611.26897#S4.SS6)reports the repeated evaluations of the density constraint\.
With the same pair cache, grouping of the 961\-failure corpus yields 505 groups: 381 singletons and 124 multi\-failure groups\. On the 940\-failure audit set, induction yields 491 groups\.
Figure[9](https://arxiv.org/html/2611.26897#S4.F9)reports the density\-margin sweep on 961 failures\. Without the constraint, one component contains 650 failures\. At the other extreme,μ=0\.20\\mu=0\.20produces 665 groups, of which only 38 contain multiple failures and none spans multiple configurations\. Intermediate settings retain more multi\-failure groups while achieving higher held\-out agreement than unconstrained grouping\.
On 1,244 failures,μ=0\.05\\mu=0\.05yields 659 groups, 75% singletons, 13 shared groups, a largest group of 10 failures, and 89\.3% held\-out agreement\. Atμ=0\.02\\mu=0\.02, the corresponding values are 565, 64%, 27, 15, and 88\.5%\. We selectμ=0\.02\\mu=0\.02for its greater multi\-failure and cross\-configuration support\. Both settings are reported to show the resolution tradeoff\.
### C\.2Comparison with a fixed taxonomy
Figure[3](https://arxiv.org/html/2611.26897#S4.F3)compares induction with eight failure categories on 961 failures\. The taxonomy assigns 956 failures and leaves five unassigned\. Its median category contains 94 failures, compared with a median group size of one under induction\. The category incomplete contains 264 failures and includes 163 induced groups\. The category\-level group counts are non\-additive\. The median pairwise Jensen–Shannon divergence between configurations is 0\.21 in the taxonomy representation\.
### C\.3Centering and calibration
On 12 failures from three hand\-labeled modes, centering increases the gap between mean within\-mode and between\-mode cosine similarity from0\.0480\.048to0\.1620\.162\. The respective means are0\.7040\.704and0\.6560\.656before centering, and0\.0270\.027and−0\.135\-0\.135after centering\. This gap measures how well similarity distinguishes the labeled modes\.
Figure[9](https://arxiv.org/html/2611.26897#S4.F9)\(c\) visualizes the fixed\-band and calibrated\-band comparison reported in Section[4\.6](https://arxiv.org/html/2611.26897#S4.SS6)\. Across corpora of 664, 940, and 1,244 failures, the calibrated join thresholds are 0\.630, 0\.592, and 0\.568, respectively\.
### C\.4Pair selection and computational cost
Section[4\.6](https://arxiv.org/html/2611.26897#S4.SS6)reports the neighbor\-trimming and cache savings\. Of the 7,267 judged pairs on the 940\-failure audit set, 2,711 are marked as matching\. The join threshold changes by 0\.024 between these two runs\. Cache reuse depends on which pairs fall in the calibrated band, as well as which failure pairs are already stored\.
### C\.5Human evaluation of failure descriptions
We randomly sample 30 held\-out failures assigned to groups with generated descriptions, keeping the descriptions fixed before annotation\. Each failure is paired with its assigned description and a similar alternative from another group, selected by the maximum centered cosine similarity between the failure and any member of that group\. Two annotators independently evaluate all 60 pairs, yielding 120 judgments\. Each item provides the task requirements, the specified failure, relevant trajectory excerpts, checker feedback, and one candidate description; the full trajectory is also available\. Items are shuffled and presented separately, with model and group identities, automatic judgments, and description type hidden\. Annotators decide whether the description accurately characterizes the failure, answering yes, no, or insufficient information and giving a brief evidence\-based reason\. A match requires the described error and key task conditions to agree with the trajectory; different errors, incompatible conditions, or contradictory evidence receive a no judgment\. Unresolved evidence receives insufficient information\. Equivalent wording is accepted, while a shared broad outcome alone does not establish a match\. Both description types use the same criteria\. For each annotator, we divide yes judgments on assigned descriptions and no judgments on alternatives by 30, then average the respective rates across annotators\. They accept 28/30 and 26/30 assigned descriptions and each reject 25/30 alternatives, giving mean acceptance and rejection rates of 90\.0% and 83\.3%, respectively\.
## Appendix DAgent Comparison and Resource Use
### D\.1Controlled replay
Replay fixes the environment pool and execution settings across configurations\. The pool contains exploration probes sampled evenly across source campaigns\. Sibling probes are excluded because they are constructed specifically to reproduce a target’s failure\. Each probe retains its validated execution settings\. The replay pilot includes 20 environments, ten of which all tested agents fail\. Eight of the remaining environments form the discriminating pool\.
Each configuration is scheduled for six rollouts in each of the eight environments\. Comparison uses five commonly measured environments and truncates each to the shallowest available depth:\(6,6,4,1,1\)\(6,6,4,1,1\), totaling 18 matched trials\. Environments that cannot start under a harness, including network\-isolated environments requiring a network installation, are excluded from that common set\. The Codex/GPT\-5\.4\-nano configuration has no valid replay executions and is excluded from failure\-rate estimates\.
Figure[7](https://arxiv.org/html/2611.26897#S4.F7)reports point estimates and 95% Wilson intervals\. Kimi K3 under Terminus 2 has a failure rate of 22\.2%, and GPT\-5\.4\-nano under Terminus 2 has a failure rate of 94\.4%\. The Opus 4\.8/Opus 5 paired comparison has discordant counts of six and one, with exactp=0\.13p=0\.13\. The Sonnet and GLM version pairs yieldp=0\.38p=0\.38andp=0\.45p=0\.45\. For GPT\-5\.6\-sol under Codex versus Terminus 2,p=0\.73p=0\.73\.
### D\.2Configuration contrasts
Figure[5](https://arxiv.org/html/2611.26897#S4.F5)displays selected model and harness contrasts using the group counts in Table[2](https://arxiv.org/html/2611.26897#S4.T2)\. The model comparisons hold Terminus 2 fixed\. The harness comparisons hold Sonnet 4\.5 or GPT\-5\.6\-sol fixed\. These counts summarize the failures collected during discovery\.
The model and harness comparisons hold four seed tasks, builder, engine, intent, and rollout budget fixed\. GPT\-5\.6\-luna, GPT\-5\.6\-sol, and GPT\-5\.6\-terra under Terminus 2 define three model pairs\. Sonnet 5 under Terminus 2, Goose, opencode, and OpenHands defines six harness pairs\. Because environment generation remains adaptive, these campaigns study shared discoveries; replay supplies the fixed\-task performance comparison\.
Figure[4](https://arxiv.org/html/2611.26897#S4.F4)in Section[4\.2](https://arxiv.org/html/2611.26897#S4.SS2)summarizes the shared failure modes\. Within the nine related pairs, the three model pairs share 1, 2, and 0 groups; the six harness pairs share 2, 1, and four zeros\. Mean overlap is 0\.67 versus 0\.19 groups per pair atμ=0\.02\\mu=0\.02, and 0\.44 versus 0\.07 atμ=0\.05\\mu=0\.05\. Pairs reuse configurations, so these are descriptive comparisons rather than independent replicates\.
The harness comparison also differs in observed failure count and timeout rate\. Terminus 2 with Sonnet 5 contributes 105 failures, versus 30–40 for each of the other three harnesses, and times out on 46% of rollouts versus 12–13%\. It consumes 19\.8M input tokens per rollout versus 3\.2–8\.6M\. Restricting shared support to completed rollouts changes the two nonzero harness\-pair overlaps from 2 and 1 to 1 and 0; the other overlaps remain zero\.
### D\.3Token use
Replay accounting is available for 15 configurations, each scheduled for 48 rollouts\. Mean input tokens per rollout range from 112k for Sonnet 5 under Terminus 2 to 3\.49M for Sonnet 4\.5 under Claude Code, a 31\-fold spread\. Among the 13 configurations using Terminus 2, the spread is approximately tenfold\. Figure[6](https://arxiv.org/html/2611.26897#S4.F6)\(b\) relates token use over the replay pool to the matched failure rates\. For the Terminus 2 configurations, Spearman correlation isρ=0\.50\\rho=0\.50\(p=0\.08p=0\.08\)\. This association does not identify whether higher token use contributes to failure or results from extended attempts on difficult tasks\.
Across the 16\-configuration discovery set, target execution consumes 365M input and 7\.3M output tokens over 936 rollouts with recorded usage\. These counts include campaign and seed\-gate calls reaching the model; the execution audit separately examines all trial outcomes\.
## Appendix EAdmission Analysis and Corpus Audit
### E\.1Admission\-gate findings
The gates run sequentially and stop at rejection\. Table[7](https://arxiv.org/html/2611.26897#A5.T7)summarizes 1,451 build rounds\. Execution rejects 349 candidates; semantic review rejects 638 candidates that passed the executable controls\. The static source gate has no separately recorded rejection\. Inaccessible assertions are instead identified by the reviewer on 59 rounds\. These are conditional rejection counts from the sequential pipeline\.
Table 7:Admission rejections over 1,451 build rounds\.Section[4\.4](https://arxiv.org/html/2611.26897#S4.SS4)and Table[3](https://arxiv.org/html/2611.26897#S4.T3)report the semantic\-review findings\. The gate counts in Table[7](https://arxiv.org/html/2611.26897#A5.T7)show where these checks enter probe admission\.
### E\.2Task and failure quality
Table[8](https://arxiv.org/html/2611.26897#A5.T8)summarizes the quality measurements\. The manual audit uniformly samples 20 environments and finds one hard error in an expected value\. Six of the 20 have either a wrong expected value or an ambiguity in the required output format\. Format defects include byte\-exact checks on separator spacing or key order that the instruction does not specify\. The per\-failure classification uses the 940\-failure audit set\.
The answer\-consistency audit finds that 2\.2% of 222 eligible variants change their seed’s expected answer\. For judged environments, 225 reference replays across 72 environments have zero observed reward spread\. All nine audited environments failed by every tested agent accept their reference solutions\. These controls assess answer consistency, judge repeatability, and reference feasibility, respectively\.
Table 8:Corpus quality audit\. The manual sample contains 20 environments; failure classification covers 940 failures\. Judge consistency measures repeatability of the reference verdict\.CheckMethodResultHard ground\-truth errorsunbiased sample of 20 environments, manual5%Wrong*or*format\-ambiguoussame sample30%Variant overrules its seed’s answerautomatic, all 222 eligible2\.2%Records that are substantiveper\-failure classification, all 94095\.0%Records that are harness artifactssame3\.1%Records that are format artifactssame1\.9%Judge self\-consistency225 oracle replays over 72 judged environmentsspread0\.0000\.000All\-fail environments still solvablereference solution re\-run9/9相似文章
AgentProofBench:面向网页智能体的可复用验证器基准测试
AgentProofBench 提出了一个面向网页智能体可复用验证的基准,将固定的验收规则与执行轨迹关联起来,覆盖四个网络服务上的 97 项任务和 79 个任务族,并使用 DeepSeek Flash/Pro 建立了程序门控正确性和复用方面的基线。
@omarsar0: // 代理并非单独失败 // 一款非常棒的开源评估工具,用于检查代理的可靠性。里面有很多酷点子。…
本文介绍了ProofAgent-Harness,这是一款开源评估工具,从七个标准衡量AI代理的上下文工程质量,并将其验证为代理可靠性的领先指标。
AI Agent 故障排查研究与分析
一篇关于在生产环境中诊断 AI agent 故障根因之困难的实践讨论:即使已有 traces、工具调用记录和 prompt/响应日志,仍难以定位问题,以及如何在 agent 的步骤历史中回溯错误来源。
Agent诊断和优化
作者分享了 agent-design-review Skill,用于系统化诊断和优化 Agent 架构,覆盖 Prompt、工具权限、上下文、安全、记忆、评估、成本、可观测性等多方面,并输出基于证据的 P0/P1/P2 问题,帮助避免常见踩坑。
ComponentBench: 诊断计算机使用代理中的组件级故障
ComponentBench 引入了一个基准和诊断管道,用于评估计算机使用代理在现代网页用户界面中的组件级交互,通过关注现实、短暂的交互来诊断跨模型的故障,从而填补当前评估方法的空白。