LibreAI / AI Agents / Guardrails
// agents · NVIDIA-NeMo/Guardrails

Guardrails

Programmable guardrails to keep LLM systems safe and on rails.

★ 7.3k stars⑂ 865 forksNOASSERTIONupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

Guardrails is an open-source ai agents project by NVIDIA-NeMo (NVIDIA-NeMo/Guardrails on GitHub). It has 7,264 GitHub stars and 865 forks, is released under the NOASSERTION license, and was last updated on GitHub on 7 October 2026.

GitHub stars
7,264
Forks
865
License
NOASSERTION
Last updated on GitHub
7 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Define the job

    Write down the task or workflow you want the agent to handle.

  2. Get the code

    Clone the repository and read the README's prerequisites.

  3. Set up your environment

    Install dependencies and configure keys or endpoints.

  4. Try the quickstart

    Run the sample script and check the output against the docs.

// features

Why people love it

Programmable rails

Define behavior rules in config.

Input/output checks

Validate both sides of the conversation.

Topical guardrails

Keep agents on permitted subjects.

NVIDIA-backed

From the NeMo team.

Conversational focus

Built for dialogue systems.

Active development

Pushed in October 2026.

Advertisement
// run it

Run it yourself

  1. Step 1 - Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/NVIDIA-NeMo/Guardrails.git
    cd Guardrails
  2. Step 2 - Install dependencies

    Create a virtual environment and install the requirements.

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

    Treat these as starting points - the README documents the exact commands.

    python examples/quickstart.py
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who is behind Guardrails?

The project lives at NVIDIA-NeMo/Guardrails and has attracted 865 forks. Browse its commit history and contributor list for a sense of maintenance pace.

Is Guardrails free to use?

GitHub does not assert a license for this repo, so treat the code as all rights reserved until the author adds one.

Do I need a paid API to use it?

The toolkit is free; only the models it guards might come from a paid provider.

Guardrails vs PyRIT?

Different jobs: Guardrails enforces runtime safety rules; PyRIT probes for vulnerabilities before deployment. Mature teams use both - test with PyRIT, enforce with Guardrails.

Where should I start?

The README and the official docs site are the fastest path: run the quickstart example first, then adapt it to your use case.

// keep exploring

Similar tools

AI Agents

archestra

Archestra: the enterprise AI platform — chat UI, LLM gateway, and MCP gateway with guardrails

★ 4.4k starsNOASSERTION
View guide →
AI Agents

ruby_llm

The Ruby-native AI framework. Chats, agents, tools, images, audio, and video through one consistent API, in plain Ruby or Rails.

★ 4.4k starsMIT
View guide →
AI Agents

openllmetry

OpenTelemetry-native observability for LLM apps.

★ 7.5k starsApache-2.0
View guide →
Agents

Data-Analysis-Agent

Chat with your data: an LLM agent that builds charts and business insights.

★ 2.6k starsCustom
View guide →
AI Agents

AiSOC

Open-source AI SOC — alert fusion, LLM triage, MITRE ATT&CK investigation and a replayable decision ledger

★ 2.4k starsMIT
View guide →
AI Agents

macos-harness

A minimal harness that lets an LLM fully control a Mac.

★ 902 starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if Guardrails is not the right fit.

Get Guardrails

Free and open — grab the source, star the repo, and start creating.