microsoft/PyRIT

The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and engineers to proactively identify risks in generative AI systems.

4,428

stars

1,910

commits

Python

primary language

Sep 8, 2026

updated

microsoft.github.io/PyRIT/
ai-red-team
generative-ai
red-team-tools
responsible-ai
Browse cluster: AI Agents and Agentic AI Development

README

Python Risk Identification Tool for generative AI (PyRIT)

The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and engineers to proactively identify risks in generative AI systems.

  • Check out our website for more information about how to use, install, or contribute to PyRIT.
  • Review our security policy to report vulnerabilities privately through the Microsoft Security Response Center.
  • Visit our Discord server to chat with the team and community.

Trademarks and Citations

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

If you use PyRIT in your research, please cite the tool itself following the CITATION.cff file in the root of this repository.

Contributors

(top 30 of 155)

romanlutz

476 commits

richlundeen

394 commits

dependabot[bot]

116 commits

jsong468

102 commits

microsoft/PyRIT

The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and engineers to proactively identify risks in generative AI systems.

4,428

stars

1,910

commits

Python

primary language

Sep 8, 2026

updated

microsoft.github.io/PyRIT/
ai-red-team
generative-ai
red-team-tools
responsible-ai
Browse cluster: AI Agents and Agentic AI Development

README

Python Risk Identification Tool for generative AI (PyRIT)

The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and engineers to proactively identify risks in generative AI systems.

  • Check out our website for more information about how to use, install, or contribute to PyRIT.
  • Review our security policy to report vulnerabilities privately through the Microsoft Security Response Center.
  • Visit our Discord server to chat with the team and community.

Trademarks and Citations

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

If you use PyRIT in your research, please cite the tool itself following the CITATION.cff file in the root of this repository.

Contributors

(top 30 of 155)

romanlutz

476 commits

richlundeen

394 commits

dependabot[bot]

116 commits

jsong468

102 commits

Languages

Python

87.0%

TypeScript

12.4%