RepoNVIDIANVIDIApublished Nov 17, 2026seen 4d

NVIDIA/AutoFA

Python

Open original ↗

Captured source

source ↗
published Nov 17, 2026seen 4dcaptured 4dhttp 200method plain

NVIDIA/AutoFA

Description: Research preview: Diagnose known failure modes and uncover emerging ones in agent traces, building a reusable knowledge bank.

Language: Python

License: NOASSERTION

Stars: 7

Forks: 1

Open issues: 2

Created: 2026-11-17T11:50:56Z

Pushed: 2026-11-23T20:27:52Z

Default branch: main

Fork: no

Archived: no

README:

A reward tells you *that* an agent failed, not *why*. AutoFA is a toolkit for reading completed evaluation runs (local NeMo Gym and Harbor folders or remote EvalRDL runs) and explaining their failures from complementary angles: bottom-up discovery and top-down taxonomy classification run in parallel on the same data. It lets you:

  • Screen first: run preflight checks that flag rollouts where the agent gamed the evaluation.
  • Discover (bottom-up): let Claude Code or Codex mine the traces for recurring failure

mechanisms, write reusable Python detectors, and measure their coverage and supporting evidence.

  • Classify (top-down): label every failed rollout with one mode from a fixed taxonomy using

an LLM or agentic judge, separating model faults from harness faults.

  • Measure: alongside or after discovery, compare tokens, context, turns, tool use and cost

between correct and incorrect rollouts.

  • Explore and share: browse failure cards, source traces and highlighted evidence in a local

library, then publish detectors and reuse them on new runs.

  • Delegate: describe the goal to your coding agent and let the bundled

[driver skill](agent-skills/autofa-driver/SKILL.md) set up, launch, monitor and explain the work.

Two lenses, one picture

Discovery and taxonomy classification answer different questions and work best together.

| | Failure discovery | Taxonomy classification | |---|---|---| | Direction | Bottom-up: patterns emerge from the data | Top-down: failures are mapped onto known categories | | Question | *What keeps going wrong in this run?* | *How are failures distributed across known modes?* | | Output | Reusable Python detectors with coverage and evidence | One failure mode per rollout, with cited events | | Best for | New benchmarks, unknown mechanisms, regression detectors | Comparable breakdowns across models, harnesses and runs |

Use a taxonomy bucket as the starting cohort for [discovery](docs/taxonomy-classification.md#continue-with-failure-discovery) to dig into one category, and let discovery surface mechanisms that no taxonomy anticipated.

Quick start

Want to try AutoFA but do not have evaluation logs? The repository includes two example LiveCodeBench runs for Inkling and GLM. Follow the [example reports and bundled-data tutorial](eval_data/README.md) to browse their ready-made analyses without running AutoFA, or run AutoFA yourself on the included rollout archives.

You need `uv` and a signed-in Claude Code or Codex CLI. Clone the repository:

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

Then choose one of the following ways to use it.

Option A: ask your coding agent (recommended)

Open the checkout in Claude Code or Codex and describe what you want:

Read AGENTS.md, set up AutoFA, and analyze these runs: .
Aim for eight supported failure modes with high combined recall by end of day.

The agent installs AutoFA, asks before installing optional readers such as LibreOffice or audio and video support, registers the autofa-driver skill and continues as your analysis driver: it helps choose models and effort, picks the right workflow, monitors progress, and summarizes findings with suggested next steps. Leave out the analysis goal to set up only. Later, invoke the skill directly with /autofa-driver in Claude Code or $autofa-driver in Codex. See [agent setup](docs/agent-setup.md) and [operating AutoFA through the driver](docs/driver-supervision.md) for monitoring, stopping and cost reporting.

Option B: run it yourself

Install the environment and open the interactive home menu:

uv sync --python 3.12 --inexact
uv run --no-sync autofa

Choose New analysis for discovery (with optional efficiency metrics and preflight checks), Classify failures by taxonomy for top-down labelling, or Explore failure library to browse saved results. For unattended or reproducible runs, describe the whole job in a YAML file and use [batch mode](docs/workflows.md#batch-runs):

uv run --no-sync autofa run --config examples/run-configs/frontier-23859c40d27a4c84.yaml

LLM judges and LLM detectors use an OpenAI-compatible endpoint that you configure under Settings > LLM endpoints; if it needs a key, store it as LLM_API_KEY in the project .env. See [LLM endpoints](docs/llm-endpoints.md) and [configuration](docs/configuration.md).

See the results

AutoFA starts a local dashboard automatically. Open the Library link it prints (default ) to browse failure cards, source traces and reports. See the [failure library guide](docs/library.md) for saving, publishing and reusing results. Results persist under ~/.autofa/.

Workflows

| Workflow | What it answers | Start it with | Guide | |---|---|---|---| | Preflight check: cheating (runs first) | Did the agent look up the answer or tamper with the grader? | autofa preflight cheating | [Preflight cheating checks](docs/cheating-check.md) | | Failure discovery | Which recurring mechanisms cause failures, and how many rollouts does each explain? | New analysis, autofa run | [Running an analysis](docs/workflows.md) · [Detectors](docs/detectors.md) | | Efficiency metrics (alongside or after discovery) | How do correct and incorrect rollouts differ in tokens, context, turns, tools and cost? | Analysis settings > Analyses to run | [Efficiency metrics](docs/efficiency.md) | | Taxonomy classification | Which known failure mode does each failed rollout belong to? | Classify failures by taxonomy, autofa classify | [Taxonomy classification](docs/taxonomy-classification.md) |

Documentation

| Topic | Guide | |---|---| | Terms used throughout AutoFA | [Glossary](docs/glossary.md) | | Agent-driven setup and operation | [Agent setup](docs/agent-setup.md) · [Driver supervision](docs/driver-supervision.md) · [Driver skill](agent-skills/autofa-driver/SKILL.md) | | Sessions,...

Excerpt shown — open the source for the full document.