PyRIT
Microsoft toolkit for red-teaming generative AI systems.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
PyRIT (Python Risk Identification Tool) probes models and AI applications for security and safety weaknesses with automated scans and adaptive multi-turn attacks. You can use it as a command-line scanner for repeatable assessments, through the CoPyRIT web interface, or as a Python library for custom red-teaming workflows. Targets include hosted models from OpenAI, Anthropic, Google, AWS Bedrock and Azure, local models through Ollama or Hugging Face, and your own app over HTTP, WebSockets or a Playwright-driven browser.
Best for
Security teams that need repeatable, scripted red-team runs against an AI application.
Skills it helps with
Related tools
garak
Scanner that probes LLMs for vulnerabilities such as prompt injection.
Cisco Skill Scanner
Open-source Agent Skills scanner using rules, dataflow analysis and an LLM judge.
E2B
Open-source cloud sandboxes for code that agents run.
Guardrails AI
Python framework of validators that check and correct LLM inputs and outputs.
NeMo Guardrails
NVIDIA's toolkit for programmable input, output and dialogue rails in LLM apps.
Snyk Agent Scan
CLI that finds agents, MCP servers and Agent Skills on a machine and scans them.