NAVIGATION

What are Guardrails?

Definition

Guardrails

Guardrails refer to validation layers placed around AI models to intercept inputs (prompts) and outputs (completions). They ensure safety policies, structure schemas, and prevent toxic leakage or jailbreaks.

Why It Matters for AI Builders

Defines the safety alignment and security constraints of user-facing systems during safety alignment interfaces, compliance filtering, and api defense; implementing Guardrails helps builders isolate instructions from injection exploits.

Detailed Deep Dive

Guardrails are software layers and safety filters wrapped around AI models to monitor and control inputs and outputs. Guardrails enforce safety constraints by intercepting toxic inputs, blocking unsafe generated text, redacting personally identifiable information (PII), and ensuring that the model adheres to predefined operational boundaries.

Advertisement

Frequently Asked Questions

Q:What is a typical guardrail pipeline?

It first scans the user prompt for malicious inputs (jailbreaks), allows the LLM to process it, and then validates the model's output for safety or formatting prior to rendering.

Q:Give an example of an open-source guardrail library.

Guardrails AI or Llama Guard, which offer template policies to validate outputs against json schemas or safety criteria.

Quick Facts

  • CategoryAlignment & Safety
  • Key ApplicationSafety alignment interfaces, compliance filtering, and API defense

Coverage Trend12 Weeks

12w agoToday

Cite This Term

Guardrails Media Coverage & Intelligence

PRODUCT LAUNCHJul 23, 2026

Best Practices for Applying Amazon Bedrock Guardrails to Code Generation Workflows

In this post, we explain how Amazon Bedrock Guardrails can be configured for code generation workflows with coding assistants to overcome these constraints.

PRODUCT LAUNCHJul 14, 2026

ScienceSoft's HIPAA-compliant AI Voice Scheduler Built on AWS

In this post, you will learn how ScienceSoft, an Amazon Web Services (AWS) Services Partner, integrated Amazon Nova 2 Sonic with Amazon Bedrock Guardrails to.

PRODUCT LAUNCHJun 16, 2026

Safeguard your agentic AI applications with the Amazon Bedrock Guardrails InvokeGuardrailChecks API

Today, we're announcing a new API with Amazon Bedrock Guardrails. With this API, you can apply individual safeguards, also referred to as safety checks, at...