# Guardrails

- **Canonical URL:** https://getaimath.com/dictionary/guardrails/
- **Topics:** [AI Agents & Agentic AI](https://getaimath.com/dictionary/category/ai-agents-and-agentic-ai/), [AI Safety, Security & Governance](https://getaimath.com/dictionary/category/ai-safety-security-and-governance/)
- **Last updated:** 2026-11-25

## What is Guardrails?

**In one sentence:** Guardrails are rules and checks that keep an AI system's behavior safe, appropriate and on-task.

They can block harmful requests, filter unsafe outputs, stop agents from risky actions, or keep answers on approved topics. They can be built into the model, the prompt or separate checking software.

![Chatbot vs. AI Agent: Giving Advice vs. Doing the Chore — Simple cartoon comparing a Chatbot (gives you a recipe and stops) with an AI Agent (plans steps, uses tools like your calendar and browser, checks if it worked, and finishes the job).](https://getaimath.com/diagrams/ai-agents-and-agentic-ai.png)
*Napkin Diagram (AI Agents & Agentic AI): A regular chatbot just talks back; an AI agent has hands (tools) and loops until the chore is actually finished.*

## What is an example of Guardrails?

A banking bot with guardrails refuses to discuss anything except the bank's services and never reveals account data without verification.

## Why does Guardrails matter?

Guardrails help prevent harm, misuse and embarrassing mistakes.

## Related Concepts

- [Human-in-the-Loop](https://getaimath.com/dictionary/human-in-the-loop/): Human-in-the-loop means a person checks, approves or corrects an AI's work at important steps.
- [Agent Evaluation](https://getaimath.com/dictionary/agent-evaluation/): Agent evaluation is testing how well AI agents complete tasks, how reliably and how safely.
- [Supply Chain Security](https://getaimath.com/dictionary/supply-chain-security/): Supply chain security is protecting all the parts an AI system depends on, like datasets, models, libraries and tools, from tampering.
- [Content Filtering](https://getaimath.com/dictionary/content-filtering/): Content filtering automatically checks AI inputs or outputs and blocks or flags harmful material.
- [Computer Use](https://getaimath.com/dictionary/computer-use/): Computer use is when an AI controls a computer like a person does, by looking at the screen and using the mouse and keyboard.
- [Agent Reliability](https://getaimath.com/dictionary/agent-reliability/): Agent reliability is how consistently an agent completes tasks correctly without failing, getting stuck or causing problems.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/guardrails/)
