Skip to content

Top 100 Guardrails Repositories

Back to Home

Ranking

RankingProject NameStarsForksLanguageOpen IssuesDescriptionLast Commit
1litellm47,9178,253Python1375Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropi...2026-05-22
2gateway11,8191,078TypeScript83A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.2026-05-19
3free-code8,3741,993TypeScript8The free build of Claude Code. All telemetry removed, security-prompt guardrails stripped, all experimental features enabled.2026-04-01
4baml8,281422Rust187The AI framework that adds the engineering to prompt engineering (Python/TS/Ruby/Java/C#/Rust/Go compatible)2026-05-22
5presidio8,2291,060Python53An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.2026-05-20
6guardrails6,902612Python21Adding guardrails to large language models.2026-05-19
7superagent6,612960TypeScript5Superagent protects your AI applications against prompt injections, data leaks, and harmful outputs. Embed safety directly into your app and prove compliance to your customers.2026-04-11
8Guardrails6,208684Python82NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.2026-05-21
9bifrost5,141623Go214Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.2026-05-22
10mcp-context-forge3,757670Python856An AI Gateway, registry, and proxy that sits in front of any MCP, A2A, or REST/gRPC APIs, exposing a unified endpoint with centralized discovery, guardrails and management. Optimizes Agent & Tool call...2026-05-22
11archestra3,726848TypeScript83Enterprise AI Platform with guardrails, MCP registry, gateway & orchestrator2026-05-22
12openlit2,461280TypeScript15Open source platform for AI Engineering: OpenTelemetry-native LLM Observability, GPU Monitoring, Guardrails, Evaluations, Prompt Management, Vault, Playground. 🚀💻 Integrates with 50+ LLM Providers, ...2026-05-22
13ragbits1,646137Python40Building blocks for rapid development of GenAI applications2026-05-18
14llmgateway1,232139TypeScript24Route, manage, and analyze your LLM requests across multiple providers with a unified API interface.2026-05-22
15future-agi1,015203Python53Open-source, end-to-end platform for evaluating, observing, and improving LLM and AI agent applications. Tracing · Evals · Simulations · Datasets · Gateway · Guardrails. Self-hostable. Apache 2.0.2026-05-22
16shellfirm91233Rust1Safety guardrails for ai coding agents and human terminal commands2026-05-15
17GoModel88960Go7AI gateway written in Go. Lightweight unified OpenAI-compatible API for OpenAI, Anthropic, Gemini, Groq, xAI & Ollama. LiteLLM alternative with observability, guardrails, streaming, costs and usage tr...2026-05-22
18Multi-Agent-Medical-Assistant888197Python2⚕️GenAI powered multi-agentic medical diagnostics and healthcare research assistance chatbot. 🏥 Designed for healthcare professionals, researchers and patients.2025-05-03
19cuga-agent738131Python63CUGA is an open-source generalist agent harness for the enterprise, supporting complex task execution on web and APIs, OpenAPI/MCP integrations, composable architecture, reasoning modes, and policy-aw...2026-05-21
20awesome-azure-policy538112-0A curated list of blogs, videos, tutorials, code, tools, scripts, and anything useful to help you learn Azure Policy - by @JesseLoudon2026-04-08
21agentos47268TypeScript0Build autonomous AI agents with adaptive intelligence and emergent behaviors, included with multimodal RAG and optional HEXACO personalities.2026-05-22
22AgentDoG47019Python1A Diagnostic Guardrail Framework for AI Agent Safety and Security2026-05-14
23Qwen3Guard46231Python11Qwen3Guard is a multilingual guardrail model series developed by the Qwen team at Alibaba Cloud.2025-10-21
24baseline-environment-on-aws45972TypeScript5Baseline Environment on AWS(BLEA) is a set of reference CDK template to establish secure baseline on standalone-account or ControlTower based multi-account AWS environment. This solution provides basi...2026-02-01
25evolving-agents45135Python16Your toolkit for autonomous, evolving agent ecosystems. Create, execute, govern, and evolve agents that learn from experience, collaborate, build new capabilities, and operate safely within defined gu...2025-11-24
26research-units-pipeline-skills43832Python0Research pipelines as semantic execution units: each skill declares inputs/outputs, acceptance criteria, and guardrails. Evidence-first methodology prevents hollow writing through structured intermedi...2026-04-17
27invariant42146Python9Guardrails for secure and robust agent development2026-01-12
28modelence40438TypeScript1Modelence is a full-stack framework for building production web apps with a built-in database, authentication and monitoring. Modelence is opinionated and AI agent-first, which means it's optimized fo...2026-05-21
29lc-studylab35170Python1LC-StudyLab 是一个完整演示 LangChain v1.0 全家桶能力的开源项目,整合了 LangGraph、DeepAgents、RAG 检索增强生成、Guardrails 安全校验与流式输出智能体等核心特性,帮助开发者系统掌握 LangChain v1 的所有关键组件2025-12-09
30LLMs-Finetuning-Safety35037Python3We jailbreak GPT-3.5 Turbo’s safety guardrails by fine-tuning it on only 10 adversarially designed examples, at a cost of less than $0.20 via OpenAI’s APIs.2024-02-23
31statewright3459Rust1State machine guardrails for AI agents2026-05-21
32opencode-swarm33333TypeScript64Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review.2026-05-22
33harness32745Python0Harness is an AI Agent development guardrail Meta-Skill that establishes four layers of defense for any project in one command: knowledge management, architecture constraints, feedback loops, and entr...2026-05-04
34CoWork-OS31852TypeScript1Local-first personal agentic OS and everything app for coding, knowledge work, web design, automations, and artifacts.2026-05-22
35Harmonize31514Swift0Harmonize is a modern linter for Swift that allows you to write architectural lint rules as unit tests. In the era of AI-generated code, it provides your team with deterministic guardrails to keep you...2026-05-12
36Sponsio31322Python0Deterministic safety solutions for probabilistic AI agents2026-05-22
37packmind28314TypeScript21Packmind seamlessly captures your engineering playbook and turns it into AI context, guardrails, and governance.2026-05-22
38guardrails25726Clojure0Efficient, hassle-free function call validation with a concise inline syntax for clojure.spec and Malli2026-05-16
39agent-control24934Python17Centralized agent control plane for governing runtime agent behavior at scale. Configurable, extensible, and production-ready.2026-05-21
40ultimate_bug_scanner24134Shell0Static analysis tool that catches 1000+ bug patterns across all popular programming languages, with auto-wiring into AI coding agent quality guardrails2026-05-13
41paig213220CSS53PAIG (Pronounced similar to paige or payj) is an open-source project designed to protect Generative AI (GenAI) applications by ensuring security, safety, and observability.2025-08-05
42openai-guardrails-python20934Python4OpenAI Guardrails - Python2026-03-28
43CKA-Agent20345Python1[ICML 2026 & ICLR 2026 AIWILD] Official Implementation of the CKA-Agent, "The Trojan Knowledge: Bypassing Commercial LLM Guardrails via Harmless Prompt Weaving and Adaptive Tree Search".2026-05-20
44changeway_guardrails19018-02025-07-26
45azure-policy-as-code18577HCL4Bicep and Terraform code examples for policy-as-code workflows. Azure governance guardrails and automation - by @JesseLoudon2024-04-20
46idun-agent-platform1849Python72🟪 Open-source runtime that ships any LangGraph or Google ADK agent as a production-ready FastAPI service. Bundled , AG-UI copilotkit API, chat UI, 15+ guardrails, MCP, OpenTelemetry, OIDC. One pip in...2026-05-22
47cloud-guardrails18317HCL1Rapidly apply hundreds of security controls in Azure2025-05-01
48gate2217622TypeScript17Open-source MCP gateway and control plane for teams to govern which tools agents can use, what they can do, and how it’s audited—across agentic IDEs like Cursor, or other agents and AI tools.2025-12-12
49AgentGuard1608JavaScript1Real-time guardrail that shows token spend & kills runaway LLM/agent loops.2025-07-31
50fast-llm-security-guardrails15121Python1The fastest Trust Layer for AI Agents2026-02-03
51guardrail15127Python0GuardRail: Advanced tool for data analysis and AI content generation using OpenAI GPT models. Features sentiment analysis, content classification, trend analysis, and tailored GPT model usage. Ideal f...2023-12-12
52pi-guardrails14623TypeScript2Security hooks for Pi. Prevents dangerous operations, protects env files, gates destructive commands.2026-05-22
53immunity-agent14010Python6The security layer for AI coding agents : Skill governance, safe package recommendations, MCP/tools guardrails, secret protection, runtime policy enforcement and full audit visibility with a self-serv...2026-05-22
54LowLevelVulnerabilities13514Solidity0Examples and POCs of Vulnerabilities that are unique to EVM contracts written without the guardrails of higher level languages like solidity or vyper2023-12-23
55Awesome-LLMSecOps13337HTML0LLM | Security | Operations in one github repo with good links and pictures.2026-05-19
56Object-detection-in-Point-Cloud-road-boundary13239C++1Object detection in Point Cloud is popular in HD Map and sensor-based autonomous driving. There basically four types of object you can obtain in daily scenario: road surface - contains painted lane ...2018-05-08
57aws-iam-permissions-guardrails12842Python29AWS IAM Permissions Guardrails https://aws-samples.github.io/aws-iam-permissions-guardrails/2023-04-17
58novice-ChatGPT12717Jupyter Notebook0ChatGPT API Usage using LangChain, LlamaIndex, Guardrails, AutoGPT and more2024-08-16
59open-bias1244Python0Open Source Reliability Harness: Make your agents follow rules. One line of code to‎ ‎enforce, trace, and improve. ‎ ‎2026-05-14
60foundry-citadel-platform12335-0Deploy production-ready AI agents in one click! Citadel delivers unified governance, end-to-end observability & rapid development for secure, compliant AI at scale. Built on Azure best practices—turn ...2026-05-11
61gateway12213Python0The Open Source Firewall for LLMs. A self-hosted gateway to secure and control AI applications with powerful guardrails.2025-06-25
62raga-llm-hub11514Python2Framework for LLM evaluation, guardrails and security2024-09-09
63oh-my-githubcopilot1128TypeScript0Ultimate Harness Automation for Github Copilot on VS Code. It provides 28+ specialized agents, 30+ reusable skills, hooks, guardrails, and etc.2026-05-20
64aws-control-tower-controls-terraform10835HCL0This repository describes how to use AWS Control Tower controls, HashiCorp Terraform, and infrastructure as code (IaC) to implement and administer preventive, detective, and proactive security control...2025-04-17
65claude-interactive-documentation-workflow10511-0I used to whiteboard, then code. Now I markdown, then code. This is how I vibe-code: I can direct, guardrail, and understand the LLM-built code, come back to it 6 months later and actually understand ...2026-04-21
66cloud-guardrails10232JavaScript11Minimum guardrails for GC's cloud operationalization framework.2024-12-12
67ultraship10213JavaScript0"ULTRASHIP" Claude Code plugin — 39 skills, 33 tools, 11 agents for ship-ready workflows: planning, review, pentesting, safety guardrails, canary monitoring, SEO/AI-readiness check, penetration testin...2026-05-18
68awesome-cloud-guardrails1021JavaScript0Schema-driven awesome list of cloud security guardrails powering cloudguardrail.com/tools2026-05-21
69ClawGuard1011TypeScript5The antivirus for OpenClaw — approve dangerous actions, scan skills, block secret leaks, and keep humans in control, for safety.2026-03-20
70thebrain10011JavaScript0A Claude Code plugin that gives your AI persistent memory, code awareness, safety guardrails, and a behavioral system that learns how you work2026-04-17
71humanities-thesis-skill1009Python0AI skill for humanities thesis writing — from topic selection to publication. 8 academic databases, 21 review rules, anti-hallucination guardrails. 人文社科论文写作 AI Skill2026-04-29
72zexus1006C#0In-process Revit AI agent with dynamic C# code execution, multi-provider LLM support, and a guardrail system for safe BIM automation.2026-05-05
73shellward9814TypeScript0AI Agent Security Middleware — 8-layer defense, DLP data flow, prompt injection detection, zero dependencies. SDK + MCP server for Claude Code, Cursor, LangChain, Hermes Agent & more.2026-05-18
74entrix9710Python0A Harness Engineering tool for turning quality rules, architecture constraints, and validation steps into executable guardrails.2026-04-13
75rm-safely972Shell0'rm' safely – a safety net for rm2026-05-12
76orloj969Go9An orchestration runtime for multi-agent AI systems. Declare agents, tools, and policies as YAML; Orloj schedules, executes, routes, and governs them for production-grade operation.2026-05-21
77ai-gateway9315Go7Unified AI Gateway for 30+ LLMs (OpenAI, Anthropic, Bedrock, Azure etc) with Caching, Guardrails, A/B test & cost controls. Go-native Fastest & Scalable AI Gateway LiteLLM & Kong AI Gateway alternativ...2026-05-22
78guardrail3920Rust3Composable code guardrails for Rust and TypeScript projects2026-05-20
79LLMSecurityGuide929-1A comprehensive reference for securing Large Language Models (LLMs). Covers OWASP GenAI Top-10 risks, prompt injection, adversarial attacks, real-world incidents, and practical defenses. Includes cata...2026-04-03
80any-guardrail8811Python16Guardrails to support any-agent2026-05-22
81anti-lie887Python0Don't make LLMs honest. Make every factual claim auditable. — An LLM Claim Auditing Layer with T1-T7 truth gradients. 98.1% business effectiveness on LiarBench v0.2.2026-05-10
82openclaw-shield8611TypeScript4Security plugin for OpenClaw agents - prevents secret leaks, PII exposure, and destructive command execution2026-05-12
83governor831Python0Claude Code usage governor: compact professional output, context slimming, tool-output filtering, telemetry, and drift guardrails.2026-05-19
84watchflow8125Python4Agentic GitHub Guardrails - Replace static protection rules with context-aware enforcement.2026-04-16
85openai-guardrails-js8014TypeScript5OpenAI Guardrails - TypeScript / JavaScript2026-03-26
86arthur-engine8010Python2Make AI work for Everyone - Monitoring and governing for your AI/ML2026-05-22
87codexmaster788HTML0Master Codex with this Framework file system + Prompt Generator consisting of 32 markdown files that will set such strict constraints and rules for Codex that its output is nearly flawless. Files for:...2026-04-02
88PIGuard769Python0[ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".2025-12-04
89rag-ops7519Python0This project applies the core knowledge from the LLMOps module, including the design and implementation of the API Layer, Inference Layer, Observability Layer, Cache Layer, Guardrails Layer, Routing L...2025-12-27
90valqore7433Python0Safety-first guardrails for AI-driven cloud and Kubernetes operations2026-05-17
91langevals729-3LangEvals aggregates various language model evaluators into a single platform, providing a standard interface for a multitude of scores and LLM guardrails, for you to protect and benchmark your LLM mo...2026-02-15
92heinzel7211Shell0A ruleset that turns AI coding assistants into disciplined Linux, FreeBSD & macOS sysadmins. Manages servers via SSH and localhost with safety guardrails, checklists, and team support. Named after the...2026-05-19
93invariant-gateway729Python1LLM proxy to observe and debug what your AI agents are doing.2025-11-06
94End-to-End-Agentic-Ai-Automation-Lab7234Jupyter Notebook0This repository contains hands-on projects, code examples, and deployment workflows. Explore multi-agent systems, LangChain, LangGraph, AutoGen, CrewAI, RAG, MCP, automation with n8n, and scalable age...2026-05-21
95pfsense-mcp-server7111Python2pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI co...2026-03-27
96agent-os7021Python0[DEPRECATED] Moved to microsoft/agent-governance-toolkit2026-03-03
97circle-guard-bench694Python0First-of-its-kind AI benchmark for evaluating the protection capabilities of large language model (LLM) guard systems (guardrails and safeguards)2026-03-07
98claude-code-guardrails678Python1Real-time guardrails for Claude Code tool calls.2026-02-04
99pydantic-ai-shields6710Python0Guardrail capabilities for Pydantic AI — cost tracking, prompt injection detection, PII filtering, secret redaction, tool permissions, and async guardrails. Built on pydantic-ai's native capabilities ...2026-05-05
100hermes-agent-helm-chart6621Shell0The community-driven unofficial chart packages Hermes Agent for Kubernetes with cloud-native defaults, explicit state-safety guardrails, and flexible composition points for platform teams.2026-04-12