Guardrails - mechanisms that filter, flag, or constrain Large Language Model (LLM) inputs and outputs - have become a core component of the AI safety stack, shaping how AI systems behave in chatbots, social media platforms, and public-facing services. Yet while the research community devotes significant attention to evaluating the outputs and capabilities of LLMs themselves, the guardrail models that govern what users actually see and experience have received less scrutiny. We argue that evaluating guardrails is as important as evaluating the LLMs they protect.
Historically, guardrails have been difficult to examine: often they performed as proprietary classifiers embedded in content moderation systems, visible to users only through refusals or minimally explained filtering decisions. The recent proliferation of open-source guardrail models, with accessible architectures, chain-of-thought reasoning traces, and open safety taxonomies, has created an opportunity for independent evaluation.
This tutorial invites FAccT researchers to critically examine guardrails across languages, domains, and deployment contexts. Drawing on our multilingual, context-aware evaluation of guardrails in a humanitarian setting and on the design of Mozilla AI's open-source any-guardrail framework, we show how guardrails can be systematically and contextually evaluated and that others can do this too, in their own context and language of interest.
We also identify key research frontiers in LLM guardrails design: dynamic safety taxonomies, agentic capabilities such as tool use and retrieval for fact-checking and trustworthiness, multimodal coverage, and feedback loops between evaluation results and guardrail improvement.
Interactive
Select a real-world scenario, choose a policy, translate the prompt to your language, generate a model response, and run non-agentic and agentic guardrail evaluations — side by side.
Further reading
Evidence from a humanitarian LLM use case — the research behind this tutorial.
blog.mozilla.ai Open SourceMozilla AI's open-source framework for flexible, context-aware guardrail evaluation.
mozilla.ai / any-guardrail GitHubThe open-source code for the agentic guardrail evaluation system in this tutorial.
github.com/royapakzad/guardrail_agentic Research LabResearch on multilingual AI systems, safety, and equitable language technology.
multilingualailab.com OrganizationIndependent research on AI accountability, safety, and the social impacts of technology.
taraazresearch.org OrganizationBuilding open, trustworthy AI tools and conducting research in responsible AI development.
mozilla.aiGet in touch