Guardrails Explained: Rules Enforced Around an AI Model, Not Inside It

Business Pill 38 · Rules enforced around the model

A guardrail is a rule enforced by the software around an AI model, not by the model itself. It checks what goes in and what comes out.

A short explainer video, under a minute. It uses a story about a robot at a helpdesk.

The Short Answer

A stranger walks up to a helpdesk and asks for another customer’s home address. The robot, eager to help, starts to read it out.

Just in time, a check outside the robot stops the answer. That check has a name. It is called a guardrail.

What a Guardrail Is

A guardrail is a rule enforced by the software around the model, not by the model itself.

In the story, the model is the part that is eager to help. The guardrail is a separate check, outside the model, that stops the answer.

The Two Places Guardrails Sit

Guardrails sit in two places. One reads what goes in, before the model sees it. The other reads what comes out, before the customer sees it.

The Cost of Setting Them Too Tight

A guardrail set too tight blocks honest people too. In the video’s example, a customer asks for her own address and gets refused.

So a guardrail is not free. Each rule protects something, and each rule can also stop a request that should have gone through.

Why It Matters

A prompt asks the model to behave. A guardrail checks that it did.

That is the difference between a request and a control. The video asks which rules are too important to leave to the model alone.

The One Question to Ask

  1. Which rules are too important to leave to the model alone?

See It in the News

Kimi’s Guardrail Gap and the Refusal Rate Illusion. A news piece on how a model’s built-in safety limits held up when a security firm tested them.

How This Concept Connects

Layer 5 of 8 · Trust, Risk & Governance, on the Business Engineer Concept Map

RLHFThe Model and the HarnessKill SwitchGuardrails
  • Guardrails contrasts with RLHF. RLHF shapes behaviour inside the model; a guardrail is a rule enforced by software around the model, checking that it behaved.
  • Guardrails is an example of The Model and the Harness. Guardrails are checks the surrounding software runs on inputs and outputs, one of the controls a harness adds to a model.
  • Kill Switch (lesson unlocks soon) contrasts with Guardrails. Guardrails check every input and output automatically; a kill switch is one owned stop pressed when something goes wrong.
Business Engineer framework
Inside Anthropic’s Permission Layer
Rules around who/what the model may serve.
See all 141 concepts on one map
Get the full Concept Map as a free poster.
Get the map

More Business Pills

Scroll to Top

Discover more from FourWeekMBA

Subscribe now to keep reading and get access to the full archive.

Continue reading

FourWeekMBA