microsoft

    microsoft/PyRIT

    Open-source AI red teaming toolkit from Microsoft. Test generative AI systems with automated scans, adaptive multi-turn attacks, and a web UI.

    4.8K stars
    1.0K forks
    53 GitHub watchers
    Updated Nov 7, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    1 release in the last 90 days, the latest 63 days ago, with 245 contributors on GitHub.

    Use Cases & Benefits

    • Provides a Python framework to proactively identify security risks in generative AI systems.
    • Enables security professionals to systematically assess and mitigate vulnerabilities specific to generative AI models.
    • Use for conducting red team exercises to uncover potential attack vectors in AI deployments.
    • Use for integrating risk identification into AI development pipelines to enhance responsible AI practices.
    • Use for academic research focused on security challenges and risk management in generative AI technologies.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    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.

    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.

    Excerpt from the microsoft/PyRIT README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    microsoft/PyRIT compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    D4Vinci/Scrapling101.1K+6.3K756 days ago
    thedotmack/claude-mem115.8K+4.7K75today
    heygen-com/hyperframes82.3K+4.0K75today
    harry0703/MoneyPrinterTurbo142.0K+3.8K753 days ago
    github/spec-kit149.2K+2.6K75today
    microsoft/PyRIT4.8K—5763 days ago
    Category median115.8K+4.0K75—

    Also by microsoft

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description