skills · AI agent security and governance
Agent Safety, Guardrails & Governance
Guardrails for an AI agent, in code the model cannot talk past.
From $9/month7.5 hours5 chapters20 lessons
Lesson 1 is free. Then keep going free for 14 days, no card needed.
“Your agent read an email. Who was it working for after that?”
- 7.5hours
- 20lessons
- 80readings
- 20worked examples
- 41exercises
- 40quick checks
- 20common myths
- 20quizzes
- 5end-of-chapter checks
What you make
A guard around your own agent and the Safety Log: SAFETY-LOG.md records what you found, what you changed and the proof, beside a threat list, a policy, attack scenarios, an audit log and a register entry. Read the whole project
It ends with a one-page safety case a reviewer signs.
By the end, you'll be able to:
- Draw a three-leg map of your agent
- Write a ranked threat list
- Keep outside text away from actions
- Write a deny-by-default allow list
- Check tool calls in code
- Set ceilings and approvals
- Turn attack scenarios into tests
- Keep a log that says why, and write a safety case
Curriculum
5 chapters, 20 lessons
What can your agent do that you did not mean?4 lessons · 1.5 hours
- The Email That Gave the OrdersFree
- Who Decides the Next Step?
- Names for What Goes Wrong
- A Threat List on One Page
Text that gives orders4 lessons · 1.5 hours
- Direct and Indirect Injection
- Why a Filter Is Not Enough
- Keep Outside Text Away From the Part That Acts
- Break the Trifecta
Permissions and tool calls4 lessons · 1.5 hours
- Deny by Default
- Check Every Call in Code
- Ceilings
- When a Person Must Say Yes
Checking what it says and does4 lessons · 1.5 hours
- Check What Leaves
- It Met the Rule and Missed the Point
- Attack Tests Before Every Change
- Stop It and Undo It
Answering for it4 lessons · 1.5 hours
- A Log That Answers "Why"
- Which Rules Apply to Your Agent
- An Owner, a Register, a Review
- The Safety Case
Career
Where this course can take you
Skills you will build
- Mapping an agent's exposure to prompt injection
- Inventorying an agent's actions and their reversibility
- Classifying agent risks with the OWASP LLM and agentic lists
- Threat modeling an LLM agent
- Mapping prompt injection paths in an LLM agent
- Measuring a prompt injection filter
- Separating untrusted input from tool-calling logic
- Writing a tool-call guard rule with tests
- Scoping an AI agent's tools and credentials
- Validating an AI agent's tool calls in code
- Setting run limits for an AI agent
- Designing human approval for agent actions
- Checking an AI agent's outgoing content for data leaks
- Writing agent guard rules that hold across a whole run
- Regression-testing an AI agent against known attacks
- Stop switches, undo plans and incident routines for AI agents
- Designing audit logs for AI agents
- Mapping AI regulations and frameworks to an agent
- Maintaining an AI agent register with ownership
- Writing a safety case for an AI agent
Who it's for
- You build or run an AI agent that calls tools and must show what stops it from doing harm
- You lead a team shipping agents and need controls, tests and an owner, not just a careful prompt
- You review AI systems and want to know what a real guard and a real safety case look like
What you'll need
- You read Python and use git
- An agent that calls tools, or the course's invented sample (no model or key needed)
Questions
Before you commit
Start today