TECHNOLOGY

AgentRx: locate a critical agent failure with evidence, checks and a judge

In this article
THE QUICK TAKE

A violation supplies evidence, not automatic causality. Preserve the trace adapter, applicable check, judge decision and independent critical-step labels when assessing a diagnosis.

AgentRx diagnoses an unsuccessful agent execution by connecting suspected failures to evidence in its trajectory. Its target is the critical step after which the run no longer recovers, not merely the final error message. That distinction makes the work relevant to tool-using agents whose visible failure can occur well after the decision that caused it.

Build an evidence chain rather than selecting the first warning

The reviewed paper normalizes execution into a common representation, generates global and step-dependent constraints, and evaluates applicable checks. A violation log records the relevant step, constraint and evidence. An LLM judge then predicts the critical failure and category.

The judge can override a flagged violation in context. Programmatic schema checks and semantic LLM checks are also different evidence sources. Calling the whole pipeline deterministic or a formal proof would erase those differences. A violated condition can identify a symptom without establishing that it was the first unrecoverable cause.

Keep benchmark labels separate from deployed incident truth

The paper’s benchmark contains 170 manually annotated failed trajectories. Its agreement analysis and critical-step labels belong to that annotation protocol. A high-level localization-improvement headline is not the same quantity as absolute step accuracy on every domain.

The authors also describe misleading violation evidence: an infrastructure failure may be misclassified when the log emphasizes invocation rules. Their generalization exercise on another corpus lacks gold critical-step labels and therefore is not an accuracy measurement for that task. Generating a plausible diagnosis for every trace establishes coverage of output generation, not correctness of every diagnosis.

Preserve the paper and implementation versions

The reviewed paper lists 9 cause categories. The repository lists 10 labels because it also includes Inconclusive for insufficient evidence. That additional outcome should not be silently counted as another experimentally measured failure cause.

The repository exposes separate normalization, invariant, checking, judging and reporting stages. It describes LLM-backed normalization for unknown formats and configured model endpoints. Therefore, having a local source checkout does not establish that the entire diagnostic process runs without model calls or external processing. The actual endpoint configuration and input adapter matter.

Evaluate a diagnosis against an inspectable trace

A proposed evaluation should preserve event ordering, call identity, policy version and the observations available at the predicted step. Separate a malformed invocation from a tool’s returned failure and from the agent’s later misinterpretation. Compare predicted critical steps with independently reviewed labels, including cases where the evidence is insufficient.

The tool-calling guide and parallel result-identity guide explain adjacent execution contracts. We read the published paper and repository; we collected no Retrivium inference traces and ran no diagnostic pipeline. AgentRx supplies a structured diagnosis method whose evidence can be reviewed, rather than a guarantee that a generated explanation is the true causal history of an incident.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles