← All posts

NeMo Guardrails: What It Actually Covers for AI Compliance

NeMo Guardrails: What It Actually Covers for AI Compliance
TL;DR

NeMo Guardrails is an open-source NVIDIA toolkit for adding programmable input, output, dialog, retrieval and execution rails to LLM apps. It maps to several ISO 42001 and NIST AI RMF controls, but it is a technical control, not a governance system. This post breaks down what it covers, what it cannot, and what buyers should still verify.

What NeMo Guardrails actually is

NeMo Guardrails is an open-source library from NVIDIA that sits between your application code and the LLM it calls. Rather than sending a user message straight to the model, your app sends it through a guardrails layer, and that layer decides what passes in both directions.

The project is Apache 2.0 licensed, actively maintained, and widely cited in vendor security documentation. At the time of writing the latest release is version 0.23.0. The core idea is programmable guardrails: you express safety behaviour as code and configuration instead of hoping the model behaves.

What the documentation claims

The toolkit defines five types of rails, each applied at a different point in a request's life cycle.

  • Input rails run on the user's message before it reaches the model. They can reject the input outright, or rewrite it, for example masking sensitive data.
  • Dialog rails shape how the model is prompted and which conversational path it follows.
  • Retrieval rails filter or mask chunks in a retrieval-augmented generation pipeline before they are fed to the model.
  • Execution rails guard the inputs and outputs of any tools or custom actions the model calls.
  • Output rails run on the model's response before it returns to the user, rejecting or rewriting it.

On top of those, the library ships built-in checks for jailbreaks, prompt injection, content safety, topic safety, fact-checking and hallucination detection. It also bundles an evaluation tool and sample vulnerability-scan reports. Configuration happens through a Python-like modelling language called Colang, and you can run the toolkit as a Python library, a standalone server, or a Docker container. The full detail is in the official documentation and the GitHub repository.

One operational detail matters before you deploy it. The library sends anonymous telemetry to NVIDIA by default, covering library version, operating system, configured engine providers and counts of active rails. It does not include prompts, completions or credentials, and you can opt out with an environment variable. But it is on unless you turn it off, which is exactly the kind of default a governance team should want documented before the tool goes anywhere near production.

Two things set NeMo Guardrails apart from lighter moderation filters. First, Colang lets you model the conversation itself, not just reject individual messages, so you can enforce standard operating procedures, for example requiring authentication before a sensitive action runs. Second, several of its built-in checks are self-check rails, meaning they call one model to judge the output of another. That is powerful, but it is worth saying plainly: a fact-check rail is only as reliable as the checker model, and every self-check adds latency and tokens to each turn.

What the frameworks actually demand

Here is where most overview articles stop. The useful question for an AI vendor is whether a guardrails layer maps to the controls a buyer or an auditor will actually check.

ISO 42001 is a management system standard, and its Annex A holds the AI-specific controls. Three areas matter here. A.5 covers assessing the impacts of AI systems, including risk assessment. A.7 covers data for AI systems, including data provenance. A.10 covers third-party and customer relationships, including AI system evaluation and human oversight.

The NIST AI Risk Management Framework organises AI risk work into four functions: Govern, Map, Measure and Manage.

The EU AI Act imposes specific obligations on providers of high-risk systems. Article 9 requires a risk management system. Article 14 requires human oversight. Article 15 requires accuracy, robustness and cybersecurity, and Article 15(3) specifically demands resilience against attempts to manipulate the system by exploiting vulnerabilities. In plain terms, that is a legal requirement to resist jailbreaks and prompt injection.

Notice the pattern. All three frameworks ask for evidence of risk assessment, evaluation and oversight. A guardrails layer is one piece of that evidence. It is not the whole system.

Where it helps, and where it does not

Map the five rails onto the frameworks and a clear picture emerges.

NeMo Guardrails genuinely supports the technical robustness side. Input and output rails that catch jailbreaks and injections are a direct, demonstrable control for EU AI Act Article 15(3). The evaluation tool and vulnerability scans produce evidence for ISO 42001 A.10.4 and for the NIST AI RMF Measure function. Fact-checking and hallucination rails address output quality, which bears on the Article 15 accuracy obligations. That is real, checkable value, and it is why guardrails belong in any agent containment strategy.

None of this is free at runtime, and none of it is set-and-forget. Self-check rails add an extra model call per turn, which raises cost and latency. The evaluation tool only produces useful evidence once you define what you are measuring, and those measurements drift the moment you swap the underlying model or change a prompt. These are engineering tradeoffs, not compliance ones, but a governance team should understand them before signing off on a configuration.

But a guardrails layer does not give you a management system. It does not perform a risk assessment, which is ISO 42001 A.5. It does not document data provenance, which is A.7.5. It does not provide human oversight, which is A.10.5 and EU AI Act Article 14. Those are governance activities that happen around the tool, not inside it. Likewise, the NIST Govern and Map functions are organisational work no library can fulfil.

The same applies to data. Input rails can mask personal data on the way in, which is useful. But masking is not data governance. Where training data came from, how it was labelled and whether it is fit for purpose are questions a guardrails layer cannot answer. A vendor who says their data governance is covered because they run NeMo Guardrails has confused a technical control with a governance one.

What buyers should verify

Whether you are a buyer evaluating a vendor's guardrails claim, or a vendor preparing to make one, here is what to check.

  • Ask which rails are actually configured. A guardrails configuration with no rails simply forwards requests to the model, so "we use it" means nothing on its own.
  • Ask whether fact-checking and hallucination detection are enabled, and request the evaluation results rather than a summary.
  • Ask how jailbreak and injection testing is performed, and ask to see the vulnerability-scan report. Red-team tools like Garak pair naturally with a guardrails layer, and the results should exist.
  • Ask who reviews the guardrails configuration when a new model or feature ships. Guardrails are only as current as the last review.
  • Ask for the governance that surrounds the tool: the risk assessment, the oversight process and the data provenance records.

The short version is that a guardrails layer is strong evidence of technical controls, and weak evidence of a governance system. Buyers who treat the two as the same thing are exactly the buyers who benefit from a sample verification report that shows the current status of the whole system, not a single tool in the stack.

For vendors, the lesson is the same from the other side. You can have the best guardrails configuration in your category and still lose a deal if you cannot show the management system around it. That gap, between technical controls and demonstrated governance, is where procurement friction lives. Start with the procurement readiness steps and let a live verification badge do the proving. When you are ready to talk about it, get in touch.

Written by David Swan, reviewed and fact-checked against primary regulatory sources. AI-assisted but human-directed.

Frequently asked questions

What is NVIDIA NeMo Guardrails?

NeMo Guardrails is an open-source, Apache 2.0 licensed toolkit from NVIDIA for adding programmable safety controls, called rails, to LLM-based applications. It sits between your application code and the model and applies checks at five points: input, dialog, retrieval, execution and output.

Does using NeMo Guardrails make my AI system ISO 42001 compliant?

No. NeMo Guardrails is a technical control that supports parts of ISO 42001 Annex A, such as AI system evaluation (A.10.4). It does not provide the management system, risk assessment (A.5) or human oversight (A.10.5) that ISO 42001 requires.

Which EU AI Act requirements does a guardrails layer help with?

Guardrails most directly support Article 15(3), which requires resilience against attempts to manipulate the system through vulnerabilities, effectively a requirement to resist jailbreaks and prompt injection. They can also support Article 15 accuracy obligations through fact-checking and hallucination detection, but they do not satisfy Article 9 risk management or Article 14 human oversight on their own.

Is NeMo Guardrails free to use commercially?

Yes. The library is released under the Apache 2.0 licence, so it can be used commercially. Note that it sends anonymous telemetry to NVIDIA by default, which can be disabled with an environment variable.

What should enterprise buyers verify about a vendor's guardrails?

Which rails are actually configured, whether fact-checking and hallucination detection are enabled with evaluation results, how jailbreak and injection testing is performed, who reviews the configuration when models change, and the governance system that surrounds the tool.