Lattice
Skip to content

NeMo Guardrails

librarySelf-hostedgithub.com

NeMo Guardrails is a self-hosted library in the Guardrails & Safety layer of the AI stack. Programmable rails that constrain conversational flow.

By Facts verifiedmethod

Licence
Apache-2.0
Language
Python
Cost
free
Owned by
Production & Governance

Use NeMo Guardrails when

Constraining conversational flow with programmable rails.

Skip NeMo Guardrails when

You need deep semantic moderation: it is not a classifier.

Stops the bad input before it, and the bad output after. See every guardrails tool.

Badge this entry
Lattice badge: NeMo Guardrails verified 2026-09
[![NeMo Guardrails on Lattice: verified 2026-09](https://lattice.kunjshah.in/guardrails-safety/nemo-guardrails/badge.svg)](https://lattice.kunjshah.in/guardrails-safety/nemo-guardrails)

Rules of thumb

  • A guardrail without an eval is a guess about which failures matter. Write the eval that found the failure, then the guardrail that blocks it.
  • PII is a data-flow problem. Detect and redact before the model ever sees it, not after it answers.
  • Every guardrail in the request path adds latency to every call. Run checks offline first and move them inline only when production forces it.

Quick answers

Is NeMo Guardrails open source?
Yes. NeMo Guardrails is open source under the Apache-2.0 licence. It is free to use.
What are the alternatives to NeMo Guardrails?
The closest alternatives to NeMo Guardrails are Guardrails AI and Llama Guard.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.

Compared in

Reading on guardrails

Alternatives to NeMo Guardrails

Listed as an alternative to

  • Guardrails AI
  • Llama Guard

Also in guardrails

  • Guardrails AI
  • Llama Guard
  • Microsoft Presidio
  • Lakera Guard
  • garak
  • PyRIT
  • Invariant Guardrails