NVIDIA NeMo Guardrails Library Developer Guide#
The NeMo Guardrails library is an open-source Python package for adding programmable guardrails to LLM-based applications. It intercepts inputs and outputs, applies configurable safety checks, and blocks or modifies content based on defined policies.
About the NeMo Guardrails Library#
Learn about the library and its capabilities in the following sections.
Learn about the NeMo Guardrails library and its capabilities.
Browse the different use cases of the NeMo Guardrails library.
Learn how the NeMo Guardrails library works.
Browse the LLMs and their providers supported by the library.
Get Started#
Follow these steps to start using the NeMo Guardrails library.
Install the library with pip and set up your environment.
Follow hands-on tutorials to build your first Guardrails configuration.
Next Steps#
Once you’ve completed the get-started tutorials, explore the following areas to deepen your understanding.
Learn to write config.yml, Colang flows, and custom actions.
Use the Python SDK and understand core classes like RailsConfig and LLMRails.
Evaluate the performance of the rails.
Monitor and troubleshoot your guardrails applications.
Deploy your guardrails using the library’s local server, Docker, or as a production microservice.
Connect with LangChain, LangGraph, and other frameworks.