Hardcore Reviews
Hardcore Reviews

AI Red Teaming Tools Compared: promptfoo vs DeepEval vs Garak and 3 More

With the EU AI Act's adversarial robustness mandate now enforceable, OWASP ASI 2026 targeting agentic apps, and OpenAI's Astra paused, red teaming is mandatory. This review compares six tools-promptfoo, DeepEval, Garak, NeMo Guardrails, PyRIT, and Inspect AI-drawing the line between red teaming, evaluation, and guardrails, with selection guidance by need. Representative comparison, not a hands-on benchmark; star counts verified via GitHub API.

Published August 10, 20268 min read
<!-- ai-red-teaming-tools-comparison-review | review | AI Red Teaming Tools Compared: promptfoo vs DeepEval vs Garak and 3 More -->

In August 2026, AI red teaming shifted from "nice to have" to "can't ship without it." The EU AI Act's adversarial robustness testing mandate for high-risk systems became enforceable this month, OWASP released ASI 2026 (security testing standards for agentic applications), and this week OpenAI paused its Astra autonomous test over loss-of-control risks—red teaming suddenly became mandatory for every AI team. But when you actually start, the first question is which tool: promptfoo leads with 24k stars, DeepEval feels like pytest, NVIDIA's Garak scans for vulnerabilities, Microsoft's PyRIT and the UK government's Inspect AI bring official backing, and NeMo Guardrails sounds like red teaming but is really a runtime guardrail. This review lays all six side by side.

Scope first: this is based on each tool's GitHub README, official site, and public reviews from Kosmoy/Confident AI, as of 2026-08-10. Star counts verified via GitHub API (promptfoo 24,090★, DeepEval 17,493★, Garak 8,746★, NeMo Guardrails 6,900★, PyRIT 4,270★, Inspect AI 2,514★). This is a representative comparison, not a personal benchmark; pricing per each official site. This site also published the Astra pause hotspot (why red teaming suddenly matters) and the red teaming SOP (how to use the tool you pick)—this piece covers the "selection" step.

One: Why AI Red Teaming in 2026

Three forces pushed red teaming into a must-have. First, the EU AI Act's compliance requirements for high-risk AI systems (healthcare, hiring, credit scoring, etc.) entered the enforceable phase in August 2026, explicitly requiring adversarial robustness testing—not a "recommendation," but fail-and-it's-illegal. Second, OWASP released ASI 2026 (Agentic Security Initiative), shifting the testing focus from single-turn prompts to agentic applications: agents can call tools and execute multi-step flows, so the attack surface is an order of magnitude wider than a chatbot, and traditional "input filtering" no longer suffices. Third, this week OpenAI paused its Astra autonomous test over loss-of-control risks (see this site's hotspot analysis)—a top lab's internal red team couldn't catch it in advance, showing current test coverage is far from enough.

The result: red teaming went from "an optional hardening step before launch" to "a mandatory gate before launch." But which tool to use—there's no industry consensus yet. That's what this piece breaks down.

Two: Six-Tool Comparison—Specs Table

Six representative tools, compared across positioning, stars, language, license, vendor, and best scenario.

ToolPositioningStarsLanguageLicenseVendorBest for
promptfooPrompt/agent/RAG testing + red team24,090★TypeScriptMITCommunityCI-integrated red team + eval
DeepEvalLLM evaluation framework17,493★PythonApache-2.0Confident AIpytest-style evaluation
GarakLLM vulnerability scanner8,746★PythonApache-2.0NVIDIAVulnerability probing/jailbreak scan
NeMo GuardrailsRuntime guardrails6,900★PythonApache-2.0NVIDIAInput/output protection (not red team)
PyRITGenerative AI risk identification4,270★PythonMITMicrosoftAutomated multi-turn adversarial probing
Inspect AILLM evaluation framework2,514★PythonMITUK Gov AISIRigorous research-grade eval

A few clarifications. First, promptfoo has the most stars (24k) but it's TypeScript; the other five are Python—check your stack before selecting. Second, vendor backgrounds fall into four buckets: community (promptfoo), startup (DeepEval, backed by Confident AI), big tech (NVIDIA's two + Microsoft's PyRIT), and government (the UK AISI's Inspect AI). Third, a key insight: not all six are red teaming tools. promptfoo/PyRIT/Garak lean toward offensive red teaming, DeepEval/Inspect AI lean toward evaluation, and NeMo Guardrails is a runtime guardrail—three different things, broken down below.

Three: One by One—Each Tool's Best Range

promptfoo: simplest config, top pick for CI red teaming. 24,090★, TypeScript, MIT. Positioned as "test your prompts, agents, and RAGs, with red teaming/pentesting"—a single YAML config runs everything: declare the target, red team strategies (jailbreak, prompt injection, PII leakage, etc.), and test count; one CLI command generates attack cases and scores them. Its strength is CI-friendliness: runs in GitHub Actions, outputs JSON/HTML reports, and can gate releases on a pass threshold. Shortcoming: evaluation metrics aren't as granular as DeepEval—it leans toward "was it broken" rather than "how bad was the output after being broken." Best for: engineering teams wanting red teaming inside their CI pipeline. Minimal config example:

yaml
# promptfoo red team minimal config
description: "Customer support bot red team test"
targets:
  - file://my-chatbot.py
redteam:
  purpose: "Banking customer support chatbot"
  strategies:
    - prompt-extraction
    - jailbreak
    - pii-leakage
  numTests: 20

DeepEval: pytest-style evaluation, most comprehensive metrics. 17,493★, Python, Apache-2.0, backed by Confident AI. An LLM evaluation framework offering 50+ metrics (faithfulness, relevance, toxicity, bias, etc.), written just like pytest—decorate test cases, assert on metric scores. Its strength is granular evaluation: not just "did it answer right," but "did the answer hallucinate, is it biased." Shortcoming: red teaming is an add-on (it has a red teaming module but less specialized than PyRIT/Garak), leaning more toward "quality evaluation" than "attack simulation." Best for: teams that want to quantify model quality and write evaluation test suites.

Garak: LLM vulnerability scanner, broadest probe coverage. 8,746★, Python, Apache-2.0, from NVIDIA. Clearly positioned as "the LLM vulnerability scanner," with a large library of probing modules: jailbreaks, data leakage, prompt injection, malicious code generation, and more—one command runs the full probe suite against a model and reports which attack surfaces were broken. Its strength is broad attack-surface coverage, out of the box. Shortcoming: it's more "scanning" than "evaluation"—it tells you where the leaks are, not how good the answers are; config flexibility trails promptfoo. Best for: a one-time vulnerability checkup before launch.

NeMo Guardrails: runtime guardrail, not a red teaming tool. 6,900★, Python, Apache-2.0, from NVIDIA. Positioned as "add guardrails to LLM applications"—it intercepts between input and output: filters malicious prompts, restricts topics, controls dialogue flow. Key insight: it's a protection layer, not a testing tool. Red teaming "finds vulnerabilities before launch"; guardrails "block attacks after launch." It's included in this comparison to draw the boundary—don't assume that installing Guardrails means you've done red teaming. Best for: real-time protection for live applications, used alongside red teaming tools, not as a replacement.

PyRIT: Microsoft's red teaming tool, strongest multi-turn adversarial. 4,270★, Python, MIT, from Microsoft. Full name Python Risk Identification Tool for generative AI; it automates multi-turn adversarial probing—not a single-turn prompt throw, but simulating multi-turn dialogue that escalates the attack step by step. Its strength is multi-turn adversarial: closer to real attacker behavior, well-suited for testing agentic applications. Shortcoming: research-script style, docs less friendly than promptfoo, CI integration requires custom wrapping. Best for: research-oriented teams, scenarios testing multi-turn agent security.

Inspect AI: from the UK government, most rigorous research-grade eval. 2,514★, Python, MIT, from the UK government's AISI (AI Safety Institute). An LLM evaluation framework—the same family of tools used by the people testing OpenAI's Astra (the safety testing behind this week's Astra pause hotspot relies on this type of framework). Its strength is methodological rigor: supports complex evaluation workflows, dataset management, and reproducibility. Shortcoming: lowest star count, smallest community, setup leans toward a research framework rather than an engineering tool. Best for: academic/policy research, institutions needing rigorous reproducible evaluation.

Four: Red Team / Evaluation / Guardrails—Don't Confuse the Three

This is the most important insight in this piece: these three categories solve different problems.

  • Red teaming (probing/attack): before launch, actively simulate attacks to find vulnerabilities. Representatives: promptfoo, PyRIT, Garak. Asks "can it be broken."
  • Evaluation (eval/metrics): measure whether model quality and behavior meet expectations. Representatives: DeepEval, Inspect AI. Asks "how well does it answer."
  • Guardrails (runtime protection): after launch, intercept malicious inputs and outputs in real time. Representative: NeMo Guardrails. Asks "how to block."

The most common mistake: installing NeMo Guardrails and assuming "we've done red teaming"—guardrails block known patterns, red teaming finds unknown vulnerabilities, and the two are not interchangeable. A complete security practice is: red team to find vulnerabilities → evaluate to quantify impact → guardrails to block attacks → red team again to test whether the guardrails can be bypassed. This site's red teaming SOP covers how to operationalize this flow.

Five: Selection Advice—Pick by Need

Second table, by need, with direct conclusions.

Your needTop pickReason
Red teaming in CI, simplest configpromptfooYAML config, CI-friendly, top stars
Quantify model quality, write eval suitesDeepEval50+ metrics, pytest-style, most comprehensive
One-time vulnerability checkup before launchGarakVulnerability scanner, broad coverage, out of the box
Test multi-turn agent securityPyRITMicrosoft-backed, multi-turn adversarial probing
Rigorous reproducible research-grade evalInspect AIUK AISI-backed, most rigorous methodology
Real-time protection for live appsNeMo GuardrailsRuntime guardrail (use with red team, not instead)

Most teams' actual combination: promptfoo or Garak for red teaming + DeepEval for evaluation + NeMo Guardrails for live protection. You don't need all six—pick by your stage.

Six: Three Pitfalls

One: high stars don't mean right for you. promptfoo has the most stars (24k) but leans toward CI engineering scenarios; PyRIT has only 4,270★ yet is a powerhouse for multi-turn adversarial research. Pick by need, not by star count—stars reflect community heat, not your fit.

Two: guardrails and red teaming are two different things. NeMo Guardrails is a protection layer; installing it doesn't mean you've done red teaming. Guardrails block known patterns; red teaming finds unknown vulnerabilities. The full flow is red team → evaluate → guardrails → red team again. This site's red teaming SOP has the complete breakdown.

Three: without CI integration, it's a one-off. The biggest pitfall in red teaming is "run it once before launch and shelve it." Model iterations and prompt changes introduce new vulnerabilities—red teaming must run in CI on every release. promptfoo fits this best, DeepEval second. Pair it with the tool calling SOP to understand your agent's tool capability boundaries, so you know which attack surfaces to test.

Seven: FAQ

Q: What's the difference between red teaming and evaluation? A: Red teaming actively simulates attacks to find vulnerabilities ("can it be broken"); evaluation measures model quality and behavior ("how well does it answer"). promptfoo/PyRIT/Garak lean red team, DeepEval/Inspect AI lean evaluation—they're complementary, not mutually exclusive. A complete security practice needs both.

Q: I don't know Python—can I still do red teaming? A: Yes. promptfoo is written in TypeScript and config-file-driven—you can run red teaming without writing code. The other five all require Python. If your team is in the Node ecosystem, promptfoo is the only natural fit.

Q: Can NeMo Guardrails replace red teaming? A: No. Guardrails is a runtime layer that blocks known attack patterns; red teaming finds unknown vulnerabilities before launch. You still need red teaming even with guardrails installed, because the guardrails themselves can be bypassed. Use them together.

Q: PyRIT and Garak both lean red team—which one? A: Depends on whether you need multi-turn. PyRIT excels at multi-turn adversarial probing (escalating attacks step by step), suited for testing agentic applications; Garak excels at broad single-turn vulnerability scanning, suited for a pre-launch checkup. Testing agents, pick PyRIT; testing single-turn models, pick Garak.

Q: The EU AI Act mandates red teaming—which tool helps with compliance? A: The Act requires the process and documentation of "adversarial robustness testing," without mandating a specific tool. promptfoo (generates reports, CI-integrable, well-documented) and Inspect AI (rigorous methodology, reproducible) are best suited for producing compliance evidence. The exact format depends on what your legal team accepts.


References

This article is AI-assisted and human-edited. Last updated: 2026-08-10

FAQ

What's the difference between red teaming and evaluation?
Red teaming actively simulates attacks to find vulnerabilities ("can it be broken"), while evaluation measures model quality and behavior ("does it answer well"). promptfoo/PyRIT/Garak lean red team; DeepEval/Inspect AI lean evaluation. They're complementary, not exclusive-a complete security practice needs both.
Can I do red teaming without Python?
Yes. promptfoo is written in TypeScript, config-file driven, and can run red teams without writing code. The other five all need Python. For Node-ecosystem teams, promptfoo is the only natural fit.
Can NeMo Guardrails replace red teaming?
No. Guardrails is a runtime guardrail that blocks known attack patterns; red teaming finds unknown vulnerabilities before launch. You need both, because guardrails themselves can be bypassed.
PyRIT and Garak both lean red team-which to pick?
Depends on whether you need multi-turn. PyRIT excels at multi-turn adversarial probing (escalating attacks step by step), good for agentic apps. Garak excels at broad single-turn vulnerability scanning, good for pre-launch checkups. Test agents with PyRIT, single-turn models with Garak.
The EU AI Act mandates red teaming-which tool is compliant?
The Act requires the process and documentation of "adversarial robustness testing," not a specific tool. promptfoo (reportable, CI-integrable, well-documented) and Inspect AI (rigorous methodology, reproducible) are best for producing compliance evidence. Final format subject to your legal team's acceptance.

Related

Hardcore Reviews

KV Cache Gap of 39x: Four Open-Weight Agent Flagships Compared

Four open-weight flagships compared: MiniMax M3.1 Flash (428B/23B active), DeepSeek V4.1 Flash 1017, GLM-5.3, and Kimi K3 - all four appear in MiniMax's official model-card comparison table, so calibers align naturally, with two caveats stated upfront: the whole table was run by MiniMax alone (the card admits it), and each benchmark used a different harness (Terminal-Bench 4.0 on Codex 0.149.1, DeepSWE on mini-SWE-agent at 512K, CyberGym on Claude Code); every M3.1 Flash score is vendor-reported with no third-party replication. The only third-party ruler is the AA Intelligence Index: DeepSeek 1017 at 45, M3.1 Flash 42, M3 at 29 (GLM-5.3's 59 is a different index in a different month, directional only). The real efficiency gap sits in KV cache: DeepSeek 1017 officially uses 890 bytes per token against M3.1 Flash's 34,560 (vLLM engineering figure) - a roughly 39x memory difference for self-hosted long context. There is no official M3-to-M3.1 benchmark table, only three claims (near-3x speed, 200+ tok/s, 70 percent lower agentic cost with no published method), a price cut (0.30/1.20 to 0.15/0.60 dollars), and vLLM engineering data (weights 451.5 to 250.1GB, KV 61,440 to 34,560 bytes per token). Price panorama: M3.1 Flash at 0.15/0.60 dollars with 0.015 cache; DeepSeek matches off-peak but charges 0.003 cache and doubles at peak; GLM-5.3 at 8/28 yuan with 2 cache; K3.1 Pro at 2/10 dollars (media-cited screenshot). The Kimi trap: K3's 12.6 on TB4.0 versus K3.1 Pro's self-reported 65.7 shipped early October 24 differ in version and harness, and K3.1 Pro weights only land before November 4. Contradictions listed without adjudication: Automation-Bench 62.2 versus 62.8, 428B versus 220B HF metadata, checkpoint sizes 250.1/233/220GB.

Oct 24, 20268 min read
Hardcore Reviews

Open Weight, But How Open? Five Model Licenses Compared

Five open-weight models crowded into the same mid-October 2026 window, all saying 'open source' - and the substance spans three tiers. Tier A, genuinely open: Reflection Beam under Apache 2.0 with zero riders and ungated downloads; DeepSeek V4.1 Flash 1017 under MIT with zero riders; NVIDIA Nemotron 3.5 Bolt 74B-A9B under OpenMDW-1.1 and the only one of the five to publish weights, training data, and recipes together. Tier B, open weights with riders: Meta Muse Spark Open carries an attribution duty that extends to distilled products (models trained on its outputs must also display Built with Muse Spark Open), a 20-million-dollar annual-revenue threshold for MaaS resale, and gated HF downloads - legally not open source. Tier C, promise unfulfilled: Mistral Large 4 had no weights as of October 23, a license with no name, and an AA classification of proprietary. On the shared ruler of AA Intelligence Index v4.3.2: GLM-5.3 at 45, Kimi K3 at 44, DeepSeek 39.5 about even with Muse at 39, Mistral 38, and Beam 30 (Beam has no public API; its score comes from self-hosted inference). Self-reported DeepSWE and Terminal-Bench numbers use different harnesses and versions and cannot be compared directly. Hardware accessibility spans two orders of magnitude, from Bolt's single 24GB card to Muse's 700GB+ NVFP4 and Beam's 294GB checkpoint (about 400GB of memory to start). The piece includes an eight-dimension license table, a watering-down spectrum (attribution > revenue threshold > gated download > late weights > unnamed license > closed data), and per-use-case protocol advice; single-model deep dives for Muse and Beam live in their own articles.

Oct 23, 20268 min read
Hardcore Reviews

FLUX 3 Max: Four Official Speed Numbers, Who's Inflating 22x?

fal Research and Black Forest Labs launched FLUX 3 Max on October 19, 2026. It is not a new foundation model but a post-trained, reinforcement-learned and inference-optimized version of BFL's FLUX 3, with fal handling post-training and systems work while BFL supplies the base. The official speed and Elo table (Elo from the preliminary Artificial Analysis AA-Video-I2V v1.1 board; generation time averaged over a 10-second 16:9 video at 720p/768p) reads: FLUX 3 Max at 1,139 Elo and 12.45 seconds, Gemini Omni Flash 1.1 at 1,134 and 47.37 seconds, MiniMax H3 at 768p with 1,141 and 83.26 seconds, FLUX 3 at 1,089 and 126.44 seconds, Wan 3.0 at 1,127 and 180.16 seconds, and Seedance 2.5 at 1,139 and 277.80 seconds, across 4,868 votes - with MiniMax H3 listed first on the board and fal's own first-place claim resting on overlapping confidence intervals. The real story is that fal publishes four different speed numbers: 12.45 seconds on its landing page, 10.95 in the news release, about 11 on the API model page, and 12 on BFL's site; the multipliers come in both 22x and 25x, and the speedup over the original FLUX 3 is quoted as both 10x and 11.5x, while fal's own pricing table lists 0.085 dollars per second next to the model page's 0.0425. More important, the 277.80 seconds for Seedance 2.5 comes purely from fal - ByteDance has never published a generation-time benchmark for that model, and fal does not say which resolution tier produced it, so the same-quality premise is not closed; independent testing found only about 10x. Mechanically FLUX 3 Max exposes a reasoning_level parameter that includes prompt expansion while Seedance 2.5 has no counterpart, fal's timing excludes prompt expansion, decoding and upload, and the two differ on reference-material limits, keyframe mechanics, and editing or continuation endpoints. Pricing: 0.0425 dollars per second promotional and 0.17 list at 720p, 0.0725 and 0.29 at 1080p, with 75 percent off running from October 15 to November 7.

Oct 22, 202610 min read