Home / Open-source AI red teaming tools
Open-source AI red teaming tools
You can run a credible first pass at LLM red teaming without paying for a license. This page compares the open-source tools that matter, with what each one does, its license, who owns it now and its GitHub traction as of 9 November 2026. Then it covers where tools stop and people need to take over.
What these tools do
Automated red teaming uses software, often another model, to generate attacks at scale. The approach was set out in Perez et al., 2022. Open-source tools package it in three main shapes:
- Scanners run libraries of known attacks against a model or app endpoint and report which ones worked.
- Attack frameworks let you compose your own campaigns: multi-turn conversations, converters that rewrite prompts, scorers that judge outputs.
- Test and eval harnesses run defined test cases on every change, usually in CI, so a prompt edit or model swap does not quietly reopen an old hole.
All three are good at breadth and repeatability. None of them knows your business, your data or what a real attacker would want from your agent. Keep that in mind when you read the table.
The tools compared
Stars and licenses come from GitHub's API on 9 November 2026. Stars are a rough signal of adoption, not quality. Descriptions follow each project's own summary.
| Tool | What it does | License | Owner or maintainer | GitHub stars |
|---|---|---|---|---|
| garak | LLM vulnerability scanner. Runs libraries of probes against a model endpoint and flags failures. | Apache-2.0 | NVIDIA | ~10.0k |
| PyRIT | Red teaming toolkit for generative AI: automated scans, adaptive multi-turn attacks and a web UI. | MIT | Microsoft | ~4.8k |
| Promptfoo | Tests prompts, agents and RAG apps. Red teaming and vulnerability scanning from declarative configs, with CLI and CI/CD integration. | MIT | Promptfoo; OpenAI announced an acquisition in Mar 2026 | ~27.0k |
| DeepTeam | Framework to red team LLMs and AI agents. | Apache-2.0 | Confident AI | ~3.1k |
| Giskard (open source) | Evaluation and testing library for LLM agents. | Apache-2.0 | Giskard | ~5.9k |
| Inspect | Framework for LLM evaluations. A companion repo, inspect_evals, collects ready-made evals. | MIT | UK AI Security Institute (GitHub org UKGovernmentBEIS) | ~3.2k |
| Adversarial Robustness Toolbox (ART) | Python library for classic ML security: evasion, poisoning, extraction and inference attacks, for red and blue teams. | MIT | Trusted-AI (GitHub org) | ~6.3k |
| Agentic Radar Last code push Nov 2025 | Security scanner for LLM agentic workflows. | Apache-2.0 | SPLX, now part of Zscaler | ~1.1k |
| Counterfit Archived | CLI automation layer for assessing the security of ML models. | MIT | Microsoft (Azure org) | ~0.9k |
A related tool you may see on older lists: LLM Guard from Protect AI (MIT) is a security toolkit for scanning LLM inputs and outputs at runtime, not a red teaming tool. Its repository was archived in 2026. Protect AI is now part of Palo Alto Networks (Palo Alto Networks).
Which tool for which job
- "Scan our model endpoint for known weaknesses today." garak. It is built as a scanner and has the second-most GitHub stars in our table, after Promptfoo.
- "Build targeted, multi-turn attack campaigns." PyRIT. Microsoft describes it as a toolkit for automated scans and adaptive multi-turn attacks.
- "Catch regressions on every pull request." Promptfoo, with declarative configs and CI/CD integration. DeepTeam and Giskard fit similar workflows.
- "Run structured evaluations of model capabilities." Inspect, from the UK AI Security Institute, with ready-made evals in inspect_evals.
- "Attack a classic ML classifier or vision model." Adversarial Robustness Toolbox. LLM tools are the wrong fit here.
- "Map what our agent workflow can reach." Agentic Radar scans agent workflows, but check its maintenance status first.
These tools also show up in AI assistant answers. In parse.gl's tracking of ChatGPT and Google AI Mode answers on the best AI red teaming service or platform (July to November 2026), garak appeared in 54% of answers, PyRIT in 53% and Promptfoo in 48% (parse.gl).
Who owns these tools now
Ownership matters for an open-source tool because the owner sets the roadmap, the defaults and the attack library.
- Promptfoo. OpenAI announced it would acquire Promptfoo in March 2026, and said it would keep the open-source project (SecurityWeek). We found no closing announcement. The repository is still MIT licensed. Its hosted Community tier is free up to 10,000 red teaming probes a month; enterprise tiers are custom priced (Promptfoo pricing). If you test models from OpenAI's competitors, watch how the project is governed.
- Agentic Radar. Built by SPLX, which Zscaler acquired in November 2025 (SiliconANGLE). The last code push we saw was in November 2025.
- garak and PyRIT are maintained by NVIDIA and Microsoft. Both repos had commits in the week of this review.
- Counterfit and LLM Guard are archived. Do not build new work on them.
For the wider wave of acquisitions, see who owns whom in our vendor guide.
How to run a baseline in a week
- Pick a target you own. A staging copy of your app, with test data and production-like tool permissions in a sandbox.
- Write down what failure means. List the harms and data that matter: leaking another customer's records, calling a refund tool, revealing the system prompt.
- Run a scanner against the model endpoint for known jailbreaks and injection patterns.
- Run app-level tests through the same interface users touch, including uploaded files and retrieved documents carrying injected instructions.
- Add tests for each tool. For every tool your agent can call, write cases that try to make it call that tool when it should not.
- Triage by hand. Automated judges produce false positives and miss subtle failures. Someone has to read the transcripts.
- Put the passing cases in CI so they run on every model, prompt or tool change.
Log each attempt with a date, an ID, the prompt and the output, as Microsoft recommends (Microsoft Learn). If you later hire a red team, that log shortens scoping and lowers the quote. Our cost guide explains why.
When tools are enough
- Internal assistants with no tools, low-sensitivity data and a small user base.
- Regression testing between expert engagements.
- Early prototypes, to find the obvious issues before anyone pays to find them.
- Pre-scoping, so you can tell vendors what you already know.
When to hire people
- Agents with write access. Tools that send email, move money, change records or run code. Public competitions found nearly all agents broke within 10 to 100 queries (arXiv:2507.20526), and CAISI reported at least one successful attack against every frontier model tested (CAISI). Finding those paths in your agent takes people who think in chains.
- Regulated or high-stakes harms. Medical, financial, legal, cyber or CBRN. NIST treats expert red teaming as its own type (NIST AI 600-1).
- Evidence for an auditor or regulator. A tool's output is not a report. See AI red teaming requirements.
- Before a public launch or major change. Microsoft's AI Red Team says automation extends coverage but humans remain essential (arXiv:2501.07238).
OWASP lists reliance on automated scanning with no manual adversarial testing as a red flag when buying red teaming (OWASP). The same logic applies to doing it yourself. Use the tools for coverage, and bring in people for depth. Our vendor checklist covers how to pick them, and what AI red teaming is explains the method. Terms are in the glossary.
We list tools by usefulness and public data, not by any commercial relationship. Check each project's license and terms before use. This is not security advice for your specific system.
Common questions
What are the best open-source AI red teaming tools?
The most used are NVIDIA garak (an LLM vulnerability scanner), Microsoft PyRIT (a red teaming toolkit with multi-turn attacks) and Promptfoo (a test and red teaming CLI that fits CI). DeepTeam, Giskard and the UK AI Security Institute's Inspect framework are also worth a look.
Is Promptfoo still open source after the OpenAI deal?
The repository remains under the MIT license as of 9 November 2026. OpenAI announced the acquisition in March 2026 and said it would keep the open-source project. We found no closing announcement.
Is garak or PyRIT better?
They do different jobs. garak is a scanner: point it at a model and run probe libraries. PyRIT is a toolkit for building and orchestrating attacks, including multi-turn ones. Many teams use a scanner for breadth and a toolkit for targeted campaigns.
Are open-source tools enough for AI red teaming?
For a low-risk internal chatbot, often yes, if someone qualified runs them and triages results. For agents with write access, regulated harms or audit evidence, no. Automation finds known patterns; people find the chained attacks that matter.
Do open-source red teaming tools cost anything?
No license fee, but each probe is a model call, so you pay API or compute costs. The larger cost is the engineering time to configure targets, write custom attacks for your tools and data, and review results.
Can these tools test AI agents?
Several now target agents: Promptfoo, DeepTeam and Giskard describe themselves as testing agents, and Agentic Radar scans agent workflows. Testing real tool misuse still needs a sandbox with production-like permissions and test cases written for your tools.
Which tools cover classic machine learning models, not LLMs?
The Adversarial Robustness Toolbox covers evasion, poisoning, extraction and inference attacks on classic ML models. Microsoft's Counterfit covered similar ground but its repository is now archived.
Is it safe to send our data through these tools?
The tools run where you run them, but probes and outputs go to whatever model endpoint you test. Use test data, keep logs in your own storage, and check your model provider's terms on adversarial testing before you start.
Sources
- garak on GitHub (Apache-2.0; checked 9 Nov 2026)
- PyRIT on GitHub (MIT; checked 9 Nov 2026)
- Promptfoo on GitHub (MIT; checked 9 Nov 2026)
- DeepTeam on GitHub (Apache-2.0; checked 9 Nov 2026)
- Giskard (open source) on GitHub (Apache-2.0; checked 9 Nov 2026)
- Inspect on GitHub (MIT; checked 9 Nov 2026)
- Adversarial Robustness Toolbox (ART) on GitHub (MIT; checked 9 Nov 2026)
- Agentic Radar on GitHub (Apache-2.0; checked 9 Nov 2026)
- Counterfit on GitHub (MIT; checked 9 Nov 2026)
- inspect_evals on GitHub (MIT)
- LLM Guard on GitHub (MIT, archived)
- Promptfoo pricing page
- SecurityWeek: OpenAI to acquire AI security startup Promptfoo (Mar 2026)
- SiliconANGLE: Zscaler acquires SPLX (3 Nov 2025)
- Palo Alto Networks completes acquisition of Protect AI (22 Jul 2025)
- Microsoft AI Red Team: Lessons from red teaming 100 generative AI products, arXiv:2501.07238
- Microsoft Learn: Planning red teaming for LLMs and their applications
- Perez et al.: Red teaming language models with language models, arXiv:2202.03286
- NIST AI 600-1: Generative AI Profile
- OWASP Vendor Evaluation Criteria for AI Red Teaming v1.0 (4 Feb 2026)
- NIST CAISI: Insights from a large-scale AI agent red teaming competition (23 Mar 2026)
- Agent red teaming competition results, arXiv:2507.20526
- parse.gl: AI answer tracking for "best AI red teaming service or platform"