Security teamsMIT

PyRIT

Microsoft's open framework for red-teaming generative AI systems.

View on GitHub ↗See alternatives

Free facts

Free tier
Free Python library (MIT)
Card required
No
Your data
Runs on your computer
Setup
Install & self-host
The catch
You configure your own AI endpoints and keys

Free facts checked Nov 14, 2026

Something changed or didn't work? Report it

Paid parts and sources

Paid service
Optional: Ollama or HuggingFace (free), or your own OpenAI/Azure key
Helps you
Test generative AI systems for safety and security risks with a Python toolkit

Read from the official docs: github.com/microsoft/PyRIT#readme, microsoft.github.io/PyRIT/1.1.0/, github.com/microsoft/PyRIT/blob/main/LICENSE

Stuck installing PyRIT? Ask in Community Q&A, or share your free setup. Posts there are public, on GitHub.

Alternatives

← All Security teams tools