Guardrails are the structural controls that define what an LLM can receive and produce in production. This guide covers the four-layer architecture — input guards, scope classification, output guards, and fact verification — with tooling comparisons (NeMo Guardrails, Guardrails AI, LangChain), prompt injection defence, latency budgeting, and production readiness criteria.