AI red teaming tools: what each one tests and where its attacker model goes

AI red teaming tools compared: promptfoo, PyRIT, garak, Inspect, DeepEval, Giskard and more, with licenses, what each tests and how to set the attacker model.

Updated 13 min readRed TeamingSecurityToolsCompare

Quick answer

AI red teaming tools are frameworks that send adversarial inputs to your own model or app and score the replies. Of the 9 open-source tools we checked on 2026-11-29, all are MIT or Apache-2.0 and 8 can have an LLM write the attacks. PyRIT's and DeepEval's docs both say a safety-filtered attacker model limits results, so where each tool sets that model matters as much as its probe list.

How AI red teaming tools work

An AI red teaming tool sends adversarial inputs to a target and scores the replies. The target is your model, your app's endpoint or your agent. The inputs either come from a fixed library of known attacks or are written on the fly by a second model, the attacker. A third model, the judge, often decides whether each reply is a failure. The tools differ mostly in where the inputs come from and how much of the loop you control.

This page covers testing LLM apps. For agents that pentest your networks and web applications, see AI pentesting tools.

Role What it does Who supplies it
Target The system under test: model, system prompt, tools, retrieval, guardrails You
Attacker Writes or adapts adversarial inputs: prompt injections, role-play setups, social-engineering pretexts The tool's own service, a model you configure, or a static dataset
Judge Reads each reply and scores it against a rubric A model you configure, or pattern-matching detectors

This page compares the tools. For the case for red teaming itself, and how to run a program around it, see AI red teaming. For a step-by-step run, see how to red-team your LLM app.

Disclosure. Abliterator sells abliterated models that can serve as the attacker and judge in these tools, so we have an interest here. Every tool below is free and none of them requires Abliterator. We opened each repository, release page and docs page on 2026-11-29; stars come from the GitHub API and versions from PyPI, npm or GitHub releases on that date.

The tools compared

These are the nine open-source tools we checked, and all nine are MIT or Apache-2.0. Stars and versions change weekly; these were checked 2026-11-29.

Tool Maintainer License GitHub stars Latest version
promptfoo Promptfoo, now part of OpenAI MIT 27,812 0.126.0 (2026-11-18)
DeepEval Confident AI Apache-2.0 19,732 4.3.6 (PyPI)
garak NVIDIA Apache-2.0 10,237 0.17.1 (2026-10-16)
A.I.G Tencent Zhuque Lab Apache-2.0 7,799 4.6.12 (2026-11-26)
Giskard Giskard Apache-2.0 5,977 3.0.1 (PyPI)
PyRIT Microsoft AI Red Team MIT 5,189 1.2.1 (2026-11-18)
Inspect AI UK AI Security Institute MIT 3,365 0.3.292 (2026-11-23)
Augustus Praetorian Apache-2.0 330 0.14.57 (2026-11-24)
Spikee Reversec Labs Apache-2.0 279 0.9.5 (PyPI)

What each one tests, and where its attacker model is set:

Tool Attack prompts Prompt injection Data leakage Agents and tools Attacker LLM Where you set it
promptfoo Yes Yes, direct and indirect PII, prompt extraction Yes, incl. MCP and coding agents Yes: promptfoo's remote service by default, or your own redteam.provider, with PROMPTFOO_DISABLE_REDTEAM_REMOTE_GENERATION=true
PyRIT Yes Yes Through scorers you define Through HTTP, WebSocket and Playwright targets Yes, for adaptive multi-turn attacks AttackAdversarialConfig(target=...)
garak Yes Yes Yes Some probes Only the atkgen, TAP and GOAT probes Probe options: red_team_model_* or attack_model_*
Inspect AI Through evals you write or install Yes, e.g. AgentDojo Through evals you write Yes, through agent evals such as AgentDojo None built in; your solver calls a model Model roles: --model-role and get_model(role=...)
DeepEval Yes Yes PII and prompt leakage Yes, agentic vulnerability classes Yes, the simulator model simulator_model= in red_team()
Giskard Yes Yes Not listed in the README Multi-turn agent scenarios Yes, scan generators giskard-llm provider settings
A.I.G Yes Yes PII leakage scenarios Agent, MCP and skill scans Yes, the simulator model --simulator_model
Augustus Yes Yes Data extraction probes Through custom REST targets Yes, for PAIR, TAP and multi-turn engines probes.attacker_generator_type and attacker_config
Spikee Yes Yes, the main focus System prompt extraction datasets Through custom targets Only LLM plugins and dynamic attacks The model option of each plugin or attack

The open-source tools, one by one

Each entry below says what the tool is for, who maintains it and how it chooses the model that writes attacks.

promptfoo

promptfoo is a CLI and library for evals and red teaming, driven by one YAML file. Its plugin list has 157 plugins across 6 categories, including prompt-extraction, pii:direct, rbac, bola, excessive-agency, indirect-prompt-injection, mcp and a coding-agent:* family, plus framework presets such as owasp:llm, mitre:atlas and nist:ai:measure. Plugins choose what to test; strategies such as Crescendo, GOAT and Hydra choose how to deliver each attack.

OpenAI announced it would acquire promptfoo on 2026-03-09. The README now says "Promptfoo is now part of OpenAI. Promptfoo remains open source and MIT licensed."

Two details matter for the attacker model. By default, promptfoo generates attacks with its own remote service; setting PROMPTFOO_DISABLE_REDTEAM_REMOTE_GENERATION=true makes it use the redteam.provider you configure (configuration docs). And its strategy list marks some strategies, including GOAT, Hydra and the meta and composite strategies, as using remote inference in the Community edition, so check that list before you count on fully local generation.

PyRIT

PyRIT, the Python Risk Identification Tool, is built by the Microsoft AI Red Team. It ships a command-line scanner, a browser GUI (CoPyRIT) and a Python framework of targets, converters, scorers and attacks. Its multi-turn attacks include Red Teaming, Crescendo and Tree of Attacks with Pruning (TAP). It reaches apps through HTTP, WebSocket and Playwright browser targets as well as model APIs.

Adaptive multi-turn attacks take two models: the objective target you test, and an adversarial chat model that writes each next prompt. Fixed-script attacks such as Multi-Prompt Sending need only the target. PyRIT suits a security team that wants to script campaigns in Python and read every turn.

garak

garak, from NVIDIA, is a scanner. Its README says it probes for hallucination, data leakage, prompt injection, misinformation, toxicity generation and many other weaknesses, and compares itself to nmap and Metasploit. You pick probe families, garak sends their prompts to the target, and detectors score the replies.

Most probes are static prompt sets, so garak usually needs no attacker model. Three probe modules use one. atkgen defaults to a small GPT-2 attack model on Hugging Face. TAP defaults to mistralai/Ministral-8B-Instruct-2410 as the attacker, with gpt-5-nano as the evaluator. GOAT defaults to Qwen/Qwen3-4B-Thinking-2507. Each is set in that probe's options, separately from the target.

Inspect AI

Inspect, from the UK AI Security Institute, is an evaluation framework rather than an attack tool. Its README lists over 200 pre-built evaluations, and the inspect_evals repository includes security-relevant ones such as AgentDojo (prompt injection against agents) and XSTest (over-refusal).

Inspect has no built-in attacker. For a custom red-team eval you write the solver, and its model roles let you bind names such as grader or red_team to different models on the command line. Built-in model-graded scorers look for the grader role by default. Choose Inspect when results must be reproducible and comparable across models.

DeepEval (formerly DeepTeam)

DeepEval, from Confident AI, is an LLM evaluation framework whose deepeval.red_team module simulates attacks and scores the replies. Its docs list 40+ vulnerabilities (bias, toxicity, PII leakage and misinformation among them) and 10+ attack methods, single-turn and multi-turn. Each vulnerability has its own metric, scored pass or fail by an LLM judge.

DeepTeam, Confident AI's separate red-teaming package, has moved into DeepEval: deepeval.red_team is available from deepeval 4.3.6, and the deepteam package is deprecated on January 30, 2027. The attacker is the simulator_model and the judge is the evaluation_model; both default to OpenAI.

Giskard

Giskard v3 is a rewrite for multi-turn testing of agents. Its giskard-scan package runs a vulnerability scan generated from a plain-language description of your agent, covering prompt injection, stereotypes, misinformation and other OWASP LLM Top 10 categories. giskard-checks adds scenario tests with LLM judges. Giskard v2 is still available but no longer actively maintained, and v3 needs Python 3.12 or later.

Scan generators and judges need an LLM. They route through giskard-llm, whose openai/ provider accepts a base_url.

Augustus, Spikee and A.I.G

  • Augustus, from Praetorian, is a single Go binary with 210+ probes for prompt injection, data extraction and other attack types, per its README. Its multi-turn engine uses three LLMs (attacker, target and judge), and the attacker is set with attacker_generator_type and attacker_config.
  • Spikee, from Reversec Labs, focuses on prompt injection against LLMs, LLM applications and guardrails, from seed datasets. Its LLM-based plugins and dynamic attacks take a model option that defaults to openai/gpt-4o.
  • A.I.G (AI-Infra-Guard), from Tencent Zhuque Lab, combines agent, skill, MCP and AI-infrastructure scans with prompt-security evaluation of any OpenAI-compatible model. Its prompt-security evaluator takes a separate --simulator_model for attack generation and --evaluate_model for judging.

Commercial platforms

Commercial platforms run the attacker, the judge and the reporting for you. On the pages we read, only Microsoft says which model writes the attacks. If you need to choose the attacker model yourself, confirm it with the vendor, or use an open-source tool, where it is a documented setting.

Platform What it is Attacker model Source, checked 2026-11-29
Microsoft AI Red Teaming Agent Automated scans in Microsoft Foundry, built on PyRIT; reports attack success rate per risk category Microsoft provides "a fine-tuned adversarial large language model" Microsoft Learn
Check Point AI Red Teaming Lakera's continuous red teaming, now sold by Check Point, which closed the Lakera acquisition on 2025-10-22 Not stated; Check Point cites Gandalf's "80 million-plus adversarial patterns" Announcement, Q3 2025 results
Zscaler (SPLX) SPLX's automated red teaming, "5,000+ adversarial attack scenarios" across models, agents and RAG pipelines Not stated SPLX blog
Mindgard An "attack-led AI Security Platform" with Recon, Attack, Remediate and Assure modules, run from APIs, CI/CD or Burp Suite Not stated mindgard.ai

Microsoft's agent has documented limits: agent risk categories run only in cloud red teaming, in four regions, and only for Foundry-hosted agents, not other agents or non-Azure tools.

Why the attacker model matters

The attacker model decides what your test actually covers. A safety-tuned attacker declines to write some attacks and softens others, and the tool usually logs the result as a pass. Three of the frameworks above say so in their own docs:

  • PyRIT: "The adversarial target works best without content moderation, so it doesn't refuse to generate adversarial prompts" (source).
  • DeepEval: an older model can work better as the attack simulator, "as more advanced models tend to have stricter filtering mechanisms, which can limit the successful generation of adversarial attacks" (source).
  • promptfoo: its configuration docs warn that some providers, Anthropic among them, may disable your account for generating these test cases, and that the quality of local generation "depends greatly on the model that you configure" (source).

The vendors work around the problem in different ways. Microsoft trains its own adversarial model, garak defaults to small open-weight models run locally, and promptfoo routes generation through its own service unless you opt out. Each choice fixes who writes your attacks.

An abliterated model is a capable model with its refusal direction removed from the weights. On DeepSeek V4.1 Flash Abliterated, refusals fell from 94% to 1% while reasoning, math and vision scores stayed within noise; MMLU-Pro dropped 0.8 points, the one statistically clear loss (benchmarks). On Kimi K3.1 Pro Abliterated, refusals fell from 94% to 3% (model card).

Two costs come with it. Answers on DeepSeek V4.1 Flash Abliterated used 2% to 16% more output tokens than the original model, depending on the benchmark, and you pay for those tokens. And if the abliterated model is also your target behind a system prompt, that prompt is followed less strictly: off-topic requests declined under a restrictive system prompt fell from 95% to 75%. Test your system prompt before you rely on it.

Point the attacker at Abliterator

promptfoo, PyRIT and DeepEval each take a custom attacker model through an OpenAI-compatible setting, and Inspect takes Abliterator models for grading and evals. The snippets below come from our tested setup guides, which also cover troubleshooting, rate limits and verification. Get a key at /keys. Per million tokens, DeepSeek V4.1 Flash Abliterated (deepseek-v4.1-flash-abliterated) costs $1.00 input and $2.00 output, and Kimi K3.1 Pro Abliterated (kimi-k3.1-pro-abliterated) costs $4.00 and $15.00.

promptfoo

Set redteam.provider in promptfooconfig.yaml, next to your targets, purpose and plugins:

redteam:
  provider:
    id: openai:chat:kimi-k3.1-pro-abliterated
    config:
      apiBaseUrl: https://abliterator.ai/v1
      apiKeyEnvar: ABL_API_KEY
      max_tokens: 8192

Then turn off remote generation so the Abliterator model writes the attacks:

export ABL_API_KEY="sk-abl-v1-..."
export PROMPTFOO_DISABLE_REDTEAM_REMOTE_GENERATION=true
npx promptfoo@latest redteam run
npx promptfoo@latest redteam report

Use the openai:chat: prefix: Abliterator serves Chat Completions, not the Responses API. The full config, with a separate grader and concurrency limits, is on promptfoo with Abliterator.

PyRIT

Create an OpenAIChatTarget for the attacker:

import os

from pyrit.prompt_target import OpenAIChatTarget

adversarial_chat = OpenAIChatTarget(
    endpoint="https://abliterator.ai/v1",
    api_key=os.environ["ABL_API_KEY"],
    model_name="kimi-k3.1-pro-abliterated",
    max_completion_tokens=8192,
    max_requests_per_minute=20,
)

Pass it as AttackAdversarialConfig(target=adversarial_chat) to RedTeamingAttack, CrescendoAttack or TAPAttack. Your app stays the objective_target. The full multi-turn script, with a scorer, is on PyRIT with Abliterator.

DeepEval

Create an OpenAIModel with Abliterator's base URL:

import os

from deepeval.models import OpenAIModel

abliterator = OpenAIModel(
    model="deepseek-v4.1-flash-abliterated",
    api_key=os.environ["ABL_API_KEY"],
    base_url="https://abliterator.ai/v1",
    temperature=0,
    generation_kwargs={"max_tokens": 4096},
)

Pass it to red_team() as simulator_model=abliterator, and as evaluation_model if you also want it as the judge. Set max_concurrent to your plan's concurrency, since DeepEval defaults to 10. The full script is on DeepEval with Abliterator.

Inspect AI

Inspect reaches OpenAI-compatible APIs through its openai-api provider. With a provider named abl, it reads two variables:

pip install inspect-ai openai
export ABL_API_KEY="sk-abl-v1-..."
export ABL_BASE_URL="https://abliterator.ai/v1"

Model names are then openai-api/abl/kimi-k3.1-pro-abliterated and openai-api/abl/deepseek-v4.1-flash-abliterated. Our Inspect guide uses Flash as the grader in a system-prompt red-team task; it does not yet cover an attacker role.

garak, Giskard and the rest

Our garak guide covers the other direction: scanning a deployment that runs on an Abliterator model, to check that your system prompt holds. We have not published a tested attacker setup for garak's TAP or GOAT probes, for Giskard, or for Augustus, Spikee or A.I.G. Their attacker settings are listed in the table above; follow each tool's own docs until we publish a tested guide.

Which model for which role

Role Model Why
Multi-turn attacker (PyRIT, promptfoo) kimi-k3.1-pro-abliterated Stronger planning over long conversations
High-volume attack generation deepseek-v4.1-flash-abliterated Lower price per token
Judge deepseek-v4.1-flash-abliterated Applies temperature=0 for steadier verdicts

Kimi's sampling is fixed (temperature 0.6, top_p 0.95). Abliterator drops temperature, top_p and the penalty parameters from Kimi requests, so tool defaults still work, but the values have no effect. For varied attacks on Kimi, ask for different tactics in the attacker prompt.

Which tool for which job

Pick by the job. The tools overlap, and nothing stops you running two: one in CI and one for deeper campaigns.

Job Start with Why
Red-team gate in CI for an LLM app promptfoo One YAML file, OWASP and MITRE ATLAS presets, a regression suite you can rerun
Scripted multi-turn campaigns by a security team PyRIT Crescendo, TAP and red-teaming attacks in Python, with every turn recorded
Broad scan of a model or endpoint with known attacks garak, or Augustus for a single binary Large static probe libraries with detectors; no attacker model needed for most probes
Reproducible safety evals across models Inspect AI Versioned tasks, model roles, and published evals such as AgentDojo and XSTest
Red-team tests inside a Python eval suite DeepEval Vulnerability classes such as PII leakage and BOLA, scored pass or fail by an LLM judge
Agent scenarios described in plain language Giskard Scans generated from a description of the agent, plus multi-turn checks
Prompt injection through documents, RAG and guardrails Spikee Seed datasets built for injection and system prompt extraction
MCP servers, agent skills and AI infrastructure A.I.G Dedicated MCP, skill and infrastructure scanners next to prompt-security evaluation
Managed, continuous testing with vendor reports A commercial platform The vendor runs the attacker, judge and dashboards, and picks the attacker model

To measure your model's refusal and over-refusal rates on public prompt sets, rather than attack an app, see model evaluation.

Before you run any of them

Every tool here is for testing systems you own or have written permission to test. Write the scope down before the first run: which endpoints, which accounts, which dates, and what is off limits. Attacks on systems without authorization break Abliterator's acceptable use policy. Some other uses are always prohibited, whatever the purpose, and keys that violate the policy are suspended.

Treat the output as sensitive. A suite of working attacks against your app is an attack kit for your app, so store results where only the security team can read them. Abliterator does not store prompt or completion text, which also means your copy of each transcript is the only one.

Frequently asked questions

Which AI red teaming tools are free and open source?

promptfoo, PyRIT and Inspect are MIT-licensed; garak, DeepEval, Giskard, Augustus, Spikee and Tencent's A.I.G are Apache-2.0 (checked 2026-11-29). The tools cost nothing, but the attacker, target and judge models they call are billed by whoever serves them.

Is promptfoo still open source after OpenAI bought it?

Yes. Its README says "Promptfoo is now part of OpenAI. Promptfoo remains open source and MIT licensed" (checked 2026-11-29), and its config still accepts any OpenAI-compatible provider as the attacker.

What happened to DeepTeam?

Confident AI moved DeepTeam into DeepEval as the deepeval.red_team module, available from deepeval 4.3.6. The separate deepteam package is deprecated on January 30, 2027, and only the import path changes.

Does garak need an attacker model?

Only for some probes. Most garak probes send fixed prompt sets; atkgen, TAP and GOAT use an attacker model, which you set in that probe's options. By default they run small open-weight models from Hugging Face.

Can these tools test AI agents and MCP servers?

Several can. promptfoo has mcp, excessive-agency and coding-agent plugins, DeepEval lists agentic vulnerabilities such as tool orchestration abuse, A.I.G scans MCP servers and agent skills, and Microsoft's AI Red Teaming Agent covers Foundry-hosted agents only.

Should the attacker and the judge be the same model?

Prefer two different models. A judge that grades attacks it wrote shares their blind spots, and a judge that refuses to read attack transcripts scores them wrongly, so pick one that reads everything and returns clean JSON.

Try it in your browser.

Ask it something your usual model refuses.

Start a chat

No sign-up to try. $10 free when you verify your email.