The teams that give their agents the most autonomy usually have the strictest guardrails. The two go together because hard boundaries are what make speed inside them acceptable.

Good guardrails do not ground the pilot. They build a corridor wide enough for full throttle and walled where the terrain is fatal. Inside it, nobody asks permission for every turn, because the boundaries already encode what is allowed.

Ask where the rule is enforced

This is the question that separates real controls from documentation, and there are only two answers.

In the prompt: "Do not access customer PII." This is a request to a probabilistic system. It can be confused, argued around, or overridden by instructions the model encounters in retrieved content (indirect prompt injection). It is a strong default, not a boundary.

In the system: the agent's credentials cannot read the PII store. The tool is not in its registry. The spend cap is enforced by the runtime, which rejects the call rather than reasoning about it.

Prompts shape behaviour, and systems bound it. Every rule that actually matters belongs in the second category, and the useful exercise is going through your current rules and sorting them honestly. Any rule that was added by editing the system prompt is in the first category until someone moves it.

Measure both failure directions

Guardrail programmes fail in two ways, and incident tracking only sees one.

Escapes: harm that got through. Each one becomes an incident, so it gets counted.

False blocks: legitimate work the corridor wrongly refused. These raise no incident, so nothing counts them unless every block is logged and a sample reviewed, and they are how guardrails quietly strangle a product. Users hit a wall, conclude the system is useless for their real work, and go back to doing it manually. Adoption dies without a single incident being logged, and the safety dashboard stays green throughout.

A guardrail that blocks everything uncertain is broken in a way that does not page anyone.

Give the system somewhere to go

The weak half of a block-only guardrail is what happens instead, because a refusal on its own leaves the user with no path. A good boundary comes with an alternative, such as a narrower version of the action, a request for the missing authorisation, or an escalation with enough context that a human can resolve it in seconds.

And monitor the triggers as product signals. A guardrail firing constantly on one workflow means either the rule is wrong or the workflow needs a supported path. Both are useful, and neither surfaces if nobody reads the counter.

What moving a rule costs

A rule held in credentials or a tool registry is blunter than one in a prompt, because it cannot make the judgement call a prompt leaves to the model. Expect false blocks to rise for each rule you move out of the prompt. Handle the legitimate exceptions as their own narrow tools, with their own scoped credentials and an approval step, rather than by loosening the rule, and watch that rule's block counter for the first weeks after the move.

About this explainer

Format
Explainer
Level
Practitioner
Read
2 min read
Published
Jun 28, 2026

Short mental models: one idea, why it matters, what to do about it.

Checklist · · 24 checks

Working with Claude, practices that hold up

Prompting, agents and tools, Claude Code, evaluation and safety. The habits that make Claude-based systems reliable, as a checklist you can run against your own setup.

Checklist · · 29 checks

Security review checklist for an AI feature

What to check before an assistant, RAG app or agent goes in front of real users. Grouped by area, ticked off locally; progress stays in your browser.