Home · Glossary · Guardrails
Enterprise AI glossary · Agentic AI & Orchestration

Guardrails

Runtime checks that intercept LLM inputs and outputs to enforce policy — blocking PII leakage, prompt-injection attempts, off-topic queries, unsafe responses.

Definition

What Guardrails means in practice

Guardrails are the policy enforcement layer that sits around an LLM in production. Input guardrails inspect prompts for prompt-injection attempts, PII that shouldn't be sent to the model, off-topic queries, or jailbreak patterns. Output guardrails inspect responses for hallucinated facts, leaked credentials, policy violations, or PII that shouldn't reach the user. Common open-source implementations include NeMo Guardrails and LlamaGuard. In a sovereign deployment guardrails run inside the perimeter (no cloud filter API), with policy rules versioned in source control and a clean audit trail of every block. The engineering rule of thumb: every public-facing LLM endpoint has guardrails, no exceptions.

Go deeper
Agentic AI in production →

All 62 terms, in plain language

Sovereign AI, RAG, agentic AI, IDP, MLOps and the regulations that shape enterprise AI.

Browse the glossary →Talk to an engineer →