LibreAI / Agentes de IA / guardrails
// agents · guardrails-ai/guardrails

guardrails

guardrails es un proyecto de agentes de IA de código abierto de guardrails-ai (guardrails-ai/guardrails en GitHub). Tiene 7.496 estrellas en GitHub y 715 bifurcaciones, se publica bajo la licencia Apache-2.0 y se actualizó por última vez en GitHub el 6 de octubre de 2026.

Put guardrails on LLMs: validate outputs before they reach users.

★ 7,5k estrellas⑂ 715 bifurcacionesApache-2.0actualizado oct 2026
▦ visual: el README de este proyecto no incluye ninguna captura incrustable,
así que aquí va un marcador. La guía de abajo está completa de todos modos.
// datos del proyecto

Datos del proyecto

Estrellas en GitHub
7.496
Bifurcaciones
715
Licencia
Apache-2.0
Última actualización en GitHub
6 de octubre de 2026
Categoría
Agentes de IA
Tipo de ficha
Guía de instalación completa
Sitio oficial
Official site
// cómo funciona

Cómo funciona

  1. Scope the task

    Write down the outcome you want in one sentence.

  2. Fetch the repo

    Clone it locally and check the README.

  3. Install prerequisites

    Get dependencies and tooling in place per the docs.

  4. Run the quickstart

    Follow the minimal example, then adapt it to your needs.

// características

Por qué gusta tanto

Output validation

Check LLM output against your rules.

Rule definitions

Express constraints declaratively.

Retry logic

Re-ask when the model strays.

Structured outputs

Enforce schemas, not hopes.

Safety checks

Catch disallowed content pre-send.

Python-native

Fits the standard LLM stack.

Advertisement
// ejecútalo

Ejecútalo tú mismo

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/guardrails-ai/guardrails.git
    cd guardrails
  2. Step 2 — Create a venv and install

    Isolate dependencies, then install requirements.

    python -m venv .venv && source .venv/bin/activate
    pip install -r requirements.txt
  3. Step 3 — Run it

    Launch using the entry point shown in the README.

    python -m guardrails  # check README for the exact command
// casos de uso

Qué puedes crear

Advertisement
// preguntas frecuentes

Preguntas frecuentes

Who maintains guardrails?

It is an open-source project at guardrails-ai/guardrails with 715 forks. Check the contributors tab and recent commits to judge how active maintenance is.

Is guardrails free to use?

Yes — Apache 2.0 allows commercial use and modification. Keep the license and notice files, and note it includes a patent grant.

How do guardrails work?

You define rules for LLM outputs; the framework validates and retries or corrects when outputs break them.

Does it slow responses?

Validation adds some latency — the trade-off for safer outputs. Measure it for your use case.

How do I get started?

Clone the repo and follow the README quickstart — the docs at https://www.guardrailsai.com/docs walk through setup.

// sigue explorando

Herramientas similares

Agentes de IA

deepeval

Unit tests for LLMs — evaluate before you ship.

★ 18,7k estrellasApache-2.0
Ver la guía →
Agentes de IA

tirith

Terminal security that stops malicious prompts, URLs, and payloads before they run.

★ 2,8k estrellasAGPL-3.0
Ver la guía →
Agentes de IA

vigil-llm

Detect prompt injections and jailbreaks before they hit your LLM.

★ 504 estrellasApache-2.0
Ver la guía →
Agentes de IA

Guardrails

Programmable guardrails to keep LLM systems safe and on rails.

★ 7,3k estrellasNOASSERTION
Ver la guía →
Agentes de IA

autoevals

Fast, best-practice evaluations for AI model outputs.

★ 1,1k estrellasMIT
Ver la guía →
Agentes de IA

modelscan

Scan AI models for serialization attacks before you load them.

★ 781 estrellasApache-2.0
Ver la guía →
// alternativas

Alternativas en Agentes de IA

Los demás proyectos de Agentes de IA con más estrellas del catálogo de LibreAI: la lista realista de alternativas si guardrails no es lo que buscas.

// más en agents

Más en Agentes de IA

Proyectos de Agentes de IA cercanos en el catálogo, los más próximos en estrellas a guardrails: sigue explorando a ambos lados.

Consigue guardrails

Gratis y abierto: consigue el código fuente, dale una estrella al repositorio y empieza a crear.