By CASRAI Editorial Board
Publication Date: 2026-11-08 15:23:00
Microsoft PyRIT (Python Risk Identification Tool for generative AI) is an open-source framework, released under the MIT license, for probing generative AI systems for safety and security risks. Researchers use it to run repeatable red-team assessments against chat models and AI-enabled applications and to keep a record of what was sent, what came back and how it was scored. Use it only against systems you own or are explicitly authorized to test.
After reading this page you should be able to decide whether PyRIT fits your study, install it, run a first single-prompt attack, and know where the results are stored. Facts below come from the project’s GitHub repository and its 1.1.0 documentation, read on 2026-11-08.
What PyRIT is used for in AI security research
PyRIT supports red teaming of generative AI: sending adversarial or boundary-testing prompts to a target and scoring the responses. The repository describes three entry points, which map to different research…


