Rare events
Attacks are rare. How often an alert is right is set by the base rate, not by how good the detector looks on a balanced test set.
Free course · for data scientists · in preparation
Agent security is a statistics problem. Build every defence yourself on a laptop, then learn what it becomes at fifty million calls a day.
The central problems of securing AI agents have statistical twins. The course supplies the security half.
Attacks are rare. How often an alert is right is set by the base rate, not by how good the detector looks on a balanced test set.
Every threshold spends a false-alarm budget. You choose where to spend it, and measure it where the system acts.
A detector tested on prose meets JSON, logs, diffs and SQL in production, and behaves differently.
Will a new policy help? Replay it over last month's traffic and run it in shadow before you enforce it.
A detector that catches 99% of attacks and flags 1% of harmless calls sounds excellent. Move the sliders and see how many of its alerts are real.
No security product, commercial or open-source, is used or taught. You build a miniature agent gateway with general-purpose open tools, one component per module.
Every module ends with what the same component becomes at millions of calls a day, thousands of agents and many teams, worked out from your own measurements.
Your detector scores one tool call in 40 milliseconds. You measured it, you understand every line, and it runs in 8 GB of memory with no GPU.
The same detector keeps about 23 cores busy around the clock. Where does it run? What happens to a call when it is slow or down? Who reviews its alerts?
Each module ends at a measurement you produce and defend, not at a page you have read. About 105 hours, self-paced, in English and Hebrew.
The whole course is open. The only paid part is the final exam, which a person reviews.
No. The course assumes Python, probability and machine learning, and teaches the security from the ground up.
A laptop with 8 GB of memory, running macOS, Windows (with WSL 2) or Linux. No GPU is required. Installing Docker and setting up the lab is a module of its own.
None. You build every component yourself with open, general-purpose tools, and wherever a tool is chosen the lesson names an alternative.
Yes. Every lesson, build and automated check is free. Only the final exam, which a person reviews, and the certificate that follows are paid.
English and Hebrew. Code, commands and tools stay in English in both.
It is in preparation. Join the waitlist to hear when the first modules are published.
One e-mail when the first modules are published, and occasional notes on how the course is going. Write to shimon@defendingaiagents.com; your address is used only for this course, and you can ask to be removed at any time.