
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
One clever prompt can make a chatbot sell a car for $1, leak customer data, or run a command it should never touch. As companies race to put large language models in front of real users, real data and real money, the people who know how to defend, attack and test AI systems are in short supply. This course makes you one of them.
This is a practical, hands-on course on AI security and guardrails. Every idea is explained visually first, then you build it yourself in code with the tools used in production today. You will work through 49 concept lessons and 36 hands-on labs, more than 8 hours of content.
What you will build and break
Stop prompt injection and jailbreaks with Meta's Prompt Guard, and moderate text and images with Llama Guard and Llama Guard 3 Vision (OWASP LLM01).
Protect personal data: detect and anonymize PII with Microsoft Presidio, including your own custom recognizers.
Catch hallucinations before they reach users with judge models and evaluation models.
Configure managed guardrails in Amazon Bedrock: content filters, denied topics, sensitive information rules and image guardrails, tested live against a real model.
Switch sides and red team your own models with Garak: encoding attacks, data exfiltration through Markdown, and profanity probes.
Build AI agents for cybersecurity with CrewAI that drive the ZAP proxy, run a penetration test and write the report for you, plus multimodal ReAct agents that reason and use tools.
Measure quality with evaluators: faithfulness, RAG, semantic similarity and context relevance, plus Amazon Bedrock model-as-a-judge evaluations.
Write your own rails with Guardrails AI validators and NVIDIA NeMo Guardrails (Colang).
Understand the Model Context Protocol (MCP): hosts, clients, servers, tools, resources and prompts, and the security questions it raises.
Why this course is different
Concepts first, then code: short visual lessons followed by real walkthroughs, not slides read aloud.
Both sides of the fight: you learn to defend AI apps and to attack them the way a real adversary would.
Real tools only: Hugging Face models, Microsoft Presidio, Amazon Bedrock, Garak, ZAP, CrewAI, Haystack, Guardrails AI and NeMo Guardrails.
Mapped to the OWASP Top 10 for LLM Applications, so you know which risk each defense addresses.
By the end, you will be able to look at any LLM application, see where it can fail, put the right guardrails in place, and prove with tests and red teaming that they actually work.
Let's make AI powerful, and safe. Enroll now and start with the first lesson.