Skip to content

NVIDIA NeMo Guardrails

NeMo Guardrails is an open-source Python library and server from NVIDIA that checks prompts, model outputs, retrieved RAG content, tool calls and tool results against a policy you write. Your app can send content to it for a verdict (check mode) or route model requests through it (proxy mode), and each rail runs a regex or CEL rule, a classifier, an LLM self-check or a third-party service such as Cisco AI Defense or CrowdStrike AIDR. It is free under Apache 2.0, though model-backed checks bill through whatever model or service you configure.

Updated 2026-11-21 · NeMo Guardrails alternatives · github.com

What NeMo Guardrails does

Open-source policy checks for LLM prompts, outputs, RAG content and agent tool calls.

Validates tool names and argument schemas before an agent executes a tool, and checks tool results before they go back to the model.

github.com

Checks inputs and outputs against content-safety policies and topical guidelines.

github.com

Detects jailbreak attempts using configured heuristics or classifiers.

github.com

Detects or masks sensitive data and PII in inputs, outputs and retrieved RAG content.

github.com

Checks answers against evidence (fact-checking) and compares model responses for consistency (hallucination checks).

github.com

Scans model output for code, SQL, template and cross-site-scripting injection patterns.

github.com

Applies deterministic local rules written as regex or CEL expressions, with no model call.

github.com

Runs in two modes: check mode (the app sends content for a verdict) and proxy mode (model requests are routed through the library).

github.com

Controls for AI systems

Features as NVIDIA names them.

Good fit

Python platform and AppSec teams building their own LLM apps or agents who want self-hosted, configurable input, output and tool-call checks and are prepared to run and tune the guardrail models themselves.

  • Free under Apache 2.0, with local detectors or hosted endpoints, so it can run fully on-prem
  • Checks agent tool names, argument schemas and tool results before they reach the model (added in 0.25.0)
  • Hooks server checks Claude Code and Codex tool calls before they run
  • Plugs in third-party rails including Cisco AI Defense, CrowdStrike AIDR, Zscaler AI Guard and ActiveFence

Look elsewhere if

Teams that want a managed service with a support contract, or that rely on Colang dialog flows, should look elsewhere: the library is self-run, LLMRails and the Colang runtimes are deprecated, and the gateway is still experimental.

  • LLMRails and Colang runtimes are deprecated, and the newer IORails engine does not run dialog flows or custom actions
  • Experimental gateway inspects one user text input and one assistant output, with no tool, audio or image inspection
  • Needs Python 3.11 to 3.13; latency depends on your rules and models, and the README benchmark used mock LLMs
  • Sends anonymous usage telemetry by default unless NEMO_GUARDRAILS_NO_USAGE_STATS=1 is set

NeMo Guardrails pricing

Plans and list prices as published.

PlanPriceBillingSource
Open source libraryFreegithub.com 2026-11-21

Whole library is free under Apache 2.0. Model-backed checks still call configured models or services, which may carry their own cost. NVIDIA Build is evaluation-only.

Coverage, deployment and compliance

What it watches, where it runs, and what it connects to.

Covers

LLM prompts and responsesAgent tool calls and tool resultsRAG retrieved contentCoding-agent tool calls via hooks

Runs as

Python library (pip), Python 3.11-3.13Server: Checks API, OpenAI-compatibleExperimental gatewaySelf-hosted or on-prem with local detectorsGuardrail models as NIM containers (NGC)

Integrations

OpenAIAzure OpenAINVIDIA NIMOllamaAnthropicLangChainLangGraphClaude CodeCodexCisco AI DefenseCrowdStrike AIDRZscaler AI GuardTrend Micro Vision OneActiveFence

Documented limits

  • Requires Python 3.11–3.13. github.com
  • LLMRails and the Colang runtimes are deprecated (removal no earlier than 0.27.0). The newer IORails engine does not run dialog flows or custom actions, and Colang 2.x has no replacement runtime. github.com
  • The gateway is experimental and its shipped profile inspects only one user text input and one assistant text output; no tool, audio or image inspection. github.com
  • The gateway's built-in profiles do not support tool content; tool-call checks with check_async need the IORails engine. github.com
  • Latency depends on configuration; rail support varies by engine and integration. README benchmark used mock LLMs, not real models. github.com
  • Sends anonymous usage telemetry by default (opt out with an environment variable); this does not cover calls to configured model or guardrail endpoints. github.com

NeMo Guardrails changes since 2025

Launches, deals and renames, newest first.

Alternatives to NeMo Guardrails

Compare all 6 side by side

Should you shortlist NeMo Guardrails?

Shortlist NeMo Guardrails if your engineers own the LLM stack and want free, self-hosted policy checks that cover agent tool calls as well as prompts. Budget for the models behind the checks, and plan around the move from LLMRails to IORails before 0.27.0. If you want a hosted service you buy rather than build, a cloud-native guardrail or a commercial runtime product is the simpler purchase.

Sources (7)
  1. github.com/NVIDIA-NeMo/Guardrails
  2. github.com/NVIDIA-NeMo/Guardrails/releases/tag/v0.25.0
  3. raw.githubusercontent.com/NVIDIA-NeMo/Guardrails/develop/docs/about/supported-llms.mdx
  4. raw.githubusercontent.com/NVIDIA-NeMo/Guardrails/develop/docs/configure-rails/guardrail-catalog/third-party.mdx
  5. github.com/NVIDIA-NeMo/Guardrails/releases/tag/v0.24.0
  6. github.com/NVIDIA-NeMo/Guardrails/releases/tag/v0.23.0
  7. github.com/NVIDIA-NeMo/Guardrails/releases/tag/v0.22.0

Spotted something out of date? [email protected]