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

LLM Output Validation Guardrails

Ranking updated Jun 30, 2026

For a library for guardrails on LLM outputs, the first results are guardrails-ai/guardrails, nvidia-nemo/guardrails (NeMo Guardrails from NVIDIA is a dedicated framework for building LLM safety guardrails, offering content filtering, output validation, and policy controls that directly match the need for an AI safety framework to prevent harmful outputs) and protectai/llm-guard (LLM Guard is a dedicated security firewall and guardrail framework that scans and sanitizes both inputs and outputs of LLMs, blocking prompt injections, toxicity, and sensitive data leakage — exactly the validation, filtering, and moderation capability this search is after). katanemo/archgw and nvidia/nemo-guardrails round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Frameworks and libraries for filtering, sanitizing, and validating structured content generated by large language models.

LLM Output Validation Guardrails

Find the best repos with AI.We'll search the best matching repositories with AI.
  • guardrails-ai/guardrailsguardrails-ai avatar

    guardrails-ai/guardrails

    7,587View 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

    Guardrails is a Python SDK that applies configurable validation pipelines and corrective actions to LLM outputs, covering content safety filtering, output validation, input risk detection (including prompt injection), customizable policies, and integration with over 100 LLM providers — exactly what this search asks for.

    PythonAI Output ValidationLLM Provider AdaptersLLM Provider Integrations
    View on GitHub↗7,587
  • nvidia-nemo/guardrailsNVIDIA-NeMo avatar

    NVIDIA-NeMo/Guardrails

    5,680View on GitHub↗

    NeMo Guardrails from NVIDIA is a dedicated framework for building LLM safety guardrails, offering content filtering, output validation, and policy controls that directly match the need for an AI safety framework to prevent harmful outputs.

    PythonLLM Provider IntegrationsModel Safety FiltersGuardrail Servers
    View on GitHub↗5,680
  • 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

    LLM Guard is a dedicated security firewall and guardrail framework that scans and sanitizes both inputs and outputs of LLMs, blocking prompt injections, toxicity, and sensitive data leakage — exactly the validation, filtering, and moderation capability this search is after.

    PythonAI Output ValidationText Toxicity Detection
    View on GitHub↗2,561
  • katanemo/archgwkatanemo avatar

    katanemo/archgw

    6,603View on GitHub↗

    Archgw is a gateway proxy and data plane designed for agentic applications, providing a centralized layer for routing, safety, and orchestration between application logic and multiple large language model providers. It functions as an AI agent orchestrator that automates the execution of agent workflows to remove repetitive plumbing from the core codebase. The system features a provider-agnostic interface layer that standardizes disparate model APIs into a single format and a transparent proxy data plane to intercept traffic. It employs rule-based routing to decouple application logic from sp

    Archgw is a gateway proxy that includes built-in input and output guardrails, model safety filters, and observability for LLM interactions, making it a comprehensive AI safety framework that aligns with the search for guardrails to moderate LLM outputs.

    RustModel Safety Filters
    View on GitHub↗6,603
  • nvidia/nemo-guardrailsNVIDIA avatar

    NVIDIA/NeMo-Guardrails

    6,453View on GitHub↗

    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 capabiliti

    NeMo-Guardrails is a dedicated toolkit that provides programmable safety constraints, prompt injection blocking, hallucination filtering, and input/output monitoring for LLM conversational systems, directly matching every required feature for LLM output guardrails and AI safety.

    PythonLLM Guardrail FrameworksConversational Dialogue SystemsDeclarative Dialogue Modeling
    View on GitHub↗6,453
  • joshuac215/agent-service-toolkitJoshuaC215 avatar

    JoshuaC215/agent-service-toolkit

    4,082View on GitHub↗

    This is a framework for building and deploying customizable AI agent services using a standardized reference architecture. It provides the core infrastructure necessary to host multiple agents within a single service, supporting interactive chat interfaces and real-time response streaming. The project distinguishes itself with a human-in-the-loop mechanism that allows agent execution to be paused for manual approval or intervention. It also features path-based routing to direct requests to specific agents and a multi-stage content moderation system to filter outputs through safety guardrails.

    This repository is a framework for building AI agent services that includes a multi-stage content moderation system and safety guardrails to filter outputs, along with human-in-the-loop approval, making it a suitable match for an LLM output guardrails framework, though it also provides broader agent infrastructure beyond guardrails alone.

    PythonAgentic LLM FrameworksAI Agent FrameworksAgent Memory Systems
    View on GitHub↗4,082
  • google/gemma_pytorchgoogle avatar

    google/gemma_pytorch

    5,697View on GitHub↗

    The official PyTorch implementation of Google's Gemma models

    This repository provides the PyTorch implementation of Google’s Gemma LLM, not a guardrails framework — while it may include some safety filters, it is a model-loading library, not the standalone tool for validating, moderating, or enforcing safety policies across LLM outputs that you need.

    PythonContent Safety ClassifiersModel Safety Filters
    View on GitHub↗5,697
  • thesysdev/openuithesysdev avatar

    thesysdev/openui

    14,923View on GitHub↗

    OpenUI is a generative UI development framework that converts natural language descriptions into structured, interactive user interface components using large language models. It enables the real-time transformation of text into functional prototypes such as charts, tables, forms, and cards. The project distinguishes itself through a schema-driven orchestration system that uses typed UI primitives and JSON schemas to constrain model output, ensuring generated interfaces adhere to specific component libraries. It features a streaming parser that allows for progressive component rendering, disp

    OpenUI uses LLMs to generate UI components and applies schema-driven constraints to structure those outputs, but it is a generative UI framework, not a dedicated LLM output guardrails or safety moderation tool — it lacks content safety filtering, prompt injection detection, and safety policy features central to this search.

    TypeScriptAI Output ValidationLLM Provider Integrations
    View on GitHub↗14,923
  • l15y/wendal15y avatar

    l15y/wenda

    6,173View on GitHub↗

    Wenda is a self-hosted infrastructure and gateway platform for deploying language models within internal networks to ensure data privacy and security. It functions as a centralized hub and API gateway that unifies communication between various offline model runners and online service providers through a single interface. The platform includes a workflow orchestrator that uses custom scripts and API calls to automate complex conversation flows and model settings. It also incorporates a retrieval system that augments model responses with external knowledge retrieved from vector databases and se

    Wenda is a self-hosted LLM gateway and deployment platform focused on privacy and unified model access, not a dedicated framework for output guardrails, safety filtering, or prompt injection detection as you're looking for.

    JavaScriptLLM API Integrations
    View on GitHub↗6,173
  • zilliztech/deep-searcherzilliztech avatar

    zilliztech/deep-searcher

    7,899View on GitHub↗

    Deep Searcher is an open-source retrieval-augmented generation engine that indexes private documents into a vector database and uses large language models to answer complex questions with cited reasoning. It functions as both a command-line interface and a web API research tool, enabling users to load data and generate comprehensive reports by combining indexed private information with LLM-powered analysis. The system distinguishes itself through a plugin-based provider architecture that supports multiple embedding models, LLM providers, vector databases, and file loaders as interchangeable c

    Deep Searcher is a retrieval-augmented generation engine for document search and report synthesis, not a guardrails or safety framework — it lacks any content filtering, output validation, or prompt injection detection capabilities.

    PythonLLM API Integrations
    View on GitHub↗7,899
  • homanp/superagenthomanp avatar

    homanp/superagent

    6,631View on GitHub↗

    Superagent is a framework for AI assistant orchestration and agent security. It provides the tools to build intelligent assistants that integrate external APIs and maintain conversation memory to automate complex tasks. The project focuses on AI agent security through adversarial testing, red teaming, and the detection of prompt injections and malicious tool calls. It includes automated vulnerability patching, which scans codebases and configurations for security flaws and generates pull requests with fixes. The platform supports retrieval augmented generation by connecting language models t

    Superagent is an AI agent orchestration framework that includes security features like prompt injection detection, but its primary purpose is building intelligent assistants rather than being a dedicated output guardrails library for content safety filtering and validation.

    TypeScriptPrompt Injection Filters
    View on GitHub↗6,631
  • langchain-ai/open-canvaslangchain-ai avatar

    langchain-ai/open-canvas

    5,471View on GitHub↗

    Open Canvas is a system for managing stateful AI agent workflows through a collaborative editor and orchestration framework. It provides a shared workspace where humans and large language models co-author documents and write code in real time, supported by a structured text editor with live rendering. The project distinguishes itself by integrating a state manager that tracks session context, user memories, and historical snapshots across conversational threads. It employs a durable execution model that allows for human-in-the-loop interventions and maintains a version tracking system for doc

    Open Canvas is a collaborative editor and orchestration framework for AI agent workflows, not a dedicated guardrail library — while it includes middleware guardrail pipelines, its core purpose is co-authoring and state management rather than validated output moderation.

    TypeScriptLLM API Integrations
    View on GitHub↗5,471
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
guardrails-ai/guardrails7.6KPythonApache-2.0Nov 5, 2026
nvidia-nemo/guardrails5.7KPythonotherFeb 21, 2026
protectai/llm-guard
2.6K
Python
mit
Dec 15, 2025
katanemo/archgw6.6KRustApache-2.0Jun 25, 2026
nvidia/nemo-guardrails6.5KPythonNOASSERTIONJun 17, 2026
joshuac215/agent-service-toolkit4.1KPythonmitDec 16, 2025
google/gemma_pytorch5.7KPythonApache-2.0May 30, 2025
thesysdev/openui14.9KTypeScriptMITNov 7, 2026
l15y/wenda6.2KJavaScriptAGPL-3.0Jan 23, 2025
zilliztech/deep-searcher7.9KPythonApache-2.0Nov 19, 2025

Related searches

  • a toolkit for detecting prompt injection attacks
  • a library for structured LLM outputs
  • a toolkit for red-teaming language models
  • a library for LLM-as-judge evaluation
  • a framework for evaluating LLM output quality
  • a tool for detecting LLM hallucinations
  • a framework for typed LLM programming
  • a framework for evaluating LLM apps