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 enforcement mechanisms described in Choosing a managed deployment: a gateway as the brain, at least one enforcement mechanism (SDK shim, aa-proxy sidecar, or eBPF), and a policy. Pick the language you are integrating, or browse the cross-cutting scenarios:

Launching a generic agent under aasm run, with process-level execution isolation? That is a CLI-only walkthrough, not an SDK example — see Execution isolation → Quickstart and the aasm run CLI reference.

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-08-15 by Chisanan232