NVIDIA NeMo Guardrails
developer.nvidia.com
- Free plan
- Open source
- Windows
- macOS
- Linux
- API
- Self-hosted
What NVIDIA NeMo Guardrails is
NVIDIA NeMo Guardrails is an open-source Python package for adding configurable policy checks to applications built with large language models. It can block, alter, or validate unsafe, off-topic, malicious, or policy-violating inputs and responses at five points in an interaction: input, retrieval, dialog, execution, and output. Developers can set rules with YAML, Colang flows, built-in guardrails, and custom actions. Available checks cover content safety, jailbreaks, topic control, personally identifiable information, agent security, tool calls, hallucinations, fact-checking, and model self-checks. Applications can use the Python SDK or a server with HTTP endpoints, including OpenAI-style chat completions. Listed framework connections include LangChain and LangGraph, with LangGraph workflow support requiring the LangChain opt-in and matching packages. The library runs in a self-managed Python environment on Windows, Linux, or macOS. Its free open-source plan is free. NVIDIA lists Python 3.10 through 3.13 and at least one CPU with 4GB RAM as installation requirements; external models may need separate GPUs.
Who it suits
It suits developers and teams building LLM applications that need configurable policy enforcement and safety checks. It can run in a self-managed Python environment, with a separate container and Kubernetes deployment option for the microservice.
Good to know, and what to watch
- Offers input, retrieval, dialog, execution, and output rails.
- Supports jailbreak protection, topic control, and PII detection.
- Provides a Python SDK and HTTP server interface.
- Free open-source Python package.
- Supports Windows, Linux, and macOS.
- Requires Python 3.10 through 3.13.
- Minimum installation requirement is one CPU with 4GB RAM.
- External models may require separately deployed GPUs.
- PII rails do not sanitize every application log or telemetry backend.
Plans
Every plan and priceNeMo Guardrails microservice
Open-source NeMo Guardrails library
Open source
Getting started
- Open the NeMo Guardrails website
- Prepare Windows, Linux, or macOS with Python 3.10 through 3.13
- Provide at least one CPU with 4GB RAM
- Install the open-source Python package
- Configure rails with YAML, Colang flows, built-in guardrails, or custom actions
- Connect models, APIs, or framework tools as required
- Use the Python SDK or run the Guardrails server
Limits to check
The package is free and open source, but external models and services may require separate setup. Installation requires Python 3.10–3.13 and at least one CPU with 4GB RAM; external models may require separately deployed GPUs. No single rail covers every adversarial prompt, and PII rails do not automatically sanitize every application log or telemetry backend.
The Club's review
NVIDIA NeMo Guardrails is an open-source Python package for adding policy and safety controls to LLM applications. It suits developers who can configure and operate their own application. Its main strength is control across several stages of an interaction; its main trade-off is the engineering and ongoing evaluation that control requires.
Overview
NeMo Guardrails can block, change, or validate unsafe, off-topic, malicious, or policy-violating inputs and model responses. Its input, retrieval, dialog, execution, and output rails give teams places to apply checks throughout an interaction, rather than relying only on the final answer. That is useful when an application needs distinct rules for retrieval or tool use, but teams must still decide which rules fit their use case.
Configuration uses YAML files, Colang flows, built-in guardrails, and custom actions. The catalog includes content safety, jailbreak protection, topic control, PII detection, agentic security, tool calling, hallucination and fact-checking, and LLM self-checks. The range makes the package adaptable; it does not make the controls self-sufficient. NVIDIA recommends defense in depth and evaluating both bypasses and false positives because no single rail blocks every adversarial prompt.
Key features
Integrations and interfaces
Teams can connect NVIDIA safety models, community models, third-party APIs, Python actions, and LangChain tools. Framework integrations include LangChain and LangGraph, though LangGraph agent workflow support requires the LangChain opt-in and matching packages. Applications can use the Python SDK or a Guardrails server with HTTP endpoints, including OpenAI-style chat completions. This gives developers more than one way to fit checks into an application, but the framework-specific requirements matter when planning an integration.
Deployment and security
The library runs in a self-managed Python environment. A separate microservice option uses a container image and Kubernetes with Helm, which is suited to teams already operating that infrastructure. The installation guide supports Windows, Linux, and macOS, lists Python 3.10 through 3.13, and sets a minimum of one CPU with 4GB RAM. External models may need separately deployed GPUs.
NVIDIA advises treating generated content as untrusted, using allow-lists where possible, and keeping authentication information away from the LLM. PII rails do not automatically sanitize every application log or external telemetry backend, so teams need to configure logging and retention separately. The package can add useful checks, but those operating practices remain the team's responsibility.
Pricing
The open-source NeMo Guardrails library costs nothing. It is the fit for developers who want a self-hosted Python package and can supply the surrounding application and operations work. External models and services may require separate setup; the free price does not include those dependencies. There are no paid tiers, seat counts, request quotas, or renewal terms given for this library.
Platforms
NeMo Guardrails is available for API use, Linux, macOS, Windows, and self-hosted deployment. Its Python SDK and server interfaces support application integration, while the Kubernetes microservice path is aimed at teams that need that deployment model.
Who it's for
This is a strong fit for developers and teams building LLM applications who need programmable policy enforcement and safety checks, and who can configure, deploy, and evaluate them. It is less suitable for organizations seeking a ready-made managed service or teams without the engineering capacity to maintain a self-hosted integration.
Pros and cons
- Pros: Rails cover five interaction stages, allowing checks on inputs, retrieval, dialog, execution, and outputs.
- Pros: YAML, Colang, built-in controls, and custom actions support different policy needs without limiting teams to one configuration path.
- Pros: The open-source library is free and can run in a self-managed Python environment.
- Cons: Teams must evaluate bypasses and false positives; the rails do not guarantee protection against every adversarial prompt.
- Cons: Deployment and integrations require technical setup, and external models may need separate services or GPUs.
- Cons: PII controls do not cover every log or telemetry backend, leaving retention and sanitization work to the application team.
Alternatives
For a broader directory of options, see LLM Security Tools and AI Guardrail Software.
Prompt Inspector is worth considering when a free tier with a monthly detection allowance and REST API, SDK, and MCP access is a better fit than configuring an open-source Python package. Amazon Bedrock Guardrails may suit teams choosing a paid guardrails option with content-filter and denied-topic plans. PromptGuard offers a free plan with 20,000 scans a month, one API key, one project, and 24-hour log retention, making it an option for teams that want a defined hosted allowance.
GLACIS is another freemium alternative with API, self-hosted, and web platforms. GuardionAI offers paid enterprise pricing by custom contract and a free trial. LLM Guard is a free open-source option, though its repository is archived and no longer actively maintained.
Openlayer Guardrails has a free Basic plan with workspace, project, inference-log, testing, and retention limits. VotalAI is a paid option with a free plan and free trial.
Verdict
Choose NVIDIA NeMo Guardrails if you are building an LLM application and want free, programmable controls across multiple interaction stages, with the engineering capacity to operate and evaluate them. Look elsewhere if you need a managed, ready-to-use service or cannot take responsibility for deployment, false-positive review, and logging controls.
The verdict
NeMo Guardrails gives LLM developers configurable checks across several stages of an interaction, with Python and server interfaces. NVIDIA cautions that no single rail stops every adversarial prompt, so teams need to evaluate bypasses and false positives and configure logging and retention separately.
Questions people ask
What is NVIDIA NeMo Guardrails?
It is an open-source Python package for programmable guardrails in LLM-based applications. It can block, alter, or validate inputs and model responses.
How much does NeMo Guardrails cost?
The open-source NeMo Guardrails library is listed as free.
Which operating systems and Python versions are supported?
The installation guide lists Windows, Linux, and macOS, with Python 3.10 through 3.13.
How can an application use the guardrails?
Applications can use the Python SDK or a Guardrails server with HTTP endpoints, including OpenAI-style chat completions.
Does it integrate with LangChain or LangGraph?
Yes. LangChain and LangGraph integrations are listed; LangGraph agent workflow support requires the LangChain opt-in and matching packages.
Does one rail stop every attack?
No. NVIDIA says no single rail guarantees protection against every adversarial prompt and recommends layered defenses and evaluation.
What the maker publishes
- Agentic security
- Tool-call validation, execution rails, LangGraph integration and action monitoring are provided for agent workflows. source
- Build endpoint limitation
- The project states that NVIDIA Build is intended only for evaluation and testing and should not receive confidential or personal data. source
- CLI
- The package includes a nemoguardrails command-line interface with chat, server, actions-server and evaluation commands. source
- Company profile
- LinkedIn lists NVIDIA as a public computer-hardware company headquartered in Santa Clara, California, with 10,001+ employees and founded in 1993. source
- Configuration
- Guardrails can be configured with YAML files, Colang flows, built-in guardrails, and custom actions. source
- Content safety
- The library supports content-safety checks using LLM self-checks, NVIDIA safety models, community models and third-party moderation APIs. source
- Controls
- It can block, alter, or validate unsafe, off-topic, malicious, or policy-violating inputs and model responses. source
- Deployment
- The library can run in a self-managed Python environment, while the separate NeMo Guardrails microservice uses a container image and Kubernetes with Helm. source
- Deployment options
- The same YAML and Colang configurations can run in a self-managed Python environment, Docker, or the Kubernetes-based microservice. source
- Documentation depth
- The documentation covers installation, configuration, Colang, APIs, evaluation, vulnerability scanning, observability, Docker, microservices, troubleshooting and security. source
- Founded
- 1993 source
- Framework integrations
- Official documentation lists integrations for LangChain, LangGraph and LlamaIndex, plus third-party moderation and validation APIs. source
- Frameworks
- Framework integrations include LangChain and LangGraph, with LangGraph agent workflow support requiring the LangChain opt-in and matching packages. source
- GPU requirement
- The core library runs on CPU, while external models connected to it may require separately deployed GPUs. source
- Headquarters
- Santa Clara, California, United States source
- HTTP API
- The Guardrails server exposes OpenAI-style /v1/chat/completions endpoints through a local FastAPI service. source
- Installation
- The documented installation command is pip install nemoguardrails, with source installation available from GitHub. source
- Integrations
- The documentation lists integrations with NVIDIA safety models, community models, third-party APIs, Python actions, and LangChain tools. source
- Intended users
- The library is presented for developers and teams building LLM applications who need configurable policy enforcement and safety checks. source
- Interfaces
- Applications can use the Python SDK or a Guardrails server that exposes HTTP endpoints such as OpenAI-style chat completions. source
- Jailbreak protection
- Jailbreak defenses include LLM self-checking, heuristic detection, NVIDIA NemoGuard NIM and third-party security integrations. source
- License
- The NeMo Guardrails library is licensed under the Apache License 2.0. source
- Limit: documentation and maturity
- G2 feedback cites documentation gaps for indexing and deployment, limited community support, early-stage maturity and substantial memory needs. source
- Microservice lifecycle
- The NGC page says NeMo microservices were sunset on October 1, 2026 and will receive no new releases. source
Checked against the maker's pages on 15 Oct 2026.