Automate Basics

Glossary

What are AI guardrails?

Guardrails are rules and technical limits placed around an AI system to keep its behavior safe, accurate, and within policy, such as blocking certain topics or requiring approval for actions.

Guardrails are the boundaries that stop an AI tool from doing things it should not. Some are built into the model by the company that makes it, such as refusing clearly harmful requests. Others are set by the organization using it: which data the tool can access, which topics it may discuss, which actions it may take on its own, and what must be checked by a person first.

A customer support chatbot shows how this works in practice. Its guardrails might limit it to answering from the company's help articles, stop it from discussing competitors or giving legal advice, prevent it from issuing refunds above a set amount without a person's approval, and keep sensitive customer details, such as card numbers, out of its replies and logs.

Guardrails take several forms: written instructions given to the model before every conversation, often called a system prompt; filters that check what goes in and what comes out; permission settings that limit which files and apps the AI can reach; approval steps before actions; and monitoring that flags unusual behavior. Combining several layers protects better than relying on instructions alone, since a model does not always follow them.

No guardrail is complete. Determined users can sometimes talk an AI out of its instructions, and content the AI reads, such as an email or a web page, can contain hidden instructions, a problem called prompt injection. That is why the most dependable guardrails are hard limits on access and actions, not just instructions, and why sensitive steps keep a human in the loop.

An example

An internal HR assistant is set up so it can read policy documents but cannot open individual employee records or send emails.