LibreAI / KI-Agenten / guardrails
// agents · guardrails-ai/guardrails

guardrails

guardrails ist ein Open-Source-Projekt aus der Kategorie KI-Agenten von guardrails-ai (guardrails-ai/guardrails auf GitHub). Es hat 7.496 Sterne auf GitHub und 715 Forks, wird unter der Lizenz Apache-2.0 veröffentlicht und wurde zuletzt am 6. Oktober 2026 auf GitHub aktualisiert.

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

★ 7,5 Tsd. Sterne⑂ 715 ForksApache-2.0aktualisiert Okt 2026
▦ Visual — das README dieses Projekts enthält keinen einbettbaren Screenshot,
darum hier ein Platzhalter. Die Anleitung unten ist trotzdem vollständig.
// projektdaten

Projektdaten

GitHub-Sterne
7.496
Forks
715
Lizenz
Apache-2.0
Zuletzt auf GitHub aktualisiert
6. Oktober 2026
Kategorie
KI-Agenten
Eintragstyp
Vollständige Installationsanleitung
Offizielle Website
Official site
// so funktioniert es

So funktioniert es

  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.

// funktionen

Warum es so beliebt ist

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
// selbst ausführen

Führe es selbst aus

  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
// anwendungsfälle

Was du damit bauen kannst

Advertisement
// häufige fragen

Häufige Fragen

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.

// weiter entdecken

Ähnliche Tools

KI-Agenten

deepeval

Unit tests for LLMs — evaluate before you ship.

★ 18,7 Tsd. SterneApache-2.0
Anleitung ansehen →
KI-Agenten

tirith

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

★ 2,8 Tsd. SterneAGPL-3.0
Anleitung ansehen →
KI-Agenten

vigil-llm

Detect prompt injections and jailbreaks before they hit your LLM.

★ 504 SterneApache-2.0
Anleitung ansehen →
KI-Agenten

Guardrails

Programmable guardrails to keep LLM systems safe and on rails.

★ 7,3 Tsd. SterneNOASSERTION
Anleitung ansehen →
KI-Agenten

autoevals

Fast, best-practice evaluations for AI model outputs.

★ 1,1 Tsd. SterneMIT
Anleitung ansehen →
KI-Agenten

modelscan

Scan AI models for serialization attacks before you load them.

★ 781 SterneApache-2.0
Anleitung ansehen →
// alternativen

Alternativen im Bereich KI-Agenten

Die anderen Projekte der Kategorie KI-Agenten mit den meisten Sternen im LibreAI-Katalog — die realistische Auswahl, falls guardrails nicht das Richtige ist.

// mehr in agents

Mehr in KI-Agenten

Verwandte Projekte der Kategorie KI-Agenten im Katalog, die guardrails bei den Sternen am nächsten stehen — zum Weiterstöbern auf beiden Seiten.

Hol dir guardrails

Kostenlos und offen — hol dir den Quellcode, gib dem Repository einen Stern und leg los.