Skip to content
News

AI insights

NVIDIA Open-Sources AutoFA: Finding Why AI Agents Fail With Python Detectors

NVIDIA released AutoFA on Nov 30, 2026 to diagnose why models and coding agents fail using top-down taxonomy classification and bottom-up Python detectors.

NVIDIA Open-Sources AutoFA: Finding Why AI Agents Fail With Python Detectors

Q. What is NVIDIA AutoFA and how does it improve AI evaluation? Released on November 30, 2026, AutoFA is an open-source failure analysis toolkit that explains how and why AI models and coding agents fail rather than reporting only an aggregate pass rate. It runs top-down taxonomy classification alongside bottom-up Python detector discovery driven by Claude Code or Codex to separate model, harness, and grader faults.

⚠️ Accuracy guardrail: This article reflects the official NVIDIA Hugging Face blog post (November 30, 2026) and the NVIDIA/AutoFA GitHub repository reviewed on December 1, 2026. Because AutoFA is in Research Preview, its code, configs, and output formats may change without backward compatibility, and independent enterprise benchmarks or external API cost totals are not covered.

30-second summary

  • On November 30, 2026, NVIDIA open-sourced AutoFA (Apache-2.0 for code-only files; CC-BY-4.0 for docs, prompts, and assets) to automate failure analysis on model and agent evaluation traces.
  • Reading local NeMo Gym and Harbor folders or remote EvalRDL runs, it combines preflight cheating checks (autofa preflight cheating), efficiency metrics, top-down taxonomy labeling, and bottom-up Python detector generation.
  • In NVIDIA's comparison against a single-pass coding-agent baseline, AutoFA uncovered useful failure modes at a 31:1 ratio and achieved 78–90% detector adherence versus 60–69% for the baseline.
  • Because bottom-up detectors are executable Python scripts, teams can rerun them across future checkpoints to track whether specific failure mechanisms actually disappear.

Why aggregate scores fall short: two real failure modes

An evaluation score shows how often a model fails, not whether it misread a chart, gamed the harness, or ran into a flawed reference answer. Each root cause requires a completely different fix—training data, reward design, harness logic, or benchmark cleanup.

NVIDIA AutoFA GitHub repository page

NVIDIA highlights two concrete examples from its blog post:

  • Answering what benchmarks "usually want" (CharXiv, BabyVision): In chart tasks where no line stays above the rest, the model accurately noted the intersection in its trace, yet still picked a label across all three attempts because it assumed every question has an answer. This single habit accounted for 26% of BabyVision failures, 21% on CharXiv, and 12% on ChartQA Pro.
  • Inventing unwritten rules (DeepSWE v1.1): When asked to support character assignment on strings where s[-1] reads existed, coding agents invented a prohibition on negative-index writes borrowed from arrays and even deleted their own tests. That failure mode was the first or second largest failure driver on DeepSWE for GLM-5.3 (9/35), Kimi K3 (10/47), and Qwen 3.8 (10/48).

Advertisement

Two lenses: top-down taxonomy and bottom-up discovery

AutoFA runs two complementary analyses in parallel on the same evaluation traces so each lens checks the other.

NVIDIA AutoFA dual-lens failure analysis architecture diagram

Dimension Top-down classification (Taxonomy) Bottom-up discovery (Detectors)
Direction Maps failed rollouts to a fixed taxonomy (expanded from Scale AI) Mines traces to hypothesize and code recurring patterns
Core question How are failures distributed across known fault types? What unknown mechanism keeps breaking in this run?
Output One cited fault label per rollout + second-pass review Reusable Python detectors scored on coverage, precision, adherence
Fault split Model vs. harness vs. task/grader defects Runs across both passing and failing traces for regression checks

Across four visual benchmarks, top-down classification attributed an average of 55% of failures to observation errors and 8% to task or grader defects. However, on BabyVision, 89% fell into a single observation bucket. Pairing it with bottom-up discovery pinpointed actionable causes—such as 11% of CharXiv failures stemming from incorrect reference answers and 38% from quantity misreads.

Installation and Claude Code / Codex workflow

AutoFA requires uv and a signed-in Claude Code or Codex CLI. Even without your own logs, the repo ships three bundled LiveCodeBench sample runs (Inkling-Small, GLM-5.3-Flash, and NVIDIA-Nemotron-3.5-Super-VL).

git clone https://github.com/NVIDIA/AutoFA.git
cd AutoFA

# Option A: Let Claude Code or Codex drive setup and analysis (recommended)
# "Read AGENTS.md, set up AutoFA, and analyze these runs: <paths>"

# Option B: Install locally and launch the interactive menu
uv sync --python 3.12 --inexact
uv run --no-sync autofa

For unattended batch runs, pass a YAML config (uv run --no-sync autofa run --config examples/run-configs/frontier-23859c40d27a4c84.yaml). Results open in a local Library dashboard (http://127.0.0.1:8765) and persist under ~/.autofa/.

Research Preview caveats before adoption

Before wiring AutoFA into shared CI or production pipelines, keep three documented limitations in mind:

Developer workstation analyzing evaluation metrics and trace logs at dawn

  • No OS sandbox for detectors: Per README.md, detector execution is not OS-sandboxed, and the Library server uses a shared profile where anyone with the token can read and edit saved libraries.
  • Memory and LLM endpoint setup: Initial ingestion loads local runs into memory (very large histories can hit hydration batch limits), and judges/detectors require an OpenAI-compatible endpoint plus LLM_API_KEY in .env.
  • Optional artifact readers: Image codecs (Pillow, pypdfium2) are included, while Office, audio, and video inspection require separate installs (LibreOffice, FFmpeg, PyAV).

If you are building agent evaluation harnesses or self-hosted coding workflows, see our guides on Together AI Hurdle agent evaluations and DAIV 3.0 self-hosted coding agent.

Toris's take

If your team tweaks prompts or fine-tunes models based solely on pass-rate percentages, running AutoFA on your evaluation traces is a far faster way to isolate what actually broke. Turning recurring quirks—like faulty benchmark graders or agents inventing unwritten rules—into executable Python detectors lets you verify fixes cleanly on the next checkpoint.

Because detector execution is not OS-sandboxed, run AutoFA inside an isolated container or VM when inspecting untrusted traces, and review what trace data is sent to your configured LLM endpoint.

Sources

Advertisement