Skip to content
AgentsIndex

NVIDIA NeMo Guardrails

Open-source Python library from NVIDIA that adds programmable input, dialog and output rails to LLM apps.

NVIDIA NeMo Guardrails is an open-source Python library for adding programmable guardrails to LLM applications, blocking or validating unsafe, off-topic or malicious inputs and responses. Rails are defined in YAML and Colang and run through a Python SDK or an OpenAI-style guardrails server.

Best for
NeMo Guardrails is best for developers who need to add policy checks around LLM inputs and outputs.
GitHub stars
7.3k

What we checked

Pages last read
Facts checked
5 factsFrom 5 sources
AI answers
Not named in any of 62Buyer questions, our November check

At a glance

Code

Last push
15 October 2026

For developers

Works with
GitHub, PyPI, ActiveFence, AlignScore, AutoAlign, Cisco AI Defense and 24 more

Dialog rails steer whole conversations, beyond message filters

Most guardrail products check a prompt and a response, then block or pass. NeMo Guardrails runs rails at five stages (input, retrieval, dialog, execution and output), and the dialog layer is the unusual one. NVIDIA's own comparison claims it is "the only guardrails toolkit that also offers a solution for modeling the dialog between the user and the LLM". That claim is only NVIDIA's.

The product is a Python package configured with YAML and Colang files. Applications call it through the Python SDK, through a self-hosted server with OpenAI-style chat completion endpoints, or through LangChain and LangGraph. The LangChain integration is opt-in and switched on with an environment variable.

Models and moderation checks come from many vendors

The NVIDIA name does not tie the library to NVIDIA models.

The third-party API page documents ready-made rails for ActiveFence, PolicyAI, AutoAlign, Clavata, Cleanlab, GCP Text Moderation, GuardrailsAI validators, Fiddler, Prompt Security and CrowdStrike AIDR, among others. Each needs that vendor's own API key, so those checks carry their own bills and terms. The most recent feature release notes add an F5 AI Guardrails integration with configurable fail-open or fail-closed handling.

The library is free; production support is sold as AI Enterprise

The library is licensed under Apache 2.0, installed with pip install nemoguardrails, and has no plan, seat count or usage meter. Support for it is listed as "Open source community".

The paid path is a separate product. The microservice page describes the NeMo Guardrails microservice as the production option, "available for the NVIDIA AI Enterprise plan", with support through that plan. It is not a drop-in upgrade: "It is not a standalone solution" and it "requires other microservices to function" inside the NeMo microservices platform. The same page rates the library's own server as "Limited (self-managed and no high availability support out of the box)" and recommends it for proofs of concept, development and testing.

NVIDIA publishes no price for AI Enterprise. Its product page offers a "Request a Free 90-Day License" button and a contact link, not a rate card. Configurations move between the two: the overview says "Configurations are portable between the library and microservice".

The guardrails server has no authentication of its own

The optional Actions Server is not isolated from the Guardrails server by default, and any caller past the deployer's gateway can invoke any endpoint or registered action, because the library does no per-endpoint or per-action authorization.

The guardrails in this product protect the model's inputs and outputs; securing the guardrails service is left to the team running it. NVIDIA invites proposals for "an optional in-process authentication layer" as feature requests, which places it as a gap rather than a shipped option.

Anonymous telemetry to NVIDIA is on by default

NVIDIA states that prompts, completions, API keys, endpoints, token counts, file paths, usernames and IP addresses are not included.

Each event is also written to a local audit file at ~/.config/nemoguardrails/usage_stats.json. The opt-out covers the library only, not whichever model endpoint it calls.

Upgrades regularly break integration code

The project is pre-1.0, and its release notes carry a Breaking Changes section. The latest feature release removed the output_mapping parameter from @action (passing it "now raises TypeError"), changed what IORails.generate() returns and its parameter order, stopped the /v1/checks endpoint accepting inline configurations, renamed the Cleanlab, Fiddler and GCP action names used in custom Colang 1.0 flows, and dropped the hf-classifier install extra.

The same notes show steady work on the server: liveness endpoints, OpenAI-compatible error envelopes, and fixes so that output rails fail closed when an action fails instead of passing silently. Teams adopting it should budget for code changes on most upgrades and pin a version, which the versioned documentation supports with snapshots per release.

For AI coding agents, NVIDIA hosts a documentation MCP server that serves the docs only, plus Markdown versions of every page. It does not expose the guardrails runtime as tools.

NVIDIA NeMo Guardrails price and terms

Terms

Free plan
YesYesThe Apache 2.0 license grants a perpetual no-charge, royalty-free license
The terms in full

NVIDIA-hosted models used with the library require an NVIDIA API key.

For AI agents

MCP server
Partly
API
Yes

Developer docs

Where these prices come from

github.com/NVIDIA-NeMo/Guardrails, checked

All plans and limits

PlanPriceMain limits
NVIDIA NeMo GuardrailsFreeNone stated

Read from github.com/NVIDIA-NeMo/Guardrails.

What we checked on NVIDIA NeMo Guardrails

YesPartlyNo

What it costs to startNo

What the price counts

The library license is no-charge and royalty-free, so NVIDIA does not document a paid pricing meter.

perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license

raw.githubusercontent.com/NVIDIA-NeMo/G…Checked

What it costs to startYes

Free tier

The library is an open-source Python package installed from PyPI and licensed under Apache 2.0, so it can be used without paying; third-party model endpoints carry their own terms.

The NVIDIA NeMo Guardrails library (PyPI | GitHub) is an open-source Python package for adding programmable guardrails to LLM-based applications.

docs.nvidia.com/nemo/guardrails/about-n…Checked

What it works withYes

Public API

Its self-hosted API server exposes OpenAI-compatible REST endpoints for guarded chat completions and model listing.

You can integrate the NVIDIA NeMo Guardrails library directly into a Python application or run a FastAPI service and call endpoints over HTTP/REST.

docs.nvidia.com/nemo/guardrails/about-n…Checked

What it works withPartly

MCP server

NVIDIA hosts a documentation MCP server that lets coding agents retrieve the Guardrails docs; it serves documentation only and does not expose the guardrails runtime itself as MCP tools.

The MCP server lets your agent retrieve the canonical documentation without cloning the GitHub repository.

docs.nvidia.com/nemo/guardrails/get-sta…Checked

What happens to your dataYes

Open source

The library's source is published on GitHub under the Apache License 2.0, a permissive open license that allows commercial use and modification.

The NeMo Guardrails library is licensed under the Apache License, Version 2.0.

github.com/NVIDIA-NeMo/GuardrailsChecked

NVIDIA NeMo Guardrails alternatives

Questions about NVIDIA NeMo Guardrails

How much does NVIDIA NeMo Guardrails cost?
NVIDIA NeMo Guardrails is free to use. From github.com/NVIDIA-NeMo/Guardrails, checked 11 November 2026.
Does NVIDIA NeMo Guardrails have an API or an MCP server?
It has an API. It has a limited MCP server.
Is NVIDIA NeMo Guardrails open source, and can you host it yourself?
It is open source. You can host it yourself.
What have we checked on NVIDIA NeMo Guardrails?
5 facts, under these headings: What it costs to start, what it works with, what happens to your data.
How do we check NVIDIA NeMo Guardrails?
We hold 5 facts on NVIDIA NeMo Guardrails, quoted from 5 pages. Facts and price last checked 11 November 2026.

How we check every listing

Repository

Stars
7,305
Last push
15 October 2026

Similar to NVIDIA NeMo Guardrails

See all in Agent tools and integrations

From our research

All research

Is this yours?

Claim it free, then see who reads this page and carry the verified owner mark. You confirm it with an email at docs.nvidia.com.

Report an error if a fact is wrong.