PyRIT buyer's guide
Answers the license question an organization asks before adopting PyRIT: what the MIT license allows, who holds the copyright, what the trademark notice restricts and what support Microsoft commits to.

Open-source framework for AI red teaming and risk identification.
Answers the license question an organization asks before adopting PyRIT: what the MIT license allows, who holds the copyright, what the trademark notice restricts and what support Microsoft commits to.
Connecting PyRIT to the systems you need to test: Azure OpenAI and Foundry, Azure ML, Hugging Face, LiteLLM, self-hosted models, custom HTTP and WebSocket apps, web chat UIs, Copilot and Azure AI Content Safety.
The single-turn, multi-turn, compound and workflow attacks PyRIT runs, Crescendo, TAP, PAIR, Skeleton Key, many-shot, XPIA and GCG among them, and when each is worth its cost.
Running packaged PyRIT assessments with pyrit_scan and pyrit_shell: the Foundry, AIRT, adaptive, benchmark and custom scenarios, CI pipelines, concurrency and retries, and moving off the Foundry red teaming agent.
Transforming prompts before they reach the target: encoding and obfuscation, LLM rewrites and translation, audio, image and document converters, and converting only part of a prompt.
Deciding whether a PyRIT attack worked: LLM judges, Likert harm scales, refusal detection, Azure AI Content Safety, Llama Guard and ShieldGemma, insecure code, composite scorers and measuring scorer accuracy.
Choosing and writing the objectives and prompts PyRIT attacks start from: HarmBench and the built-in catalog, over-refusal and multimodal sets, jailbreak templates, YAML seed files and the seed database.
Turning PyRIT runs into findings: attack success rates, scenario results and history, labels and operations, querying memory, and exporting conversations for review.
Deploying CoPyRIT, PyRIT's web GUI for human-led red teaming: Azure Container Apps with Entra ID, Docker, local servers, group-based access, separate team instances and CLI connections.
Setting PyRIT up for a team: environment files and .pyrit_conf, Key Vault secrets, initializers and registries, Entra ID for Azure targets, rate limits, and running with local models only.
Upgrading PyRIT across its breaking releases: orchestrators to attacks in 0.10, the 0.12.1 security patch, the 1.0 architecture and the 1.1 scoring and CoPyRIT changes.
Using PyRIT red teaming results as evidence for the EU AI Act, NIST AI RMF, ISO/IEC 42001 and SOC 2, and keeping memory records an auditor can follow.
Planning PyRIT red teaming for generative AI in regulated sectors, where the harms to test, the datasets that apply and the evidence required differ by industry.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.