Skip to content

Guardrail

Open-source pre-execution security for AI coding agents - FvdHMBAI/guardrail

Guardrail screenshot

About Guardrail

GuardRail blocks what your AI coding agent does , before it does it. 13 free, MIT-licensed guards hook into Claude Code and refuse git push origin main , DELETE without WHERE , rm -rf on protected paths and leaked secrets before the command runs. Every block lands in an audit log.

Free forever for the 13 core guards. Teams that need a PII shield on agent output and EU AI Act reports: GuardRail Pro, EUR 29 per developer and month .

My AI agent tried to mass-delete a production database. One guard said no.

The agent was debugging a slow query. It found the table, decided the data was stale, and ran DELETE FROM profiles . No WHERE clause. 23 databases, every single customer record. Gone in one command.

Except it wasn't gone. GuardRail blocked the command before it executed. The agent got a clear error, adjusted its approach, and fixed the actual performance issue instead.

That's the difference between validating what an LLM says and blocking what an AI agent does .

What you actually install. Run guardrail status after install and these are the numbers you see.

That's it. One command. Every command your AI agent runs is now guarded. No config needed.

Works with Claude Code out of the box (native hook support). Agent-runtime adapters for Codex CLI and Gemini CLI are planned.

Discussion

Sign in to join the discussion.

Loading comments…

Tagged

Alternatives to Guardrail

Tools in the same space, ranked by how they are performing in the directory.

Compare all
  • Texbrain

    FOSS browser-based LaTeX editor with live preview, on-demand packages and git integration.

    Open source/Writing & Content
  • TexLite

    TexLite: Lightweight self-hosted collaborative LaTeX editor and Overleaf alternative - SWUFE-DB-Group/TexLite

    Open source/Developer Tools
  • Yass

    Yet Another Stock Screener — screen stocks using fundamental signals, backtest with point-in-time data, evaluate with Monte Carlo analysis - jamesjxliao/yass

    /Developer Tools
  • It Was Never You

    Re-write their wrongs.

    Paid/Developer Tools
  • Slideops

    Turn a repository into a slide deck that tells you when it stops matching the code - glukicov/slideops

    /Developer Tools
  • C++ Stories

    "Hardening" seems to be a very popular term in the C++ World in 2026.

    /Developer Tools