awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
NVIDIA avatar

NVIDIA/NeMo-Guardrails

0
View on GitHub↗
6,453 stars·730 forks·Python·36 viewsdocs.nvidia.com/nemo/guardrails/latest/index.html↗

NeMo Guardrails

NeMo-Guardrails is a toolkit for adding programmable safety constraints and dialogue boundaries to large language model conversational systems. It functions as security middleware that intercepts inputs and outputs to block prompt injections, jailbreaks, and sensitive data leaks, while providing a conversational dialogue manager to define structured interaction flows through configuration files.

The framework includes a hallucination filter to screen model outputs for factual accuracy and a specialized modeling language for defining conversational flows and constraints. It provides capabilities for conversational dialogue steering to keep assistants on topic and uses safety moderation to block prohibited content.

The system covers broader capability areas including vulnerability testing and safety evaluation tooling to scan for weaknesses. It also provides observability through request tracing, retrieved context validation to filter sensitive information, and secure tool execution for agentic workflows.

The project can be deployed as a standalone HTTP server or via containerized microservices to provide protected chat completions to external clients.

Features

  • LLM Guardrail Frameworks - Provides a comprehensive framework for enforcing safety and structural constraints on LLM inputs and outputs.
  • Dialogue Flow Management - Provides the ability to define structured interaction flows and constraints using configuration files.
  • Declarative Dialogue Modeling - Provides a specialized modeling language for defining conversational flows and constraints through declarative rules.
  • Hallucination Detection - Includes mechanisms for identifying and scoring AI-generated content against retrieved context to prevent hallucinations.
  • Safety Logic Integration - Enables the injection of safety logic into agentic workflows to maintain consistent standards across execution pipelines.
  • Conversational Dialogue Systems - Controls the flow of AI conversations to ensure the assistant follows specific interaction scripts.
  • Programmable Dialogue Constraints - Allows the definition of interaction flows and safety checks using a programmable modeling language.
  • Dialogue Flow Orchestration - Uses a modeling language to map conversational paths and keep assistants on topic.
  • Prompt Injection Detectors - Protects models from jailbreak attempts and malicious instructions using input inspection.
  • Input Quality Filters - Inspects and modifies user prompts to mask sensitive data and block malicious content before they reach the model.
  • LLM Safety Enforcers - Filters user inputs and model outputs to block jailbreaks, PII, and prohibited content.
  • Output Guardrails - Validates and filters responses generated by language models against safety and accuracy criteria.
  • LLM Security - Implements a security layer to identify and mitigate vulnerabilities specific to LLMs, such as prompt injection.
  • Input and Output Guardrails - Intercepts and filters data flowing into and out of the model to ensure safety and integrity.
  • Guardrail Execution Traces - Records each guardrail's action and content modifications as observability spans for monitoring and debugging.
  • Guardrail Reliability Evaluation - Ships a dedicated tool for quantifying the accuracy and reliability of moderation and hallucination filters.
  • Model-Driven Action Triggering - Implements mechanisms that allow the dialogue manager to execute custom Python functions and external tools.
  • Context Retrieval Filtering - Filters retrieved data chunks against safety policies to remove sensitive information before prompting the model.
  • Middleware-Based Request Pipelines - Implements a pipeline of middleware layers that intercept and modify messages before they reach the model.
  • AI Agent Security - Applies validation and safety guardrails to the tools and multi-step pipelines used by AI agents.
  • Command Execution Guardrails - Validates model outputs to ensure only safe and authorized system commands are executed via custom actions.
  • LLM Security Scanning - Evaluates the system against common attack vectors to determine the effectiveness of existing security constraints.
  • LLM Judge Accuracy Validators - Measures response reliability by validating outputs against expected results and safety guidelines.
  • LLM Evaluation - Evaluates the effectiveness of security policies by scanning for weaknesses and running safety evaluations.
  • AI Security and Red Teaming - Toolkit for adding programmable guardrails to LLM applications.
  • Guardrails and AI Safety - Listed in the “Guardrails and AI Safety” section of the The Incredible Pytorch awesome list.
  • Privacy and Safety - Toolkit for adding programmable safety guardrails to LLMs.
  • Red Teaming and Security - Programmable guardrails for controlling conversational system behavior.
  • Safety and Security - Toolkit for programmable conversational guardrails.
  • Security & Privacy - Programmable toolkit for adding safety guardrails to conversational applications.

Star history

Star history chart for nvidia/nemo-guardrailsStar history chart for nvidia/nemo-guardrails

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to NeMo Guardrails

Similar open-source projects, ranked by how many features they share with NeMo Guardrails.
  • protectai/llm-guardprotectai avatar

    protectai/llm-guard

    2,561View on GitHub↗

    LLM Guard is a security firewall and guardrail framework designed to scan and sanitize inputs and outputs for large language models. It functions as a proxy gateway and security layer to block prompt injections, toxicity, and sensitive data leakage while ensuring that model interactions remain compliant with organizational policies. The system distinguishes itself through a modular scanner pipeline that utilizes local model orchestration to eliminate external network dependencies. It supports real-time security filtering via streaming chunk analysis and implements a fail-fast execution model

    Pythonadversarial-machine-learningchatgptlarge-language-models
    View on GitHub↗2,561
  • leondz/garakleondz avatar

    leondz/garak

    8,227View on GitHub↗

    Garak is a suite of tools for measuring AI reliability, scanning for vulnerabilities, and automating security assessments through adaptive probing. It functions as a generative AI vulnerability scanner and evaluation tool designed to identify security gaps, hallucinations, and failure modes in language models. The framework provides a toolkit for red-teaming and safety assessments, utilizing a structured system of probes and detectors to calculate failure rates. It specifically scans for risks such as data leakage and prompt injection by recording model responses to adversarial inputs. The p

    Python
    View on GitHub↗8,227
  • guardrails-ai/guardrailsguardrails-ai avatar

    guardrails-ai/guardrails

    7,033View on GitHub↗

    Guardrails is a Python SDK that wraps calls to large language models with configurable validation pipelines, corrective actions, and structured output generation. It provides a unified API layer that connects to over 100 language models, applying consistent validation, streaming, and error-handling across providers. The framework validates and corrects model responses against safety and quality rules, detecting and mitigating risks in both inputs and outputs using pre-built and custom validators. The project distinguishes itself through a validator-pipeline architecture that sequentially appl

    Pythonaifoundation-modelgpt-3
    View on GitHub↗7,033
  • confident-ai/deepteamconfident-ai avatar

    confident-ai/deepteam

    1,320View on GitHub↗
    Pythonhacktoberfestllm-guardrailsllm-red-teaming
    View on GitHub↗1,320
See all 30 alternatives to NeMo Guardrails→

Frequently asked questions

What does nvidia/nemo-guardrails do?

NeMo-Guardrails is a toolkit for adding programmable safety constraints and dialogue boundaries to large language model conversational systems. It functions as security middleware that intercepts inputs and outputs to block prompt injections, jailbreaks, and sensitive data leaks, while providing a conversational dialogue manager to define structured interaction flows through configuration files.

What are the main features of nvidia/nemo-guardrails?

The main features of nvidia/nemo-guardrails are: LLM Guardrail Frameworks, Dialogue Flow Management, Declarative Dialogue Modeling, Hallucination Detection, Safety Logic Integration, Conversational Dialogue Systems, Programmable Dialogue Constraints, Dialogue Flow Orchestration.

What are some open-source alternatives to nvidia/nemo-guardrails?

Open-source alternatives to nvidia/nemo-guardrails include: protectai/llm-guard — LLM Guard is a security firewall and guardrail framework designed to scan and sanitize inputs and outputs for large… leondz/garak — Garak is a suite of tools for measuring AI reliability, scanning for vulnerabilities, and automating security… guardrails-ai/guardrails — Guardrails is a Python SDK that wraps calls to large language models with configurable validation pipelines,… confident-ai/deepteam. nvidia-nemo/guardrails. vllm-project/semantic-router.