- Home
- AI Guardrail Software
- NVIDIA NeMo Guardrails
NVIDIA NeMo Guardrails
Santa Clara, California, United States
What it is
NVIDIA NeMo Guardrails is a free, open-source Python package for adding programmable controls to applications built with large language models. It can block, alter, or validate unsafe, off-topic, malicious, or policy-violating inputs and model responses. Its rails cover input, retrieval, dialog, execution, and output stages, with configuration through YAML files, Colang flows, built-in guardrails, and custom actions. Listed checks include content safety, jailbreak protection, topic control, PII detection, agentic security, tool calling, hallucination and fact-checking, and model self-checks. Applications can use the Python SDK or a Guardrails server with HTTP endpoints, including OpenAI-style chat completions. Framework connections include LangChain and LangGraph, though LangGraph agent workflow support requires the LangChain opt-in and matching packages. The library supports self-managed Python environments on Windows, Linux, and macOS. Installation requirements include Python 3.10 through 3.13 and at least one CPU with 4GB RAM; external models may require separately deployed GPUs. NVIDIA cautions that no single rail protects against every adversarial prompt and that logging controls need separate configuration for PII.
For and against
For
- Offers rails for five interaction stages.
- Supports YAML, Colang, and custom actions.
- Includes PII detection and jailbreak protection.
- Provides a Python SDK and HTTP server.
- Free and open source.
Against
- External models may require separately deployed GPUs.
- PII rails do not sanitize every application log.
- No single rail prevents every adversarial prompt.
The verdict
NeMo Guardrails offers configurable checks across several stages of LLM interactions and can run in a self-managed environment. Its guidance makes clear that it is one part of a broader safety approach, not a guarantee against every attack.
Who it suits
NeMo Guardrails is for developers and teams building LLM applications that need configurable policy checks. It suits those able to manage a Python deployment and evaluate their own safety controls.
Plans and prices
Open-source NeMo Guardrails library
Python package · self-managed deployment · external model/API costs may apply
Read 15 Oct 2026 · developer.nvidia.com
NeMo Guardrails microservice
Helm/container deployment · production licensing required
Read 15 Oct 2026 · catalog.ngc.nvidia.com
On the record
- Agentic security
- Tool-call validation, execution rails, LangGraph integration and action monitoring are provided for agent workflows.docs.nvidia.com · read 15 Oct 2026
- Build endpoint limitation
- The project states that NVIDIA Build is intended only for evaluation and testing and should not receive confidential or personal data.github.com · read 15 Oct 2026
- CLI
- The package includes a nemoguardrails command-line interface with chat, server, actions-server and evaluation commands.github.com · read 15 Oct 2026
- Company profile
- LinkedIn lists NVIDIA as a public computer-hardware company headquartered in Santa Clara, California, with 10,001+ employees and founded in 1993.linkedin.com · read 15 Oct 2026
- Configuration
- Guardrails can be configured with YAML files, Colang flows, built-in guardrails, and custom actions.docs.nvidia.com · read 9 Oct 2026
- Content safety
- The library supports content-safety checks using LLM self-checks, NVIDIA safety models, community models and third-party moderation APIs.docs.nvidia.com · read 15 Oct 2026
- Controls
- It can block, alter, or validate unsafe, off-topic, malicious, or policy-violating inputs and model responses.docs.nvidia.com · read 9 Oct 2026
- 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.docs.nvidia.com · read 9 Oct 2026
- Deployment options
- The same YAML and Colang configurations can run in a self-managed Python environment, Docker, or the Kubernetes-based microservice.docs.nvidia.com · read 15 Oct 2026
- Documentation depth
- The documentation covers installation, configuration, Colang, APIs, evaluation, vulnerability scanning, observability, Docker, microservices, troubleshooting and security.docs.nvidia.com · read 15 Oct 2026
- Framework integrations
- Official documentation lists integrations for LangChain, LangGraph and LlamaIndex, plus third-party moderation and validation APIs.developer.nvidia.com · read 15 Oct 2026
- Frameworks
- Framework integrations include LangChain and LangGraph, with LangGraph agent workflow support requiring the LangChain opt-in and matching packages.docs.nvidia.com · read 9 Oct 2026
- GPU requirement
- The core library runs on CPU, while external models connected to it may require separately deployed GPUs.docs.nvidia.com · read 15 Oct 2026
- HTTP API
- The Guardrails server exposes OpenAI-style /v1/chat/completions endpoints through a local FastAPI service.docs.nvidia.com · read 15 Oct 2026
- Installation
- The documented installation command is pip install nemoguardrails, with source installation available from GitHub.docs.nvidia.com · read 15 Oct 2026
- Integrations
- The documentation lists integrations with NVIDIA safety models, community models, third-party APIs, Python actions, and LangChain tools.docs.nvidia.com · read 9 Oct 2026
- Intended users
- The library is presented for developers and teams building LLM applications who need configurable policy enforcement and safety checks.docs.nvidia.com · read 9 Oct 2026
- Interfaces
- Applications can use the Python SDK or a Guardrails server that exposes HTTP endpoints such as OpenAI-style chat completions.docs.nvidia.com · read 9 Oct 2026
The review
NVIDIA NeMo Guardrails is a free, open-source toolkit for developers who need to enforce application-specific rules around LLM interactions. Its layered controls and self-hosted deployment suit teams prepared to configure and evaluate their own safeguards; it is not a plug-in guarantee of security.
Overview
The library can block, alter, or validate inputs and model responses that are unsafe, off-topic, malicious, or policy-violating. Its five rail stages—input, retrieval, dialog, execution, and output—let teams put checks at different points in an interaction, rather than relying only on response filtering. That flexibility matters for applications with distinct policies around prompts, retrieved material, and tool use, but the team building the application must decide how those rules work.
Configuration combines 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 is useful for teams with varied requirements, though it should not be mistaken for automatic coverage of every risk.
Key features
Integrations and interfaces
NeMo Guardrails can connect with NVIDIA safety models, community models, third-party APIs, Python actions, and LangChain tools. It supports LangChain and LangGraph framework integrations; LangGraph agent workflow support requires the LangChain opt-in and matching packages. That makes it a plausible fit for teams already building around those frameworks, while the extra setup is a consideration for LangGraph users.
Applications can use the Python SDK or a Guardrails server with HTTP endpoints, including OpenAI-style chat completions. The server interface can suit an application that needs an HTTP boundary, while the SDK is a direct option for Python-based projects.
Deployment and requirements
The library runs in a self-managed Python environment. Installation supports Windows, Linux, and macOS, with Python 3.10 through 3.13 and at least one CPU with 4GB RAM. External models may need separately deployed GPUs, so the free package does not eliminate infrastructure work or the setup costs of dependent services. A separate NeMo Guardrails microservice uses a container image and Kubernetes with Helm, which is a more involved route for teams operating that infrastructure.
Security boundaries
NVIDIA advises treating generated content as untrusted, preferring allow-lists where possible, and keeping authentication information isolated from the LLM. It also warns that no individual rail can stop every adversarial prompt; teams should use defense in depth and evaluate both bypasses and false positives. PII rails do not automatically sanitize every application log or external telemetry backend, so logging and retention controls remain the application's responsibility.
Pricing
Open-source NeMo Guardrails library: free. The plan provides the open-source Python package, with no paid tier or seat quota stated. External models and services may require separate setup, so the zero price covers the library rather than every part of an operating deployment. This suits engineering teams that can supply and manage the surrounding infrastructure; it is less suitable for buyers seeking a fully managed service with minimal operational work.
Platforms
The supported platforms are API, Linux, macOS, self-hosted, and Windows. The operating-system support broadens where teams can develop and run the library, while self-hosting gives them control over deployment. Teams that need a hosted, managed product should consider other options instead.
Who it's for
NeMo Guardrails is aimed at developers and teams building LLM applications that need configurable policy enforcement and safety checks. It is strongest for organizations willing to write configuration, integrate models or tools, and keep evaluating their safeguards as the application changes. It is a poor fit for users who want protection without engineering ownership, or who expect a guardrail package to replace application logging controls and broader security practices.
Pros and cons
Pros
- Checks at five interaction stages: Input, retrieval, dialog, execution, and output rails give developers more options than final-response filtering alone.
- Broad configuration and integration choices: YAML, Colang, custom actions, several model and API integrations, and Python or HTTP interfaces can accommodate different application designs.
- Free, open-source, and self-hosted: Teams can use the package without a library fee and manage deployment in their own environment.
Cons
- Requires engineering and infrastructure: Configuration, integration, and external model setup make this a developer tool rather than a turnkey safety service.
- Safeguards need ongoing evaluation: Rails can be bypassed or produce false positives, and NVIDIA recommends defense in depth.
- PII protection does not extend automatically to all logs: Applications must separately manage logging and telemetry retention.
Alternatives
For another open-core option with Android, iOS, web, API, Linux, and self-hosted platforms, consider Sanctum Runtime; its freemium model may suit readers who want to compare a broader set of deployment platforms.
Amazon Bedrock Guardrails is a paid, web-based alternative for readers who prefer a paid service over a free self-managed package.
Openlayer Guardrails offers a freemium option for teams comparing an API, web, or self-hosted alternative.
PromptGuard has a free plan with 20,000 scans a month, one API key, one project, and 24-hour log retention; it may suit readers whose needs fit those defined limits.
GLACIS is a freemium alternative with API, self-hosted, and web platforms for readers comparing another free-account option.
LLM Guard is a free, open-source alternative for API, Linux, and self-hosted use, but its repository is archived and no longer actively maintained.
Prompt Inspector offers a free plan with 1,000 detections per month, REST API, SDK, and MCP, which may fit a smaller detection workload.
CyberSecEval is a free, open-source benchmark suite for teams seeking a benchmark rather than a guardrail library.
Browse LLM Security Tools or AI Guardrail Software to compare more products in these categories.
Verdict
Choose NVIDIA NeMo Guardrails if you are building an LLM application and want free, configurable checks that you can integrate and operate yourself. Its multi-stage rails and flexible interfaces are the main reasons to choose it. Look elsewhere if you need a managed product, or if your team cannot take responsibility for evaluating bypasses, false positives, and data handling beyond the rails.