---
title: "Guardrails"
url: https://eldan.ai/glossary/guardrails
canonical: https://eldan.ai/glossary/guardrails
locale: en
language: en
published: 2026-11-23
updated: 2026-11-23
author: "Eldan Abdrashim"
cite_as: "Eldan Abdrashim. \"Guardrails.\" Eldan.ai, 23 November 2026. https://eldan.ai/glossary/guardrails."
---

# Guardrails

> Guardrails are checks placed around a model: input filters, output validators, classifiers for unsafe content and rules that block certain actions. They reduce risk and catch common failures, but none is perfect against natural language. Treat them as one layer among several, never as the only defence.

Deterministic guardrails, such as schema validation, allowlists and amount limits, are strong because they do not depend on a model’s judgement. Model-based guardrails are probabilistic and need their own evals for false positives and misses.

**Common mistake.** Buying a classifier and removing human review because the dashboard shows a high catch rate.

**In practice.** Prefer deterministic checks where a rule can express the requirement, measure model-based guardrails on your own traffic, and keep an approval step for irreversible actions.

## Related terms

- [Prompt injection](https://eldan.ai/glossary/prompt-injection)
- [Structured output](https://eldan.ai/glossary/structured-output)
- [Human in the loop](https://eldan.ai/glossary/human-in-the-loop)
