Skip to content

PyRIT

by Microsoft

Open-source Microsoft AI Red Team toolkit for scanning and attacking generative AI systems.

  • Self-hosted
  • Small business
  • Mid-size
  • Enterprise
  • Open source
  • Free tier

From PyRIT's own website and public documents, updated 4 Nov 2026. Not a hands-on review: I add a verdict only to products I use myself.

What is PyRIT?

PyRIT stands for Python Risk Identification Tool for generative AI. This open-source toolkit finds security and safety weaknesses in generative AI systems, and the README says the Microsoft AI Red Team and a community of contributors built it. The licence is MIT and the repository shows about 4.7k stars.

It supports automated scans, adaptive multi-turn attacks and human-led testing, through a command-line scanner, a browser-based GUI called CoPyRIT and a Python framework. Listed targets include OpenAI, Anthropic, Azure OpenAI, Google Gemini, AWS Bedrock, Hugging Face, Ollama, Groq and Cohere, plus HTTP, WebSocket and Playwright browser targets.

The older Azure/PyRIT repository was archived in March 2026 and now points to microsoft/PyRIT.

Best forSecurity teams that want multi-turn attack automation and human-led testing

PyRIT features

  • Automated scans

    Command-line scanner for generative AI systems.

  • Multi-turn attacks

    Adaptive multi-turn attack strategies.

  • CoPyRIT GUI

    Browser-based interface for human-led testing.

  • Python framework

    Build custom attack and scoring workflows.

  • Many targets

    Cloud model APIs, local models, HTTP, WebSocket and Playwright.

  • LiteLLM adapter

    Optional adapter that adds more providers.

PyRIT integrations

  • OpenAI
  • Anthropic
  • Azure OpenAI
  • Google Gemini
  • AWS Bedrock
  • Hugging Face
  • Ollama
  • Groq
  • Cohere

From the vendor's own integration list or documentation.

PyRIT pricing

Starting price

Free (open source)

  • Pricing modelFlat fee
  • Free tierYes
  • Free trialNo

Current prices on the vendor's site · Checked 4 Nov 2026. Prices change often; the vendor's page wins.

Security and compliance

Certifications
None listed on a public trust page
EU data residency
Not documented

Where it fits (NIST CSF 2.0)

  1. Govern (not covered)
  2. Identify
  3. Protect
  4. Detect (not covered)
  5. Respond (not covered)
  6. Recover (not covered)

Independent audits

No public independent audit found.

Good to know before you buy

  • The Azure/PyRIT repository is archived; use github.com/microsoft/PyRIT.
  • Needs Python skills; installation steps live on the project website, not the README.

PyRIT alternatives

garak

NVIDIA

Open-source NVIDIA scanner that probes LLMs for jailbreaks, prompt injection, leakage and toxicity.

Commercial platform for continuous AI red teaming and attack-led security of AI systems and agents.

Agent security platform with AI-SPM, runtime detection and response, access control and red teaming.

promptfoo

Promptfoo (now part of OpenAI)

Open-source CLI and library to evaluate and red-team LLM apps, agents and RAG systems in CI.

PyRIT vs garakPyRIT vs MindgardPyRIT vs Noma Security

Frequently asked questions

What is PyRIT?

Open-source Microsoft AI Red Team toolkit for scanning and attacking generative AI systems.

How much does PyRIT cost?

PyRIT starts at Free (open source), according to its pricing page (checked 4 Nov 2026).

Is there a free version of PyRIT?

Yes. PyRIT has a free plan or tier; check the pricing page for its limits.

What are the alternatives to PyRIT?

Products in the same category include garak, Mindgard, Noma Security, promptfoo.

Where is PyRIT based?

The company behind PyRIT is based in United States.

Have you tested PyRIT?

Not yet. This page lists published facts only. When I test it, my verdict will appear at the top.

Sources (3), checked 4 Nov 2026
  1. github.com/microsoft/PyRIT
  2. github.com/Azure/PyRIT
  3. microsoft.github.io/PyRIT

Spotted something out of date? Tell me through the contact page and I will fix it.

By using this site, you agree to the Privacy Policy.