Skip to content
Updated Nov 27, 2026

Term · Risks and regulation

Guardrails

Controls placed around an AI model or agent to limit what it can say or do: filters, rules, permissions and reviews.

Category
Risks and regulation

What it is

The model on its own isn't enough to be safe. Guardrails are the layers added on top: filters that check what goes in and out, lists of allowed actions, spending limits or a requirement to ask for confirmation before anything sensitive.

In practice

They're used in customer-facing assistants, so they don't talk about what they shouldn't, and in agents, so they don't send emails, pay or delete anything without permission. A GlossarySandboxA closed space where a program or an AI agent can work without touching the rest of the computer or going online without permission.More about Sandbox → with the network locked down is also a guardrail.

Watch out for…

No filter is perfect: a GlossaryJailbreakA trick to get an AI model to bypass its own safety rules and do something it's not allowed to do.More about Jailbreak → or a GlossaryPrompt injectionAn attack that hides instructions in a text, a web page or a document so the AI reading it obeys them and ignores its user’s orders: revealing data, changing its answer or taking actions nobody asked for.More about Prompt injection → can get around them. Test them with hard cases and combine several instead of relying on just one.

Learn more at nist.gov (opens in a new tab)

Appears in

Actions