NeMo Guardrails

NVIDIA's open-source library for adding safety rules between your app and the LLM.

Verified by our editorsAI Security Tools
Visit developer.nvidia.com ↗︎Last verified: 2026-11-29
FreeLibrary
Open sourceLicense
NVIDIABuilt by
PythonLanguage
The short version

What is NeMo Guardrails?

NeMo Guardrails is an open-source toolkit for adding programmable guardrails to LLM apps. It sits between your code and the model and checks user inputs, retrieved content, tool calls and model outputs.

Use it to keep a chatbot on topic, block jailbreaks and prompt injection, catch personal data and stop unsafe answers. NVIDIA also offers it as a microservice for production.

What it actually does

Key features

Input and output rails

Check what goes into the model and what comes out.

Jailbreak and injection protection

Built-in ways to stop common LLM attacks.

Topic control

Keep a bot on the subjects it's meant to handle.

Works with many LLMs

Use it with OpenAI and open models, and with LangChain and LangGraph.

Free library

The Python package is open source on GitHub.

What it costs

NeMo Guardrails pricing (2026)

The NeMo Guardrails library is free and open source.

PlanPriceWhat you get
LibraryFreeOpen-source Python package.

Checked 29 Nov 2026.

Honest fit

Who it's for, who it isn't

Pick NeMo Guardrails if

  • You're building a chatbot or agent and want rules around the model
  • You want something free you can run yourself

Look elsewhere if

  • You only want to scan a model, not protect it live
  • You don't want to write any configuration
What people ask

NeMo Guardrails FAQ

What is NeMo Guardrails?

NVIDIA's open-source library for adding guardrails to LLM apps.

Is NeMo Guardrails free?

Yes. The library is open source.

Does it work with LangChain?

Yes. It supports LangChain and LangGraph.
Keep comparing

NeMo Guardrails alternatives