Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Runnable examples

The pages in this guide explain how governance works. When you want to run it, the framework-specific, end-to-end examples live in the dedicated examples repository rather than in this book — that keeps the runnable code versioned and testable on its own, while these pages stay focused on the concepts.

Want to stand up the infrastructure itself? The Self-hosting guide walks through the open-source Docker Compose stack — its architecture, which containers run (and who each is for), and how to set up, run, and maintain the program’s infra locally. For the wiring diagram behind that stack — how a single agent action travels across every hop and the real config knob at each one — see the Infrastructure overview.

Every example is governed by the same three-layer interception model described in Choosing interception layers: a gateway as the brain, at least one interception layer (SDK shim, aa-proxy sidecar, or eBPF), and a policy. Pick the language you are integrating, or browse the cross-cutting scenarios:

Per-SDK example docs

Each language SDK also publishes its examples as rendered documentation, with the governance walkthrough alongside the code. These are the same scenarios as the repo links above, presented in the SDK’s own docs site.


Last updated: 2026-07-23 by Bryant