---
title: "What are AI guardrails? Definition and examples"
description: "AI guardrails are checks placed around a model that limit what it accepts, says or does, such as input filters, output filters and limits on tool use."
canonical: "https://finic.ai/glossary/guardrails"
last-updated: "2026-12-03"
---

# What are AI guardrails?

AI guardrails are checks placed around a model that limit what it accepts, says or does, such as input filters, output filters and limits on tool use.

Also called: AI guardrails, LLM guardrails, safety filters

## How it works

A guardrail sits before or after the model. Input guardrails screen user messages and outside content for things like [jailbreak](https://finic.ai/glossary/jailbreak) attempts, personal data or off-topic requests. Output guardrails check the answer for unsafe content, leaked secrets, wrong format or claims that the source data does not support.

Guardrails can be simple rules, such as pattern matches and allow lists, or other models that classify text. For agents, the most important guardrails often control actions: which tools can be called, with what limits, and which actions need approval.

## Why it matters for fraud and trust

A [large language model](https://finic.ai/glossary/large-language-model) can be wrong or manipulated, so it should not be the only control over money, data or customer messages. Guardrails turn risky free-form output into a bounded system. They also give teams a clear place to log and audit what the AI was asked and what it did.

## Common types

Most production systems combine several kinds.

- Topic and policy filters on input and output.
- Detection of personal data, secrets and credentials.
- Schema checks that force structured, valid output.
- Spending limits, allow lists and approval steps for tool calls.
- Grounding checks that compare an answer to its sources.

## Limits

Guardrails reduce risk but do not remove it. Filters miss new attack styles and can block real users by mistake, so teams measure both misses and [false positives](https://finic.ai/glossary/false-positive) and update the rules over time.

## Related terms

- [Jailbreak (AI jailbreak)](https://finic.ai/glossary/jailbreak.md): A jailbreak is a prompt or series of prompts written to make an AI model ignore its safety rules and produce output its builders meant to block.
- [Prompt injection](https://finic.ai/glossary/prompt-injection.md): Prompt injection is an attack in which text given to an AI model contains instructions that override what its developer or user intended, so the model leaks data or takes unwanted actions.
- [Human in the loop (HITL)](https://finic.ai/glossary/human-in-the-loop.md): Human in the loop is a design where a person reviews, approves or corrects some of an AI system's decisions or actions before they take effect.
- [AI governance](https://finic.ai/glossary/ai-governance.md): AI governance is the set of policies, roles and controls an organization uses to decide how AI is built, bought, used and monitored, and who is accountable for it.
- [System prompt](https://finic.ai/glossary/system-prompt.md): A system prompt is a set of instructions given to a language model by the app developer, separate from user messages, that defines the model's role, rules, tone and limits.
