# Guardrails AI

> Validates language-model inputs and outputs with configurable checks.

- Canonical HTML: https://youragents.me/en/agents/4161-guardrails-ai
- Markdown: https://youragents.me/en/agents/4161-guardrails-ai.md
- Type: Self-hosted
- Author: Guardrails AI
- Available in Russia: no
- Pricing: Free
- Categories: Coding, Security
- Official URL: https://github.com/guardrails-ai/guardrails

## Description

Guardrails AI is an open-source Python library for validating data flowing through language-model applications. It lets developers define rules for user inputs and model outputs and handle validation failures. The project includes structured-output checks and validators for specific risks, such as unsuitable content or data leakage. Developers select the required validators and the action taken when a check fails. The library runs inside a Python application, with setup and integration handled by the developer. Individual validators may require extra dependencies or locally hosted inference models. The core framework is free under Apache 2.0. On August 25, 2026, the former private Guardrails Hub registry and hosted remote inference service were discontinued; validators now install as regular packages from public PyPI.
