CheckOps
PyRIT
PyRIT is Microsoft's MIT-licensed Python Risk Identification Tool for generative AI: automated scans, adaptive multi-turn attacks and human-led red teaming in one toolkit.
- LLM & agent evaluation
- AI-enabled testing
- Security Testing
- Open source
- Free
- Security testing
- Release & CI gates
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
PyRIT (Python Risk Identification Tool for generative AI) is an open-source toolkit for finding security and safety weaknesses in generative AI systems. It is built by the Microsoft AI Red Team and community contributors and licensed MIT at microsoft/PyRIT.
The README describes automated scans, adaptive multi-turn attacks and human-led testing, brought together as a command-line scanner, a graphical interface and an extensible Python framework. The older Azure/PyRIT repository is archived; use the Microsoft one.
Features
- Automated scans: Run attack strategies against a target.
- Multi-turn attacks: Adaptive conversations that probe defences over several turns.
- Human-led testing: Support for manual red teamers.
- CLI and GUI: A command-line scanner and a graphical interface.
- Python framework: Extend targets, converters and scorers.
- Community: Discord and contributor guide.
Pros
- MIT licence: Free and permissive.
- Expert origin: Built by Microsoft’s AI Red Team.
- Multi-turn: Covers attacks that single prompts miss.
- Extensible: Framework design suits custom targets.
- Active: Commits on the day of review.
Cons
- Security specialists benefit most: Requires red-teaming know-how to use well.
- Moved repository: Older links to Azure/PyRIT point to an archive.
- Model costs: Attacks and scorers call models.
- Not a quality eval tool: Focused on risk, not answer quality.
- Triage needed: Findings need human review.
Usage and Links (Example)
Install PyRIT following the getting started guide, configure a target (your model endpoint or app), choose an attack strategy and scorer, and run it from the CLI, GUI or Python. Save confirmed findings as regression prompts.
Resources:
Pricing
PyRIT is free and open source under MIT.
Recommended for?
- AI red teams testing chatbots and agents.
- Security engineers wanting multi-turn attack automation.
- Python teams building custom risk checks.
- Not a fit for teams wanting a hosted dashboard.
Conclusion
PyRIT is a serious, open-source red-teaming toolkit from Microsoft, now with CLI, GUI and framework options.
Pair it with garak for scanning breadth and with quality evals for everyday regression checks.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with PyRIT side by side.
Ggarakgarak is NVIDIA's Apache-2.0 LLM vulnerability scanner that probes models and dialog systems for hallucination, data leakage, prompt injection, toxicity, jailbreaks and more.Compare with PyRIT
PPromptfooPromptfoo is an open-source CLI for LLM evals and red teaming. The community tool is free; enterprise features are quoted.Compare with PyRIT
GGiskardGiskard offers an Apache-2.0 open-source library for evals, red teaming and test generation for AI agents, plus a commercial Hub for agent red-teaming, evaluation and guardrails.Compare with PyRIT
DDeepEvalDeepEval is an open-source LLM evaluation library with pytest-style asserts. Confident AI is the optional paid cloud from the same team.Compare with PyRIT
BBurp SuitePortSwigger offers tools for web application security, testing, & scanning.Compare with PyRIT- OOWASP ZAPThe ZAP by Checkmarx Core project.Compare with PyRIT