GitHub·First covered Issue 21
microsoft/PyRIT
PyRIT is the Microsoft AI Red Team's open toolkit for probing generative AI systems for security and safety failures, with automated scans, adaptive multi-turn attacks and a browser UI.
Stats
(As of 3 Dec 2026)- Stars
- 5.2k
- Forks
- 1.1k
- Contributors
- 309
- Open issues
- 102
- Created
- Dec 2023
- Language
- Python
- Licence
- MIT
- Three ways in: a command-line scanner for repeatable assessments, the CoPyRIT web GUI, and a Python framework for custom workflows.
- Targets include OpenAI, Anthropic, Azure, Gemini, Bedrock, Hugging Face, Ollama, OpenRouter and GitHub Copilot, plus more through LiteLLM.
- Whole applications can be tested over HTTP, WebSockets or Playwright browser automation, not just raw model APIs.
- Its design and field experience are written up in a paper on democratizing AI red teaming.
- Built by the Microsoft AI Red Team with outside contributors; anyone can join through Discord and help-wanted issues.