Skip to main content

NVIDIA AutoFA

Automated failure analysis for models and agent harnesses.

NVIDIA License Agents

Quick start · Workflows · Documentation · Tutorial · Contributing

AutoFA home menu in the terminal

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 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 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 three example LiveCodeBench runs for thinkingmachines/Inkling-Small, zai-org/GLM-5.3-Flash and nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-BF16. Follow the example reports and bundled-data tutorial 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.

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

Read AGENTS.md, set up AutoFA, and analyze these runs: <links or paths>.
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 and operating AutoFA through the driver 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:

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 and configuration.

See the results

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

Workflows

AutoFA overview: NeMo Gym, Harbor and EvalRDL runs pass optional preflight cheating checks, then two complementary workflows run in parallel: top-down taxonomy classification and bottom-up failure discovery (with optional efficiency metrics); optionally, one taxonomy category can be explored further with failure discovery. Results land in a browsable failure library, and a coding agent can drive every workflow.

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
Failure discovery Which recurring mechanisms cause failures, and how many rollouts does each explain? New analysis, autofa run Running an analysis · Detectors
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
Taxonomy classification Which known failure mode does each failed rollout belong to? Classify failures by taxonomy, autofa classify Taxonomy classification

Documentation

Topic Guide
Terms used throughout AutoFA Glossary
Agent-driven setup and operation Agent setup · Driver supervision · Driver skill
Sessions, resume, batch runs and unattended discovery Running an analysis
Inputs: local NeMo Gym / Harbor and remote EvalRDL Datasets and rollout selection · Local imports and traces
Models, endpoints, analysis settings and skills Configuration · LLM endpoints
Writing, validating and scoring detectors Detectors · Metrics and feedback
Office rendering, audio, video and speech readers Artifact inspection dependencies
Reports, saved libraries, publishing and storage Failure library and saved results
Token usage, spend and projections Usage and cost accounting

Known limitations

  • Discovery and model-based judging need your own model access, and the selected trace content is sent to the providers you configure.
  • The Library server uses a shared profile: anyone holding its token can read and modify that profile's libraries. Detector execution is not an operating-system sandbox. See SECURITY.md.
  • Initial reading of local runs holds the run in memory, so very large rollouts or expanded request histories can exceed the hydration batch budget. Supplying missing metadata labels currently rereads the original logs.
  • AutoFA installs no audio or video codecs, FFmpeg, PyAV or LibreOffice. Its dependencies do include image codecs: Pillow and pypdfium2 read formats such as JPEG, PNG, GIF, TIFF, WebP, AVIF and JPEG 2000. Office rendering and audio and video inspection need readers that you install as described in artifact inspection dependencies; a setup agent asks before installing them. Without them, Office page images and audio and video content are reported unavailable.

Support and contributing

Report bugs, feature requests and documentation questions through GitHub Issues, with a minimal reproduction using synthetic or otherwise authorized data. Release notes are published on GitHub Releases.

Bug fixes, documentation corrections and tests are welcome; for anything else, open an issue and agree the approach with a maintainer first. Read CONTRIBUTING.md for the contribution scope, DCO sign-off and maintainers. Participation follows the Code of Conduct.

Security

Report vulnerabilities privately through the channels in SECURITY.md. Keep credentials, private traces and personal information out of public issues and pull requests.

License

AutoFA is released under CC-BY-4.0 AND Apache-2.0: code-only files are Apache-2.0, while documentation, prompts, skills and assets follow the dual-license terms in LICENSE. Third-party material keeps its own terms, recorded in THIRD_PARTY_NOTICES.md.

Metadata

Release files for autofa 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autofa 0.1.0
File Size Uploaded Provenance Actions
autofa-0.1.0.tar.gz 3.2 MB Without provenance Details for autofa-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autofa 0.1.0
File Interpreter ABI Platform Actions
autofa-0.1.0-py3-none-any.whl Python 3 none any Details for autofa-0.1.0-py3-none-any.whl

Total release size: 5.7 MB

Release files / autofa-0.1.0.tar.gz

Download URL autofa-0.1.0.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
6d1500d6e2fbf0f79afc1866d191d17a203226514057ad09dbcfa235593b79fb
BLAKE2b-256 checksum
How to use checksums
cabe612d1d14169786641bc0413388ee4f2f0524c7ee13adcd971790c3ea34de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / autofa-0.1.0-py3-none-any.whl

Download URL autofa-0.1.0-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d7b44c3d5eb85700a7f71c62395c3c0bfddc4479f5f83a931b408cdf887731fd
BLAKE2b-256 checksum
How to use checksums
6795b10876dc613829a375d2b96f88558f3ecbad13bd2de6e3d30f7ce54459ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for autofa 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page