Guardrail

A guardrail is a system control that constrains or monitors AI behavior to reduce unsafe, invalid, or undesired outputs.
Also known as
AI guardrail, safety control

Intuition

Guardrails are the seatbelts and lane markers around a model. They do not make the model perfect, but they reduce failure risk.

Technical definition

Guardrails can include input filters, output validators, policy classifiers, tool permissions, human review, structured schemas, and runtime monitors.

Example

A medical assistant may block dosage advice and escalate to a clinician review path.

Common misunderstandings

  • Guardrails are not only prompts.
  • A guardrail should be evaluated like any other system component.

Need this inside a product?

The studio builds the systems these terms describe. Tell us what you are working on.