AI agent guardrails: rules your agents follow, whatever they are asked
AI agent guardrails are company rules that hold whatever an agent is asked: what it may never do, what always needs a person, and what it must warn about. They are what make it safe to let an agent work on its own.
Most companies already have these rules, in an AI policy few people read. A guardrail is the same rule, written so that every agent in every AI tool follows it, every time.
Strict and advisory guardrails
Refused, whatever the request
Flagged, then the person decides
Guardrails companies actually use
Four places to put a guardrail, and what each catches
Easy, and easily lost
Holds in one tool only
Holds whichever AI tool is used
For coding agents
How to write a guardrail that works
How Deployed OS handles it
In Deployed OS an admin writes the company’s guardrails once and marks each one strict or advisory. They come with every skill and apply in Claude, ChatGPT and Copilot alike. The platform refuses a change that breaks a strict guardrail, and the AI tells the person when a request breaks an advisory one. That is what lets us run our own coding agent on its own.
This is one of five controls every company needs for its agents. See all five in our guide to AI agent governance.
Questions about AI agent guardrails
Company rules that hold whatever an AI agent is asked: actions it may never take, steps that always need a person, and risks it must warn about. They apply to every agent, not one prompt at a time.
Rules and checks around an AI system that keep it within set limits. For a company using AI agents, the most useful guardrails are business rules, such as never deleting in bulk or never sending without approval, applied in every AI tool.
A strict guardrail stops the action, whatever the request. An advisory guardrail warns the person and lets them continue if they confirm. Strict suits mistakes that cannot be undone; advisory suits judgement calls.
Where every agent has to pass them. Rules in a prompt or in one AI tool’s settings are easy to miss. Rules in the layer between your AI tools and your systems hold whichever tool the agent runs in.
Good ones speed them up. With clear rules on what may never happen, a company can let agents do more on their own, because the worst mistakes are already ruled out.