Skip to main content
← Safety

NeMo Guardrails

NVIDIA
Local Open source guardrails Multiple backends Self-hosted API Some axes open Slowing Checked 2026-11-06

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

Upstream slowing
In one line

It is a guardrail library that runs locally, not a hosted safety service. NVIDIA…

How you use it

Local + cloud · Local app

Licence / commercial use

Open licence

Read the original licence before commercial use
Mainland China

Direct in mainland · Not checked

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • How MCP servers are attached as tools: no corresponding top-level key in the config.yml schema
  • Cross-session memory and rail-state persistence
  • The local file surface beyond the configuration directory
  • Compliance certifications and telemetry/log-retention commitments
  • Per-language rail accuracy (not published officially; this site does not measure it)

It is a guardrail library that runs locally, not a hosted safety service. NVIDIA describes it as an open-source Python library for adding programmable guardrails to LLM applications; rail types, judging models and data flow are all decided by your config.yml.

When to use it, when not to

Fit: teams adding guardrails inside their own process or container, with topic control, jailbreak detection, PII and tool-call control written as rails. Not fit: wanting a hosted console and review workflow, or treating guardrail quality as a vendor promise; the judging model is the one you choose, so changing the model changes the verdict.

China availability domestic / direct access / CAC filing · snapshot 2026-11-06

Origin
foreign-made NVIDIA entity (on the docs site and repository page same day); no mainland-localised edition found.
Direct access
direct OK Same-day probes: docs.nvidia.com and pypi.org returned 200, github.com returned 000 (local network restriction); the install route via PyPI is reachable. Page reachability is not a compliance claim.
CAC filing
filing unknown:Nothing on the mainland filing/registration appears in the official pages fetched same day; the regulator's public registry was not searched, so no inference is made.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

8 questions, one table

8 questions, each comparable item by item with its peers.

Model & openness

It guards the model your app already calls; it does not supply one. The official Supported LLMs page records NVIDIA NIM, OpenAI, Azure, Anthropic, Hugging Face, Ollama and LangChain, served either on the same machine or at a remote endpoint. Rail decisions can use the application LLM for self-checking, dedicated NemoGuard / Nemotron safety models, or third parties (the catalog records LlamaGuard, ActiveFence, Cisco AI Defense).

Where it runs

An open-source Python library; the About page records two delivery forms: the PyPI package and a container image. It runs inside your own process or container. The installation page records pip install, Python 3.10-3.13, starting the server with uv, and Docker. Rail logic executes locally; model calls go wherever you configure them.

Local files

The config folder (config.yml plus flows and actions) lives on your own filesystem and is read directly by the CLI and the server. No official statement was found about reading your project's business files; evaluation uses public datasets (chit-chat, MSMARCO, on the evaluate page). The wider local file surface was not verified item by item and is recorded as unknown.

Tasks after shutdown

There is no hosted 'keeps running after shutdown' task surface: it comes up with your application. The CLI page records chat / server / convert / find_providers, and the evaluate page records offline batch evaluation. Queues and resumption are not part of the product framing.

Tools & extensions

Five rail types are on record: input / dialog / retrieval / execution / output, where execution rails govern tool calls and custom actions let you plug in your own checks. LangChain and LangGraph integrate through passthrough mode. The top-level config.yml keys (models / instructions / rails / prompts / knowledge_base / tracing) contain no MCP server entry, so MCP access is recorded as unknown.

Context & memory

Conversation messages are passed in by the caller and rails judge user / assistant messages one by one; retrieval rails can read the knowledge_base. No official statement was verified on cross-session memory or rail-state persistence, recorded as unknown; effective context length is set by whichever model you choose.

Permissions & limits

Data flow depends on the endpoint you select: local or self-hosted endpoints keep content inside your environment, while the catalog page records that third-party guardrail services send submitted content to that party. Apache-2.0 is on the PyPI and repository pages the same day. Logging and tracing have dedicated pages. Compliance certifications and training-use commitments were not verified and are recorded as unknown.

Best for

Fits: teams adding programmable rails inside their own process or container - topic control, PII, jailbreak detection, tool-call governance - while keeping the freedom to swap models and endpoints. Not a fit: anyone wanting a hosted console with review workflows, or treating rail quality as a vendor guarantee, since the judgement inherits whichever model runs it.

Licence and terms of use

Apache-2.0 (on the PyPI project page and the GitHub repository page, direct-fetched 2026-11-06); the open-source toolkit itself puts no claim on your content — content terms follow whichever model endpoint you configure.

Top misconception

  • 把它当托管安全服务:本体是本地库 / 容器,数据流向由你配的端点决定
  • 以为工具调用自动被拦。官方工具集成页写明 tool 消息绕过 input 校验,建议补 output rail
  • 把 catalog 里的第三方 rail 当免费内置能力。接第三方即把送检内容送出你的环境

Evidence sources

Checked 2026-11-06,Content updated 2026-11-06。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
docsNeMo Guardrails · Docs Overview (open-source Python library positioning and navigation, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/
docsNeMo Guardrails · About the library (two delivery forms and what gets guarded, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/latest/about-nemo-guardrails-library/overview.md
docsNeMo Guardrails · Supported LLMs (provider list and local/remote endpoint wording, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/latest/about-nemo-guardrails-library/supported-llms.md
docsNeMo Guardrails · Guardrail Types (responsibilities of the five rail types, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/about-nemo-guardrails-library/rail-types
docsNeMo Guardrails · Installation guide (pip / Python versions / server / Docker, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/get-started/installation-guide
docsNeMo Guardrails · CLI (subcommand list, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/latest/guardrails-python-sdk/nemoguardrails/cli.md
docsNeMo Guardrails · Guardrail catalog (content safety / jailbreak / PII / tool-calling families, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/latest/configure-guardrails/guardrail-catalog.md
docsNeMo Guardrails · Content safety rails (local Nemotron versus third-party APIs, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/latest/configure-guardrails/guardrail-catalog/content-safety.md
docsNeMo Guardrails · Tools integration (passthrough mode and the tool-message validation boundary, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/integration-with-third-party-libraries/tools-integration
docsNeMo Guardrails · config.yml schema (top-level key list, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/latest/configure-guardrails/yaml-schema.md
docsNeMo Guardrails · Evaluate guardrails (the offline batch evaluation surface, direct-fetched 200 on 2026-11-06)https://docs.nvidia.com/nemo/guardrails/latest/evaluation/evaluate-guardrails.md
changelogNeMo Guardrails · Releases (change record; v0.24.1 and per-release highlights, direct-fetched 200 on 2026-11-06)https://github.com/NVIDIA/NeMo-Guardrails/releases
changelogNeMo Guardrails · PyPI (version 0.24.1 dated 2026-09-16 with Apache-2.0, direct-fetched 200 on 2026-11-06)https://pypi.org/project/nemoguardrails/
repoNeMo Guardrails · repository (Apache 2.0, latest release, not archived, direct-fetched 200 on 2026-11-06)https://github.com/NVIDIA/NeMo-Guardrails

Test notes

This site has not completed measured runs; nothing here covers hit rates, false-block rates or latency.

Suggested measurements (three):

  • How the same rail set behaves across providers (local endpoint versus third-party API)
  • The real consequences of tool messages bypassing input validation, versus the cost of adding output rails
  • What data actually leaves your environment when a third-party guardrail service is attached

Capability boundaries

The catalog families on record are content safety, jailbreak protection, topic control, PII detection, agentic security and tool calling, hallucination and self-checks, plus third-party rail APIs. What it blocks are messages and actions; human-review outsourcing and cross-vendor model scoring are absent from the official framing (this site's view, judged from the scope of the pages on record). The evaluation surface ships in the open-source package and runs dialog, fact-checking, moderation and hallucination metrics over public datasets - that measures your own rail configuration, not a cross-vendor leaderboard.

Change record

Change history lives in the GitHub releases page (there is no separate changelog page). Recorded release line on the verification day: v0.24.1 (09-16), v0.24.0 (IORails expands built-in rails, F5 integration), v0.23.0 (Polygraf PII, Hugging Face classifiers), v0.22.0 (LangChain decoupling, streaming and OpenTelemetry), v0.21.0 (IORails parallel engine, OpenAI-compatible server). The most recent official release is about 51 days before the verification date, so lifecycle is recorded as maintenance rather than active.

Related entries

  • Azure AI Content SafetySame line: Azure AI Content Safety (in guardrails and content filtering); this entry states only what its own official sources support.
  • Amazon Bedrock GuardrailsSame line: Amazon Bedrock Guardrails (in guardrails and content filtering); this entry states only what its own official sources support.
  • LiteLLM Proxy (AI Gateway)Same line: LiteLLM 网关(Proxy / AI Gateway) (in guardrails and content filtering); this entry states only what its own official sources support.
  • LangGraphOther layer · Frameworks & runtimes

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
Arize PhoenixLocal / self-hostedCommercial terms8 questions checked
Active
Phoenix is an open-licensed observability and evaluation platform that r
LangfuseLocal + cloudOpen licence8 questions checked
Active
Langfuse is an open-source observability and evaluation platform. Its co
LiteLLM Proxy (AI Gateway)Local + cloudOpen licence8 questions checked
Active
It is a self-deployed unified entry point, with governance on keys and b

Same vendor

More from NVIDIA

One vendor’s products are often split across categories. This list puts them together so you do not have to assemble them across five sites.

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.