What PyRIT does
Runs scripted and multi-turn attacks against AI models and apps, then scores the replies.
Runs packaged scenarios (content harms, jailbreaks, encoding probes) against a chosen target AI system from the command line.
raw.githubusercontent.comThe pyrit_scan CLI runs a scenario in one command, so it can be used in CI/CD pipelines and batch runs; pyrit_shell is the interactive version.
raw.githubusercontent.comCoPyRIT is a browser GUI for manual chat-based testing, launching scans, and reviewing results.
raw.githubusercontent.comPython framework for composing custom red-teaming workflows from reusable components (targets, converters, scorers, scenarios).
github.comTests whole applications, not just models, by sending prompts over HTTP, WebSockets, Playwright browser automation, or custom targets.
github.comCoPyRIT 'Operations and Findings' track engagements and record human-reviewed issues with evidence for reporting.
github.comScores target responses with built-in scorers, including ASSERT, Microsoft decision-model scoring and local scorers, and ships benchmark datasets.
github.comControls for AI systems
Features as Microsoft names them.
Good fit
AppSec and AI red teams who write Python and want a free, scriptable harness they can run in CI with pyrit_scan against LLM endpoints or whole apps over HTTP, WebSockets or a browser.
- Free under the MIT license; the only costs are the model APIs you point it at
- Built-in AIRT and garak-style scenario families, plus GOAT, role-play and jailbreak techniques
- Tests full applications over HTTP, WebSockets and Playwright, with many LLM providers as targets
- Single-command pyrit_scan CLI fits CI/CD pipelines; CoPyRIT GUI tracks operations and findings
Look elsewhere if
Teams that want a supported commercial product or runtime blocking should look elsewhere: PyRIT is a testing toolkit with breaking API changes between releases, and its authenticated GUI deployment assumes Entra ID and Azure.
- Breaking changes from 0.x to 1.x and within 1.x mean custom scenarios and scorers need migration
- Requires Python 3.11 to 3.14; 3.10 support was dropped in v1.2.0
- Local CoPyRIT mode has no request authentication and is loopback-only
- Shared CoPyRIT deployments rely on Microsoft Graph, Entra groups and matching commits across backend, frontend and CLI
PyRIT pricing
Plans and list prices as published.
| Plan | Price | Billing | Source |
|---|---|---|---|
| PyRIT (MIT license) | Free | raw.githubusercontent.com 2026-11-21 |
The whole toolkit is free under the MIT license. Model/API usage on the targets and scorers you connect is billed by those providers.
Coverage, deployment and compliance
What it watches, where it runs, and what it connects to.
Covers
Runs as
Integrations
Documented limits
- Requires Python 3.11 to 3.14; Python 3.10 support was dropped in v1.2.0. github.com
- Features vary by target and model. github.com
- Local CoPyRIT mode has no request authentication and is loopback-only; documented as not for network-accessible deployments. raw.githubusercontent.com
- Authenticated CoPyRIT deployments use Microsoft Graph and need an allowed-group configuration (Entra-based, Azure-oriented). github.com
- CoPyRIT backend, frontend and CLI must be deployed from the same source commit. github.com
- Breaking API changes between 0.x and 1.x (and within 1.x) mean custom scenarios and scorers need migration on upgrade. github.com
PyRIT changes since 2025
Launches, deals and renames, newest first.
Alternatives to PyRIT
NVIDIA garak
Pick NVIDIA's open-source garak if you want a dedicated LLM vulnerability scanner with a probe-first design.
Profile→Promptfoo
Pick Promptfoo if you want red teaming and evals together in one open-source tool, with a commercial platform for dev-time testing.
Profile→Mindgard
Pick Mindgard for a commercial, attacker-aligned service that red teams models, agents and apps for you.
Profile→Should you shortlist PyRIT?
If your team can maintain Python code and wants a no-cost red teaming harness, PyRIT belongs on the shortlist, and it pairs naturally with garak for broader probe coverage. Plan for upgrade work with each release and budget for the model API calls its attacks and scorers make. Buyers who need vendor support, dashboards for non-engineers or production guardrails will want a commercial platform alongside or instead.
Sources (13)
- raw.githubusercontent.com/microsoft/PyRIT/main/doc/scanner/0_scanner.md
- raw.githubusercontent.com/microsoft/PyRIT/main/doc/gui/0_gui.md
- github.com/microsoft/PyRIT
- github.com/microsoft/PyRIT/releases/tag/v1.2.0
- raw.githubusercontent.com/microsoft/PyRIT/main/doc/getting_started/install.md
- raw.githubusercontent.com/microsoft/PyRIT/main/infra/README.md
- raw.githubusercontent.com/microsoft/PyRIT/main/LICENSE
- api.github.com/repos/microsoft/PyRIT
- github.com/microsoft/PyRIT/releases/tag/v1.2.1
- github.com/microsoft/PyRIT/releases/tag/v1.1.0
- github.com/microsoft/PyRIT/releases/tag/v1.0.1
- github.com/microsoft/PyRIT/releases/tag/v1.0.0
- github.com/microsoft/PyRIT/releases/tag/v0.14.0
Spotted something out of date? [email protected]