← Back to Leaderboard
Ahuggingface

huggingface/atif-scan

An offline-first, pluggable ATIF scanner for triaging agent benchmark runs

View on GitHub ↗
AI BenchmarkQuickstart ↓
Engineering Health (Methodology)
A · 86/100
Maintenance Activity
● Updated 8d ago
Latest Release
v0.8.24
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption11/25
Release Cadence20/20
License Clarity20/20
CLIMCP
Total Stars
★ 53
24h Growth
+0
7d Growth
+2
Forks
6

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

huggingface/atif-scan Star History (2026-10-08 - 2026-12-04) DAILY STAR HISTORY (37-DAY D1 TELEMETRY) +52 in 57d · avg +1/day 57 29 0 2026-10-08: ★ 12026-10-17: ★ 32026-10-24: ★ 32026-10-31: ★ 162026-11-04: ★ 192026-11-08: ★ 232026-11-12: ★ 262026-11-16: ★ 442026-11-20: ★ 502026-11-24: ★ 502026-11-28: ★ 512026-12-02: ★ 532026-12-04: ★ 53 ★ 53 10-08 11-05 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

atif-scan is a post-run ATIF analyzer. Source adapters resolve local paths and remote inputs; the loader normalizes records into a Trace; detectors, rules, and allowances feed the engine, which produces JSON or text reports. The analysis core uses only the Python standard library and never executes code or commands found in a trace. By default, detectors see agent-authored messages, reasoning, and tool-call arguments, while prompts, copied context, tool outputs, and payloads such as file contents and edits are excluded unless a check explicitly includes them.

atif-scan maps to atif_scan.cli:main; atif-inspect maps to atif_scan.evidence.extract:main and exposes step-level inspection without requiring the reviewer to parse ATIF manually. Task packs enter through --plugin, and --rules loads policy files. Allowances change the interpretation of matching findings without hiding them. At the CLI boundary, huggingface_hub>=2.0.0 and rich>=15.0.0 are imported lazily for Hub access and text rendering. The optional read-only MCP inspection path is separate from the scan engine.

Key Capabilities & Differentiators

The scanner ingests local traces, Hugging Face buckets, Harbor jobs, and mirrors of public DeepSWE trials with their trial index. It checks trace integrity across cost, trial, and token accounting; applies deterministic checks for signals such as benchmark awareness and reward hacking; and statically examines recorded Python and JavaScript tool programs and dispatch ledgers. Bundled allowances cover tb-21, DeepSWE, tb-4, and tb-lite. Recognized ALE receipts select canonical ATIF files, retain missing attempts, and enable the mounted-reference request pack; conflicting evidence remains unknown.

Run briefs surface coverage, score, a scenario treating flagged successes as failures, cost, and wall time; single-trace detail breaks results down by check. Severity sets review priority, not the probability of misconduct. Reviewers can opt into masked citations, a localhost evidence browser, or question bundles. hunt can send questions to a model via the default fast-agent runner, or use another MCP-capable CLI agent. Imported answers annotate the report without rescoring, and --image-model can transcribe images that block a check.

Trade-offs & Limitations

Compared with general LLM observability platforms, atif-scan focuses on auditing recorded ATIF runs rather than collecting live telemetry. Compared with an ad hoc script, it provides reusable rules, allowances, and a shared way to express missing evidence, but teams with other trace formats must first produce compatible input. Compared with a model-only judge, deterministic checks are easier to rerun and compare; they are also bounded by what was recorded and what each check is allowed to see. An allowance can encode legitimate task behavior, but overbroad allowances can make the score less informative even though the findings stay visible.

Use findings to route human review, not as automatic disqualifications. Masked citations and a read-only inspector serve different purposes: masking limits excerpt exposure, while read-only access prevents writes, not disclosure. Cache files, exports, and evidence sent to a model provider therefore need separate handling policies. MIT permits commercial use and self-hosting under its terms, but does not confer rights to the underlying traces.

Hardware & Deployment Guide

The package requires Python 3.11 or newer. The published CLI can be launched with uvx; development uses uv sync and uv run. Local scans over existing files are offline, with no GPU requirement for the default analysis path. Hugging Face and Harbor sources add network access for fetching and cache storage, with remote inputs mirrored under ~/.cache/atif-scan by default for incremental rescans. Plan CPU and memory around trace size and run volume, and budget disk separately for mirrors and evidence artifacts.

For hunt --inspect-tool, the optional MCP extra pins mcp>=1.2,<2; the server component can also be fetched with uv. The evidence browser runs on localhost. Model-assisted hunts explicitly add provider calls, and --image-model opts into model-based transcription; resource use and cost on those paths depend on the selected model and access method. The manifest and release listing identify v0.8.24, dated 2026-11-19. No release notes are available to attribute individual capabilities to that version.

Evidence scope: Default checks see agent-authored messages, reasoning, and tool-call arguments; prompts, tool outputs, and file or edit payloads require explicit inclusion.
Policy composition: --plugin and --rules add task-specific logic; allowances leave findings visible as expected but exclude them from scoring.
Input handling: Local paths, Hugging Face buckets, and Harbor jobs feed the same scan pipeline; remote mirrors support incremental rescans.
Static analysis: Inspect recorded Python and JavaScript tool programs and dispatch ledgers without executing trace contents.
Evidence review: Plain reports omit trace excerpts; --cite, --browse, atif-inspect, and read-only MCP offer separate ways to inspect the evidence.
Calibration: A label store measures checks and judges; golden prompt fixtures and allowlisted real-run snapshots support regression review.
Best For

Evaluation teams with recorded ATIF runs that need repeatable batch scans, task-specific allowances, and a clear path from a finding to human review.

Skip If

You need live telemetry collection, do not have or cannot produce ATIF traces, or need a definitive automated misconduct verdict.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLIMCP
uvx atif-scan@latest --help
uvx --from atif-scan@latest atif-inspect --help

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/huggingface/atif-scan.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

huggingface/atif-scan Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about atif-scan

How should we integrate atif-scan into an existing evaluation pipeline?

Use atif-scan with JSON output as the CI integration point. For task-specific behavior, load checks with --plugin and rules with --rules, then use allowances to distinguish expected findings from review candidates. Keep the original benchmark outcome separate from scan findings, and preserve unknown evidence as unknown. Use atif-inspect or the read-only MCP server when reviewers need to examine individual steps.

Does it need a GPU, and what drives resource usage?

The default scanner uses standard-library Python for analysis and has no GPU or VRAM requirement. Size local jobs around trace size and run volume, and budget disk for remote mirrors and any exported evidence. Image transcription and model-assisted judging are separate, opt-in paths; their cost and resource requirements depend on the selected model and how it is accessed.

Can we use it commercially and keep evaluation traces private?

The package is MIT-licensed, so commercial use and self-hosting are permitted under its license terms. That license does not grant rights to downloaded or recorded traces. Set access and retention rules for mirrors, citations, highlights, and review bundles, and decide whether evidence may be sent to a model provider before enabling model-assisted review.

When is it a better choice than custom scripts, observability platforms, or a model-only judge?

Use atif-scan when your inputs are ATIF trajectories and you need task-scoped, repeatable triage with explicit allowances and coverage gaps. A custom script may be simpler for one stable check; a general observability platform is a better fit when live collection is the priority. A model judge can provide a second opinion, but atif-scan keeps judge answers as annotations rather than using them to rescore findings.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining huggingface/atif-scan? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature huggingface/atif-scan on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare