HelloPixDig

Directory › Security › PyRIT

PyRIT
Image: official project repository

> GEM SECURITY · DEVELOPMENT

PyRIT

by Microsoft

Microsoft's AI red-teaming framework to identify risks in your generative AI systems.

4,604 stars GitHub MIT FreeOpen sourceLocal
View on GitHub →

What it does

  • Automates attack campaigns against AI models and applications
  • Built for security teams and ML engineers
  • Open, documented Python library

Install it

Requirements: Python 3 and access to the model under test

Follow the official installation guide
https://microsoft.github.io/PyRIT/

The prompt for your agent

Paste it into your coding agent: it checks the requirements and installs it for you.

Claude CodeCodexCursorGemini CLIopencode
Prompt
Install PyRIT (https://microsoft.github.io/PyRIT/) on my machine.
1. Check the requirements: Python 3 and access to the model under test. If anything is missing, tell me before installing anything.
2. Follow the official method:
- see https://microsoft.github.io/PyRIT/
3. Check that it works, then explain how to launch it and where to start.

Always review what your agent is about to run, especially install commands.