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.

76
/ 100
Verified

PyRIT provides automated red-teaming and adversarial testing capabilities through a modular architecture supporting multiple LLM endpoints, prompt injection techniques, and attack orchestration patterns. The framework enables systematic vulnerability discovery by chaining attacks across different AI models and services, with built-in scoring mechanisms to assess harm and risk severity. It integrates with major LLM providers and supports custom connectors for diverse AI systems, enabling security teams to conduct reproducible, large-scale adversarial campaigns.

3,630 stars. Actively maintained with 79 commits in the last 30 days.

No Package No Dependents
Maintenance 25 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

3,630

Forks

709

Language

Python

License

MIT

Last pushed

Mar 28, 2026

Commits (30d)

79

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/generative-ai/microsoft/PyRIT"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.