awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
NVIDIA avatar

NVIDIA/NeMo-Guardrails

0
View on GitHub↗
6,453 星标·730 分支·Python·23 次浏览docs.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 历史

nvidia/nemo-guardrails 的 Star 历史图表nvidia/nemo-guardrails 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

nvidia/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.

nvidia/nemo-guardrails 的主要功能有哪些?

nvidia/nemo-guardrails 的主要功能包括:LLM Guardrail Frameworks, Dialogue Flow Management, Declarative Dialogue Modeling, Hallucination Detection, Safety Logic Integration, Conversational Dialogue Systems, Programmable Dialogue Constraints, Dialogue Flow Orchestration。

nvidia/nemo-guardrails 有哪些开源替代品?

nvidia/nemo-guardrails 的开源替代品包括: 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.

NeMo Guardrails 的开源替代方案

相似的开源项目,按与 NeMo Guardrails 的功能重合度排序。
  • protectai/llm-guardprotectai 的头像

    protectai/llm-guard

    2,561在 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
    在 GitHub 上查看↗2,561
  • leondz/garakleondz 的头像

    leondz/garak

    8,227在 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
    在 GitHub 上查看↗8,227
  • guardrails-ai/guardrailsguardrails-ai 的头像

    guardrails-ai/guardrails

    7,033在 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
    在 GitHub 上查看↗7,033
  • confident-ai/deepteamconfident-ai 的头像

    confident-ai/deepteam

    1,320在 GitHub 上查看↗
    Pythonhacktoberfestllm-guardrailsllm-red-teaming
    在 GitHub 上查看↗1,320
查看 NeMo Guardrails 的所有 30 个替代方案→