Guardrail wrappers add validation layers before and after the main model call. Input guardrails check for toxic content, PII, or injection attempts. Output guardrails verify the response meets safety, format, and content policies before returning it to the user.