NEW350+ rooms now have a live terminal, so you can learn by typing the commands, right in your browser.Learn in a live terminal. 350+ rooms.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
[>_] ROOM · Cybersecurity
Using PyRIT for Adversarial Testing
Master Microsoft's PyRIT framework to orchestrate complex, multi-step adversarial attacks and evaluate LLM resilience against sophisticated jailbreaks.
Room tasks
1What is PyRIT and How It Automates Attacks
2Configuring PyRIT Against a Target
3Building Custom Attack Strategies in PyRIT
Frequently Asked Questions
What is PyRIT?
PyRIT, the Python Risk Identification Tool, is Microsoft's open-source framework for red teaming generative AI. It automates prompt attacks through targets, converters, orchestrators and scorers to help find risks.
How is PyRIT different from Garak?
Garak focuses on scanning models with large probe sets, while PyRIT emphasizes orchestrating flexible, multi-turn attacks with scoring. Many teams use both for broader coverage.
How can I learn PyRIT hands-on?
Practice building targets, converters and multi-step attack flows against a safe test model. The PyRIT room on Codelivly is free and designed for advanced learners who want real practice.