PyRIT

by Microsoft (AI Red Team)

Automate red teaming for generative AI

Python framework that lets security teams attack generative AI systems automatically to find risks.

Open SourceTrust 100For prosPython · Docker
Get it via OROBO

Checked sourcegithub.com/microsoft/PyRITLicence: MITchecked 3 hours agoGitHub lists a SHA-256 checksum for every release file.

Have it set up for you instead:Request setup by OROBOOr start with the AI Compass: a written assessment at a fixed price of €490 (businesses only).

How it runs for you

Simulation starting …

Illustration, not a real test run

What you get

What you get

  1. 01Builds repeatable attacks on AI systems
  2. 02Supports multi-turn conversation attacks
  3. 03Free and open source (MIT) from Microsoft

For you if …

  • Security teams running red-team exercises
  • AI product developers who know Python

Pick something else if …

  • Beginners without coding skills

How to start

In three steps.

What you need
  • Python skills
  • Access to the AI system you want to test
  1. 1Install with pip install pyrit
  2. 2Set a target, for example your chatbot endpoint
  3. 3Run an attack strategy and review the results

Part of these packages

PyRIT works together with other software.

Safety check

7 of 7 checks passed

No known malicious patterns in the install instructionsactively maintainedLicence: MIT

Trust 100
Who is behind it?
  • Taken by OROBO from the official source. The maker has not joined OROBO yet.
Is the code clean?
  • Source code publicly visible
  • Licence: MIT
  • No known malicious patterns in the install instructions
Is it maintained?
  • Website reachable
  • Updated today
Technical details & what we don’t check
  • Website loads fast
  • Website protection settings: 5 of 6 (website only, not the software)HSTS, CSP, nosniff, Frame-Schutz, Referrer-Policy

Claims about protection come from the maker. The trust score checks public signals, not effectiveness.

We automatically check origin, code patterns, licence, maintenance and reachability — again every day. We do not check whether the software fits your purpose, how it handles your data, or whether it works without errors. Last checked 3 hours ago. How OROBO checks

Facts

AreaMake it safe
PriceOpen Source
LicenceMIT
Runs onPython, Docker
Popular with developers★ 4,753 GitHub
Last updated05 Nov 2026
Sourcemicrosoft/PyRIT ↗
I am the maker