Blog

AI red teaming tools: garak, PyRIT, promptfoo, Giskard and DeepEval

Five open-source AI red teaming tools compared: what each attacks, how it works, who builds it, its licence, and when to pick it.

4 min read

  • Comparison
  • Red teaming
  • Security

AI red teaming means attacking your own model or app before someone else does: prompt injection, jailbreaks, data leakage, harmful output. Open-source tools now automate much of it. This post compares five, grouped by how they work.

How we checked

Licences, languages and star counts come from the GitHub API (gh api repos/OWNER/REPO) on 26 Nov 2026. What each tool does comes from its README or official docs, read the same day. If we could not confirm a detail, it is not here.

At a glance

ToolHow it worksFromLicenceGitHub stars (as of 26 Nov 2026)
garakA scanner: runs probes against a model and scores them with detectorsNVIDIAApache-2.010,192
PyRITA toolkit: scanner, GUI and Python framework, with multi-turn attacksMicrosoftMIT5,101
promptfoo red teamingAdversarial plugins and strategies inside an eval tool, with a reportpromptfooMIT27,701
Giskard ScanGenerates adversarial test suites for agents from a descriptionGiskardApache-2.05,973
DeepEval red teamingSimulated attacks and vulnerabilities, formerly DeepTeamConfident AIApache-2.019,679

Stars are for each project's whole repository. promptfoo's and DeepEval's cover their eval features too, so they are not a fair measure of the red-teaming part alone.

Scanners you point at a model

garak

garak, the "Generative AI Red-teaming & Assessment Kit", calls itself an LLM vulnerability scanner. It probes for hallucination, data leakage, prompt injection, misinformation, toxic output, jailbreaks and more. Each probe has detectors that judge the answers. It talks to Hugging Face models, the OpenAI API, AWS Bedrock, LiteLLM, GGUF models and most things reachable over REST. You install it with pip install -U garak and pick probes with --spec. The user guide lists them.

Best for: a broad scan of a model or endpoint, the way you would scan a network.

PyRIT

PyRIT, the Python Risk Identification Tool, is built by the Microsoft AI Red Team and contributors. It brings together a command-line scanner, a browser GUI called CoPyRIT, and a Python framework for building your own workflows, including adaptive multi-turn attacks. It connects to many model providers and can test whole applications over HTTP, WebSockets or browser automation with Playwright. The project moved from the Azure organisation to microsoft/PyRIT; the old repository is archived. Docs are at microsoft.github.io/PyRIT.

Best for: security teams who want to compose custom, multi-turn attack workflows.

Red teaming inside an eval tool

promptfoo red teaming

promptfoo is an eval tool with red teaming built in. Its docs describe breaking failure modes into adversarial testers called plugins, adding strategies, and producing a report that quantifies the risk of misuse. It is the same CLI as promptfoo's evals, which document CI/CD use. Its README says promptfoo is now part of OpenAI and remains MIT licensed.

Best for: teams already using promptfoo for evals, or who want red teaming in CI.

DeepEval red teaming (formerly DeepTeam)

DeepTeam simulates attacks such as jailbreaking, prompt injection and multi-turn exploitation to find vulnerabilities like bias, PII leakage and SQL injection, and adds guardrails for production. It has now moved into DeepEval as the deepeval.red_team module, and its README says the deepteampackage will be deprecated on 30 Jan 2027. It runs locally; results can go to Confident AI, the team's hosted platform.

Best for: Python teams already on DeepEval.

Test suites generated for agents: Giskard Scan

Giskard v3 is a rewrite for multi-turn testing of AI agents. Its giskard-scan package is the red-teaming and vulnerability scanning layer: it generates adversarial test suites from a plain-language description of your agent, covering prompt injection, jailbreaks and harmful content, alongside RAG and quality evaluation. Install it with pip install "giskard[scan]"; it needs Python 3.12 or newer. Giskard v2 is still available but no longer actively maintained.

Best for: agents, when you want the attack suite written for you from a description.

How to choose

  • You want a quick, broad scan of a model: garak.
  • You run a red team and need custom, multi-turn campaigns: PyRIT.
  • You want attacks in the same CI as your evals: promptfoo or DeepEval, whichever you already use.
  • You test an agent and want suites generated for it: Giskard Scan.

Many teams run more than one: a scanner for breadth, and a fixed set of attacks in CI so a fixed hole stays fixed. ModelStill does no red teaming, but if you keep such a fixed set with a scorer, its gate can compare those scores between releases like any other task; see the FAQ.

See a release gate pass and fail in three commands.

Get started