qmetrics.net

Guardrails

Python framework for LLM input and output guards

Guardrails helps Python applications validate and shape large language model inputs and outputs. It combines risk validators with utilities to produce structured data from model responses.

Overview

Guardrails is a Python framework for building more dependable AI features on top of large language models. It runs input and output guards that detect, measure, and mitigate specific risk categories, using validators from the Guardrails Hub catalog. Multiple validators can be chained into guards that intercept prompts and model replies before they reach users or downstream systems.

The same toolkit supports structured generation: you define a Pydantic model for the shape you expect, attach it to a Guard, and call the model so responses conform to that schema. For models with function-calling support it uses native function call syntax; for others it augments prompts with the expected schema so outputs stay structured.

Day-to-day setup uses the Guardrails Hub CLI to install validators, compose guards in Python, and run validation around LLM calls. Developers can author custom validators and publish them to the hub. Documentation describes using proprietary and open models, and JavaScript integration is mentioned for teams that need cross-language clients.

For deployments that want a network boundary, Guardrails can run as a standalone Flask service started via the guardrails CLI, exposing a REST API; production notes recommend Docker with Gunicorn. The primary integration path remains embedding guards in application code rather than operating a mandatory hosted SaaS control plane.

Key features

  • Input and output LLM guards
  • Hub catalog of risk validators
  • Structured output via Pydantic models
  • Function calling and prompt-based formatting
  • Composable multi-validator guards
  • Custom validator authoring
  • Python and JavaScript client support
  • Optional standalone REST server

Use cases

  • Screening LLM prompts and responses for policy risks
  • Forcing typed JSON-like outputs from models
  • Combining multiple validators on one call path
  • Publishing organization-specific validators
  • Serving guards behind an internal HTTP API

Tags

Similar software

PrivateGPT

Local API layer for private RAG and agent apps

PrivateGPT is an open API that sits above any OpenAI-compatible inference server. It adds ingestion, retrieval with citations, tools, MCP, databases, and a workbench UI for demos.

★ 57.7k⟳ 2 days agoApache-2.0

NemoClaw

Reference stack for running AI agents in NVIDIA OpenShell sandboxes

Open-source reference stack that runs supported AI agents (OpenClaw, Hermes, LangChain Deep Agents Code) inside NVIDIA OpenShell sandboxes, with guided onboarding, managed inference, network policy and lifecycle commands through a CLI.

★ 23.1k⟳ 2 days agoApache-2.0

NVIDIA-NeMo Guardrails

Programmable safety controls for LLM and agent apps

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

★ 7.6k⟳ 8 days agoApache-2.0
AI Security & PrivacyDesktop/CLI app
Open Source Alternative to:Lakera Guard

DeepSeek Harness

Open-source plugin-based agent harness from DeepSeek

DeepSeek Harness is an open-source agent harness built on an everything-is-a-plugin architecture powered by Cordis. It offers a web UI, desktop app, and extensible plugins for daily work, coding, and automation.

★ 288k⟳ 6 days agoMIT

Hermes Agent

Self-improving open-source AI agent with memory, skills and messaging gateway

Open-source AI agent from Nous Research that keeps persistent memory, creates skills from experience, and runs from a terminal, desktop app or messaging platforms with any model provider.

★ 266.6k⟳ todayMIT
Open Source Alternative to:Anthropic ClaudeChatGPT+5

Firecrawl

Web scrape crawl and search infrastructure for AI agents

Firecrawl turns websites into LLM-ready markdown and structured data via API, CLI, and MCP. It supports scrape, crawl, map, batch jobs, optional cloud scale, and self-hosted server deployment.

★ 211.5k⟳ todayAGPL-3.0
Open Source Alternative to:TavilyZyte