
A practitioner's handbook for containing autonomous coding agents — tool-call gates, OS sandboxing on Linux/macOS/Windows, MCP hardening, red-teaming — with a dated, citation-backed survey of twenty real guardrails products and a runnable lab in every chapter, against your own machine.
$5 one-time · EPUB + PDF · instant download
Three of the book's ten original diagrams — real figures from the manuscript, not marketing illustrations.
The mental model the rest of the book builds on: seven places a coding agent's actions can be stopped, each covered in its own chapter.
Three worked cases tracing where a real guardrail actually intervenes in an attack — blocked, missed, or asked.
Every containment technique in the book covered for Linux, macOS, and Windows — never just one platform.
AI Agent Guardrails is a practitioner's handbook for containing autonomous coding agents on machines that matter — a laptop with SSH keys and cloud credentials, a CI runner with a deploy key, a shared workstation with a company's source tree checked out. A coding agent that reads a file, runs a shell command, and fetches a URL is not a bigger autocomplete: it is a program that writes and executes other programs, steered by text that can arrive from anywhere — a pull request, a README, a hostile MCP tool description. Across 24 chapters, author Charles Chong builds a reference architecture of containment layers — tool-call interception, OS and kernel sandboxing on Linux, macOS, and Windows, network egress control, evaluation and red-teaming — and names twenty real guardrails products against a five-layer taxonomy, stating plainly where each is stronger than his own SigmaShake Governance (SSG). Every technical claim carries a citation and a retrieval date.