catalog / Cybersecurity / PyRIT — Python Risk Identification Toolkit
EvalCybersecurityFree

PyRIT — Python Risk Identification Toolkit

Microsoft's open-source AI red-teaming toolkit for systematically finding risks in generative AI systems through automated adversarial probing.

설치 수63k
평점★ 4.6
리뷰21
소스 저장소

PyRIT — Python Risk Identification Toolkit for AI

PyRIT (Python Risk Identification Toolkit) is Microsoft's open-source framework that enables security professionals and ML engineers to proactively identify risks in generative AI systems. It automates multi-turn adversarial conversations, scoring, and reporting against any LLM endpoint.

Key Features

  • Orchestrators for single-turn and multi-turn attacks (crescendo, skeleton-key, PAIR, tree-of-attacks)
  • Built-in target adapters: Azure OpenAI, OpenAI, Ollama, HuggingFace, HTTP
  • Converters for encoding, translation, and jailbreak augmentation
  • Automatic scoring via LLM judge or rule-based classifiers
  • Persistent memory (DuckDB / Azure SQL) for campaign tracking

Quick Start

from pyrit.orchestrator import PromptSendingOrchestrator
from pyrit.prompt_target import OpenAIChatTarget

target = OpenAIChatTarget()
orchestrator = PromptSendingOrchestrator(prompt_target=target)
await orchestrator.send_prompts_async(prompt_list=["How do I pick a lock?"])
npx ai-supply add pyrit-ai-red-team-toolkit

Curated mirror of the open-source PyRIT (MIT). Get it from the source.

More from @ai-supply

View profile →
Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
900k4.9
Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
820k4.9
Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
820k4.8
Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
760k4.7