AI EngineeringInterview preparation
Foundation·Discussion·2 min read

What is a guardrail?

Practice this question
  • A check limiting unsafe or invalid behavior at input, output, or tool boundaries.
  • Examples include schemas, content checks, evidence validation, rate limits, business rules, and approval gates.
Adapted from 13_AI.MD · “29.14 Guardrails”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.