Skip to content

Guardrails AI

Guardrails AI is an open-source Python framework, licensed Apache-2.0, that wraps calls to any LLM with validators checking inputs and outputs for PII leaks, hallucination, jailbreaks, prompt injection and custom policies. Its Hub lists 65+ community-built validators, among them PII detection built on Microsoft Presidio, prompt-injection detection from Rebuff, and JSON, SQL and secrets checks, and since the hosted inference service was shut down in August 2026 they install as ordinary PyPI packages and run in your own cloud or on-prem. Harvey announced its acquisition of the San Francisco company in September 2026.

Updated 2026-11-21 · Guardrails AI alternatives · guardrailsai.com

What Guardrails AI does

Open-source Python validators that check LLM inputs and outputs at runtime.

Runs real-time checks around LLM calls to catch PII leaks, hallucination, jailbreaks and custom policies

guardrailsai.com

Provides a library of community-built validators covering hallucination, PII, jailbreaks and content moderation

guardrailsai.com

Hub validators include PII detection (Microsoft Presidio), prompt-injection detection (Rebuff), valid JSON, valid SQL, provenance NLI and secrets detection

guardrailsai.com

Separate product Snowglobe simulates chatbot users to find failures and generate judge-labeled datasets for evals and fine-tuning

guardrailsai.com

Published a benchmark (Guardrails Index) comparing performance and latency of 24 guardrails

github.com

Controls for AI systems

Features as Harvey names them.

Good fit

Python teams building LLM apps who want free, self-hosted input and output checks they can extend with their own validators and run entirely inside their own infrastructure.

  • Apache-2.0 licensed and free to use
  • 65+ community validators covering PII, jailbreaks, hallucination and content moderation
  • Runs in your own cloud or fully on-prem
  • Separate Snowglobe tool simulates users to generate judge-labeled eval datasets

Look elsewhere if

Buyers who need a vendor-supported commercial product with a published price, compliance attestations or multilingual validators should look elsewhere, since none of those are published and the Hub's language filter lists only English.

  • Hosted remote inference ended with an August 25, 2026 cutoff; validators must be installed and run locally
  • Hub language filter lists English only
  • No commercial pricing, support plans or compliance certifications published
  • Roadmap now sits with Harvey, a legal AI company, after the September 2026 acquisition

Guardrails AI pricing

Harvey does not publish a price. Sold free and open source (framework); no commercial pricing found.

Framework is open source under Apache-2.0

Coverage, deployment and compliance

What it watches, where it runs, and what it connects to.

Covers

LLM inputs and outputsPII leaksHallucinationJailbreaks and prompt injectionCustom policy violations

Runs as

Open-source Python (Apache-2.0)Customer cloudFully on-premValidators via PyPI

Integrations

NVIDIA NeMo GuardrailsMLflowMicrosoft PresidioRebuff

Documented limits

  • Hub validator language filter lists only English (en) guardrailsai.com
  • Hosted remote inference ended (planned cutoff 2026-08-25); validators must be installed locally via pip github.com

Guardrails AI changes since 2025

Launches, deals and renames, newest first.

Alternatives to Guardrails AI

Compare all 6 side by side

Should you shortlist Guardrails AI?

Guardrails AI is a reasonable default for engineers who want a free validator layer they control and are comfortable owning the code path. Pin versions and watch the repo after the Harvey deal and the v0.11.0 move to public PyPI. Teams that need a supported, managed service with a contract should shortlist Lakera, Bedrock Guardrails or Model Armor instead.

Sources (8)
  1. guardrailsai.com/guardrailsoss
  2. guardrailsai.com/hub
  3. guardrailsai.com/snowglobe
  4. github.com/guardrails-ai/guardrails
  5. guardrailsai.com/
  6. guardrailsai.com/blog
  7. harvey.ai/blog/guardrails-ai-joins-harvey
  8. github.com/guardrails-ai/guardrails/releases

Spotted something out of date? [email protected]