qmetrics.net

NeMo Guardrails

Programmable safety controls for LLM and agent apps

NeMo Guardrails screenshot

NeMo Guardrails is an open-source Python library that applies configurable input, output, and tool-call checks to conversational apps, RAG pipelines, and agents.

Overview

NeMo Guardrails lets teams declare what agents and chat applications may do through policy configuration, mixing fast local rules with model-backed checks for jailbreaks, injected instructions, and unsafe tool use. Agents that run commands, call APIs, query data, and read the web can be gated at prompts, responses, retrieved content, and tool boundaries.

You define rails, models, and prompts in configuration files, then run the library inside your Python process or deploy it as a standalone server. Check mode keeps your application in control of LLM and tool execution while sending relevant payloads to the library for verdicts; proxy mode routes generation through the library so input and output rails run on the traffic path.

Supported patterns include conversational moderation, RAG grounding and sensitive-data handling, tool-call and tool-result validation, regex and CEL rules, LLM self-checks, third-party moderation APIs, and hooks for coding agents. Integrations span the Python SDK, a Checks API, a gateway server, and a hooks server.

The library is Apache 2.0 licensed and designed to run with your choice of local detectors or hosted inference endpoints. Configurations can align with the separate NeMo Guardrails microservice so policies can move between local development and production deployment.

Key features

  • YAML and Colang policy configuration
  • Input and output content safety rails
  • Tool-call and tool-result validation
  • Jailbreak and injection detection
  • PII detect and mask integrations
  • Check mode and proxy mode runtimes
  • Checks API and gateway server
  • Hooks server for coding agents

Use cases

  • Gate agent tool calls before execution
  • Moderate chat inputs and model outputs
  • Filter RAG context and verify answers
  • Shared guardrails service for many apps
  • Refund or policy limits without a live LLM

Tags

Similar software

Giskard Oss

Python evaluation and red-teaming for AI agents

Giskard is an open-source Python library for testing and evaluating agentic systems, with modular packages for scenario checks, vulnerability scanning, and RAG quality evaluation.

  • Scenario and suite evaluation API
  • LLM-as-judge checks
  • Multi-turn agent testing
PythonDetails →
★ 6k⟳ 4 days agoApache-2.0

OneHuman

Access control for customer AI agents in logged-in apps

OneHuman controls what AI agents may see and do inside your customers' logged-in sessions. It masks private fields, gates risky actions with passkeys, and signs decisions on your server.

  • Attach-time agent detection
  • Field masking for sensitive data
  • Passkey gates on critical actions
TypeScriptWebDetails →
★ 24⟳ 1 month agoSource-available

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.2k⟳ 14 days agoMIT

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

  • Declarative UI rendering
  • Encapsulated stateful components
  • JSX markup beside JavaScript logic
JavaScriptWebDetails →
★ 252.7k⟳ todayMIT

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

  • Multi-format file to Markdown conversion
  • Command-line and Python APIs
  • Optional Azure document services
PythonDocker, CLIDetails →
★ 199.7k⟳ yesterdayMIT

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

  • Unified PyTorch model definitions
  • Hugging Face Hub checkpoint loading
  • Pipeline task inference helpers
PythonCLIDetails →
★ 169.6k⟳ todayApache-2.0