A field guide for people building with AI

A practical guide to AI guardrails

Understand what can go wrong. Put checks where they can stop it. Test what gets through.

Example / action boundaryBefore execution

Requested action

restart_service("api-prod")
1Is this agent allowed on this host?
2Is the action in its allowed set?
3Does this change need a person?
Wait for approvalAction has not run

An example policy, not a live infrastructure request

What a guardrail does

A guardrail checks a request, a response or a proposed action against a rule. Some checks catch unsafe content. Others limit what an agent can do. The useful question is where the check runs and what happens when it fails.

Start reading

Build checks you can explain

Browse all 12 guides ↗

Try the policy lab

Change the request. See the decision.

Choose an action and environment, then change the access and approval conditions. See which rule stops a request and why.

Try a policy check

Published by the team behind Emisar, Ryker and co:op. The guides link to their sources and explain where each approach stops. How we write and review.