NeMo Guardrails
Guardrails Open source (Apache 2.0)
GitHub stars7.3k
Forks876
Last activityOct 20, 2026
Open issues269
Repository: NVIDIA-NeMo/Guardrails ยท Data checked Oct 2026
About
NeMo Guardrails sits between your users and your agent, intercepting inputs, model outputs, and tool calls to block anything unsafe, off-topic, or policy-violating. You define the rules in a simple configuration language: what the agent may never say, which topics are out of bounds, which tool calls need approval. It is NVIDIA's open-source answer to the question every agent builder eventually asks, which is how to ship an agent you actually trust. Apache 2.0, pip install, runs wherever your agent runs.
Details
Open source. You run it yourself.
Auth: Open source (Apache 2.0)
Rate limit: None, runs locally
Verified: 2026-09-19
Best for: developer business
Setup
- Run pip install nemoguardrails
- Define your first rails: blocked topics, allowed tools, output checks
- Wrap your agent so every input and output passes through the rails
- Test with adversarial prompts and tighten the config
Example
pip install nemoguardrailsUse cases
- Keep a customer-facing agent on topic and on brand
- Block disallowed tool calls before they execute
- Add a review layer to agent outputs in regulated contexts