EveryDev.ai
Subscribe
Home
Tools

4,691+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3426
  • Coding2391
  • Infrastructure1055
  • Projects732
  • Marketing662
  • Research612
  • MCP593
  • Analytics538
  • Design533
  • Testing420
  • Security410
  • Data358
  • Prompts260
  • Integration256
  • Communication250
  • Extensions222
  • Voice201
  • Learning193
  • Commerce173
  • DevOps161
  • Web122
  • Finance36
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Invariant Guardrails
    Invariant Guardrails icon

    Invariant Guardrails

    Agent Harness

    Open-source rule-based guardrail layer that secures LLM and MCP-powered AI agent systems.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Invariant Guardrails core is open source under the Apache License 2.0 and can be self-hosted or run locally.

    Engagement

    Available On

    SDK
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent HarnessMCP ToolsApplication Security

    Alternatives

    autocontextAgentTrail GuardCC Safety Net
    Developer
    Invariant LabsZurich, SwitzerlandEst. 2024

    Listed Oct 2026

    About Invariant Guardrails

    Invariant Guardrails is an open-source project from Invariant Labs that adds a rule-based guardrailing layer to LLM or MCP-powered applications. It sits between the application and its MCP servers or LLM provider, so agent behavior can be monitored and steered without invasive code changes. The homepage notes that Snyk has acquired Invariant Labs.

    What It Is

    Guardrails is a contextual security layer for AI agents. Developers write simple Python-inspired matching rules that identify and block malicious or unwanted agent behavior. Rules can match individual messages, such as banned phrases, or flows between tool calls, such as reading an inbox and then sending an email to an unknown address.

    How Rules Work

    A rule starts with a raise statement and a set of conditions. Conditions bind messages, tool calls, or tool outputs and are then evaluated like regular Python. A standard library of operations and detectors, including prompt injection detection, supports the checks. Rules that match raise errors, which block the offending LLM or MCP request.

    Deployment Options

    There are two ways to use it:

    • Through Invariant Gateway, which acts as an MCP or LLM proxy and evaluates the rules on each request, both before and after the call.
    • Programmatically with the invariant-ai Python package, which loads a policy and analyzes an agent trace locally on your machine.

    Place in the Invariant Family

    Invariant Labs lists Guardrails alongside Explorer, which inspects and observes agent behavior, and MCP Scan, a security scanning tool for MCP servers. The code is released under the Apache License 2.0.

    Invariant Guardrails - 1

    Community Discussions

    Be the first to start a conversation about Invariant Guardrails

    Share your experience with Invariant Guardrails, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Invariant Guardrails core is open source under the Apache License 2.0 and can be self-hosted or run locally.

    • Apache License 2.0
    • Rule-based guardrails for LLM and MCP-powered agents
    • Run locally via the invariant-ai Python package
    • Integrates via Gateway as an MCP or LLM proxy

    Capabilities

    Key Features

    • Rule-based guardrails for LLM and MCP applications
    • Python-inspired rule language
    • Detects tool-call flows across agent traces
    • Transparent MCP and LLM proxy via Gateway
    • Local programmatic policy analysis
    • Built-in detectors such as prompt injection
    • Standard library of checking operations

    Integrations

    MCP
    Invariant Gateway
    LLM providers
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Invariant Guardrails and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Invariant Labs

    Invariant Labs AG is a company based in Zurich, Switzerland. It builds tools to help agent builders create secure, reliable and robust products, including Explorer, Guardrails and MCP Scan. Its homepage states that Snyk has acquired Invariant Labs.

    Founded 2024
    Zurich, Switzerland
    6 employees
    Read more about Invariant Labs
    WebsiteGitHub
    2 tools in directory

    Similar Tools

    autocontext icon

    autocontext

    A recursive self-improving agent harness that runs LLM agents through structured scenarios, evaluates outputs, and accumulates validated knowledge so repeated runs get better over time.

    AgentTrail Guard icon

    AgentTrail Guard

    Open-source CLI that checks AI coding agents' commands and file changes against 74 local guardrails before they run.

    CC Safety Net icon

    CC Safety Net

    A pre-execution guard that blocks destructive commands and secret file access before AI coding agents run them.

    Browse all tools

    Related Topics

    Agent Harness

    Infrastructure, orchestrators, and task runners that wrap around LLM coding agents — covering session management, context delivery, worktree isolation, architecture enforcement, and issue-to-PR pipelines.

    256 tools

    MCP Tools

    Tools built with the Model Context Protocol for specific tasks.

    117 tools

    Application Security

    AI tools for securing software applications and identifying vulnerabilities.

    142 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions