TL;DR for operators

An AI agent completes its analysis but fails to deliver the required report. Its execution log may suggest an explanation, but should the engineering team change the instructions, execution infrastructure, verification system, or underlying model? ProbeAgent1 investigates how testing suspected errors under different task conditions can support that decision.

  • An explanation is not evidence of recurrence: Only 20 of 119 failure explanations reaching further testing reproduced the suspected error in at least two-thirds of the tested environments, with a minimum of three environments tested.
  • The evaluator can also be defective: Semantic review rejected 638 test-construction rounds after execution checks had passed. A working checker does not necessarily measure the intended behavior correctly.
  • Similar failures can require different corrections: Removing a constraint that prevents excessive merging of diagnostic categories reduced conditional held-out description agreement from 91.8% to 78.0%.
  • Classification is not behavioral verification: Of 565 identified failure groups, 404 lacked linked recurrence-testing evidence. Their descriptions should not be mistaken for experimentally verified recurring defects.

For automation owners, the methodology provides a more disciplined basis for deciding which failures warrant systemic remediation and which require further investigation. The research demonstrates diagnostic feasibility, not improved production reliability or reduced remediation costs.

An execution log does not establish a recurring defect

An enterprise automation agent completes its analysis but fails to deliver the required report. Its execution log reveals extensive information gathering, several successful tool calls, and no final artifact.

The operations team now faces a remediation decision. Should it revise the instructions, enforce a completion check, modify the execution harness, or replace the underlying model? Each intervention rests on a different explanation of the same unsuccessful outcome.

A convincing retrospective diagnosis may justify further investigation. It does not necessarily justify a system-wide correction.

In ProbeAgent’s recurrence experiments, only 20 of 119 failure explanations reaching further testing reproduced their suspected error in at least two-thirds of a minimum of three related environments (Section 4.5, Figure 6).

The remaining explanations had weaker, absent, or insufficiently tested recurrence. This does not mean their original diagnoses were incorrect. It means that describing an incident and establishing a recurring behavioral defect require different evidence.

This distinction changes how engineering teams should interpret agent failures before allocating remediation resources.

Turning failure explanations into executable hypotheses

ProbeAgent connects four diagnostic operations:

  1. Construct and validate an environment in which an agent can execute a task.
  2. Examine unsuccessful execution trajectories and formulate specific failure explanations.
  3. Test suspected failure mechanisms under changed task contexts.
  4. Organize observed failures into descriptions that distinguish operationally different errors.

The initial testing environment, termed an executable probe, contains the task environment, instructions, a success checker, and a reference solution establishing feasibility.

When an agent fails, the framework produces a structured explanation (Section 2, Definition 3):

$$ e=(b,\ell,\tau,\delta) $$

Here, $b$ represents the erroneous or omitted action, $\ell$ its execution stage, $\tau$ the suspected triggering condition, and $\delta$ a proposed correction.

The triggering condition is particularly consequential. If an agent omits a required closing action after transferring a customer interaction to a human operator, the diagnostic question becomes whether that transfer condition produces similar omissions in other contexts.

ProbeAgent generates sibling environments that preserve the suspected trigger while changing the surrounding task.

Recurrence is measured at the environment level: multiple matching failures within one environment count as one reproducing environment.

Sibling-test outcome Explanations
Recurring agent behavior 20
Weak recurrence 26
No observed recurrence after sufficient testing 48
Insufficient testing 25
Total 119

Source: Section 4.5, Figure 6.

The threshold is an operational classification rule, not a statistical significance test. Reproduction provides behavioral evidence under the constructed conditions; it does not establish the internal computational cause of the error. Equally, unsuccessful reproduction does not prove that a failure is permanently task-specific.

The evaluation environment can produce the apparent failure

Before investigating agent behavior, ProbeAgent must establish that its generated tasks are suitable diagnostic instruments.

The reference solution must succeed, doing nothing must fail, and the checker must survive inspection and an independent semantic review. These requirements address different threats to validity.

The probe-validation experiment illustrates their complementary roles.

Validation stage Build rounds rejected
Reference and null-action execution controls 349
Static checker inspection 0
Independent semantic review 638
Total recorded build rounds 1,451

Source: Section 4.4; Appendix E.1, Table 7. Rejections occur sequentially.

A checker can accept a correct reference solution while also rewarding an unintended shortcut or imposing a requirement absent from the instructions. Semantic review identifies these discrepancies without relying exclusively on execution outcomes.

Residual problems nevertheless remain. A supplementary manual audit of 20 generated environments identifies one incorrect expected answer and six environments with either incorrect ground truth or output-format ambiguity (Appendix E.2).

The small audit cannot establish a general defect rate for generated evaluation environments. It does establish that passing automated admission checks is insufficient to guarantee diagnostic validity.

For enterprise evaluation owners, Cognaptus would therefore treat generated regression tests as reviewable engineering artifacts, particularly when their results determine release approvals or model replacement.

Similar outcomes can require different corrections

An error category such as incomplete work is adequate for reporting incidents but may provide little direction for remediation.

In ProbeAgent’s comparison against a predefined taxonomy using 961 failure records, 264 incomplete-work failures were distributed across 163 induced groups (Section 4.2).

Examples of the framework’s induced descriptions illustrate the operational differences:

Observed failure mechanism Possible engineering response
Artifact left outside the permitted delivery location Validate output destination
Agent terminates after transferring an interaction to a human Enforce post-transfer closing requirements
Required tool call is planned but never executed Verify actual tool execution
Research continues without producing the required JSON deliverable Introduce deliverable-aware completion checks

Failure examples: Section 4.2, Table 1. Engineering responses are Cognaptus interpretations, not experimentally validated corrections.

To distinguish these mechanisms, ProbeAgent combines centered embedding similarities, calibrated pairwise judgments, and constrained grouping.

Its grouping condition requires the average similarity within a candidate group to exceed its strongest external similarity by a specified margin:

$$ d_{\mathrm{in}}(K)-d_{\mathrm{out}}(K)\geq\mu $$

This prevents chains of individually similar failure pairs from merging into categories whose members no longer share a sufficiently coherent mechanism.

In the 961-failure component ablation, removing this constraint reduces 505 groups to 23, creates a 650-member component, and lowers conditional held-out description agreement from 91.8% to 78.0% (Section 4.6, Figure 8).

The ablation supports the contribution of constrained grouping to diagnostic discrimination. It does not demonstrate that more granular categories necessarily produce better engineering fixes.

A diagnostic library needs explicit evidence levels

Across 347 generated environments and 22 model-harness configurations, ProbeAgent collects 1,244 diagnosed error records, induces 565 groups, and resolves distinguishing descriptions for 536 of them.

These figures measure different achievements. One trajectory can contain multiple diagnosed errors, while a descriptive group can exist without verified recurrence.

The composition of the resulting library makes this particularly clear.

Evidence dimension Groups Share
Single observed failure 361 63.9%
Multiple failures within one configuration 177 31.3%
Failures across multiple configurations 27 4.8%
Linked sibling-test evidence 161 28.5%
No linked sibling-test evidence 404 71.5%

Source: Appendix B.3, Table 6. Observational breadth and sibling-test coverage are separate dimensions.

The description-quality evaluation is encouraging but bounded. Main-corpus held-out agreement reaches 88.5%, conditional on successful classification and model-based confirmation. Two human annotators evaluating 30 selected held-out failures achieve mean assigned-description acceptance of 90.0% and alternative-description rejection of 83.3%.

Neither measurement establishes that every described failure mechanism is a verified recurring defect.

An enterprise diagnostic library should consequently preserve separate records of incident severity, descriptive classification, tested recurrence, and remediation effectiveness. A severe singleton can warrant immediate intervention even without demonstrated recurrence.

This extends the operational concern examined in Cognaptus’s earlier article, The Butterfly Defect: Diagnosing LLM Failures in Tool-Agent Chains: identifying the particular execution error is necessary when remediation depends on where a workflow breaks.

What enterprise automation teams can adopt

Cognaptus inference: The most promising application is a diagnostic regression-testing process for workflows with auditable outputs, accessible execution traces, and meaningful task checkers.

When an incident occurs, engineering teams can construct a test that preserves the suspected trigger, vary the business context, and examine whether the same error returns. The resulting evidence can inform whether remediation belongs in the instructions, harness, verification layer, or model investigation.

However, adaptive failure-discovery counts should not become procurement rankings. Configurations encounter different generated tasks, and the paper’s supplementary matched replay covers only five common environments and 18 trials per valid configuration.

Nor does successful diagnosis establish that the proposed correction works. That requires an additional intervention experiment comparing agent behavior before and after remediation under comparable conditions.

The operational contribution of ProbeAgent is therefore a disciplined method for deciding what to investigate, what to classify, and what has earned stronger behavioral attribution. Its value ultimately depends on whether organizations can preserve these distinctions when converting diagnostic findings into engineering decisions.

A failed execution establishes that something went wrong. Establishing which component should change, under what conditions, and with what expected improvement remains a separate empirical task.

Cognaptus: Automate the Present, Incubate the Future.


  1. Yue Huang and Yuchen Ma and Shuhang Lin and Yuyang Wu and Zixuan Weng and Zixiang Xu and Xiangqi Wang and Yuexing Hao and Yujun Zhou and Yue Zhao and Olexandr Isayev and Stefan Feuerriegel and Xiangliang Zhang (2026). ProbeAgent: Principled Diagnosis of Agent Failures in Verifiable Environments. arXiv:2611.26897. https://arxiv.org/abs/2611.26897 ↩︎