What problem does it solve?
NeMo Guardrails provides runtime safety controls for large language model applications to detect and block jailbreaks, filter sensitive data, reduce hallucinations, and enforce input/output validation so applications behave reliably and comply with safety policies.
Core Features & Use Cases
- Jailbreak & prompt-injection detection: Pattern matching and LLM-assisted checks to block malicious or adversarial user inputs before they reach the model.
- Input/output self-checks and fact-checking: Custom actions and retrieval integrations validate user inputs and verify model outputs to reduce hallucinations.
- PII and toxicity filtering: Integrations with Presidio, ActiveFence, and moderation models like LlamaGuard for masking or blocking sensitive content.
- Production readiness: Colang 2.0 DSL for programmable flows, low-latency checks, and GPU-accelerated deployment options for enterprise LLM services.
Quick Start
Install nemoguardrails and initialize LLMRails with a RailsConfig that defines flows for jailbreak prevention, PII masking, and fact-checking to protect your application at runtime.