AI agent guardrail tools compared for 2026
Nine AI agent guardrail tools, sorted by whether they guard text, tool calls or access. Amiril is first because it stops a bad tool call before it runs.
Nine AI agent guardrail tools, sorted by whether they guard text, tool calls or access. Amiril is first because it stops a bad tool call before it runs.
We make Amiril, so it is first on this list of AI agent guardrail tools, and the reason is the tool call. An agent does its damage when a tool runs with the wrong arguments, and Amiril checks each call against your rules inside the agent's process before the tool runs. Amiril drafts those rules from the agent's own history, or you write your own, and either kind starts in Shadow and reaches running agents without a redeploy. Amiril also has a gateway that decides which tools each agent may reach at all.
Aembit's comparison of agentic AI guardrails from November 2026 sorts the market by where a product sits. Content guardrails read prompts, documents and model output. Action guardrails judge the tool calls an agent plans to make. Access guardrails decide which systems and tools an agent can reach, and with which credential. This post uses the same split, because it explains why two products that both say "guardrails" can stop completely different things.
We ranked the AI agent guardrail tools here on five tests. A tool scored well when it:
Every price and feature for the other tools comes from public pages, most of them the vendor's own, checked on 3 December 2026.
| Tool | Best for | Alerts or refuses | Layer | Starting price |
|---|---|---|---|---|
| Amiril | Stopping bad tool calls with rules learned from the agent's history | Refuses | Actions, access | Free plan; Team $249 a month |
| Aembit | Identity and credentials for agents reaching MCP servers and APIs | Refuses | Access | Free for 3 agents; Teams $20 per agent a month |
| NeMo Guardrails | Teams writing their own policy in code and config | Returns a verdict your code acts on | Content, actions | Free, open source |
| OpenAI Agents SDK guardrails | Agents already built on that SDK | Refuses through a tripwire | Content, actions | Free with the SDK |
| Azure AI Content Safety | Agents built in Microsoft Foundry | Alerts; your code blocks | Content, actions | Free tier of 5,000 text records a month |
| Lakera | Prompt attack and data leak protection run by a security team | Refuses | Content, actions | Free Community plan |
| Amazon Bedrock Guardrails | Content filtering for teams on AWS | Refuses, except Automated Reasoning checks, which only flag | Content | $0.15 per 1,000 text units for content filters |
| Guardrails AI | Validating model input and output in Python | Refuses, per validator | Content | Free, open source |
| Prisma AIRS | Enterprises consolidating AI security on Palo Alto Networks | Refuses | Content, actions, access | Not published |
These products judge the agent's next action, or what it may touch at all.
Best for stopping an agent's bad tool calls before they run, with rules drawn from that agent's own traces.
The SDK checks each rule inside the agent's process, for agents on LangGraph, Google ADK, LiveKit or plain Python and TypeScript, and a blocked call never reaches the tool. A rule can read the call's arguments and also the calls that came before it in the run or across the session. This one stops a payments agent once a session's payments add up to more than 50,000:
@id("session-payment-total")
@scope("session")
@sentence("This payment brings the session total to {session_total}, over 50000")
block (
agent == "payments",
tool == "issue_payment"
)
unless {
session_total = sum(issue_payment{}.args.amount, call.args.amount);
session_total <= 50000
};issue_payment{} matches every earlier payment in the session that went through, so the sum adds this one to them. When the rule fires, the model gets the rule's sentence in place of the tool's result, with an instruction not to retry the call another way and to tell the user it was not performed.
You can write a rule like this by hand, or let Amiril draft it. Amiril reads the agent's traces, ranks every run by rarity and groups runs that share a problem into an issue. For an issue, it drafts a rule that would have stopped those runs and tests the draft on past runs. It keeps the draft only if it catches some of the issue's runs and fires on at most one in a hundred of the agent's other runs. What survives shows up as a rule suggestion, with a line such as "Would have blocked 4 of 5 runs".
A published rule starts in Shadow, recording what it would have done and letting every call through. Testing against past calls replays any version, drafts included, over the last 24 hours, 7 days or 30 days and lists each call it would have fired on. When you publish a change, running agents pick up the new version within about a minute, and they keep enforcing the last rules they had if Amiril can't be reached.
The access half is the Amiril gateway, an MCP server between your agents and their tool servers. Every tool starts denied. You grant tools per agent, by hand or by level, where Read, Write and Destructive say what a tool does to data. The access log records every grant, revoke and refused call, and an access suggestion proposes taking away a tool the agent hasn't called in 30 days. Tool server keys and tokens are encrypted with AES-256-GCM, and the agent never holds them. The MCP gateway page shows the refusal a support agent gets when it calls a payments tool it was never granted.
Pricing: a free plan, and Team at $249 a month.
Best for controlling which systems an agent reaches and with which credential, with no long-lived secrets in the agent.
Aembit is identity and access management for agents and workloads. Its MCP Identity Gateway checks the agent's identity, and the user's when the agent acts for someone, then allows or blocks tools by exact name or pattern and hands out short-lived credentials. Aembit's own comparison places it at the access layer and notes it has no native prompt injection or content detection. The Starter plan is free for 3 AI agents, and Teams is $20 per agent a month.
Best for engineering teams who want to write and run their own guardrail policy.
NVIDIA's open-source library, Apache 2.0 licensed, covers input, output, retrieval and tool calls. In check mode your agent sends a proposed tool call to the library before running it, and gets back a result from local regex and CEL rules or from model-backed checks. The library only returns that result, and your application or harness decides whether the call goes ahead.
Best for agents already built on the OpenAI Agents SDK.
The SDK has input and output guardrails on agents, and tool guardrails that run before and after each guarded function tool. A guardrail that trips raises an exception. Input guardrails run in parallel with the agent by default, and the docs warn that the agent may already have executed tools by the time a tripwire cancels it. Set run_in_parallel=False, or use tool guardrails, when the call itself is what you need to stop.
These start from text: prompts, retrieved documents and model output. Several now reach into agent actions too, mostly as security platforms bought by a security team.
Best for teams building agents in Microsoft Foundry.
Prompt Shields detects jailbreaks and prompt injection hidden in documents and email. Task Adherence compares a planned tool call with what the user asked, and Microsoft's own example flags a change_data_plan call made when the user only asked how much data they'd used. It returns a signal, and your code blocks the call or sends it to a person. The free tier covers 5,000 text records a month, and the Standard tier bills per 1,000 records.
Best for a security team protecting many agents from prompt injection and leaked data.
Lakera has been part of Check Point since October 2025. Its AI Agent Security product discovers agents and the MCP tools they connect to, and blocks prompt attacks, data leakage and unsafe tool use at runtime. The Community plan is free for 10,000 requests a month with prompts up to 8,000 tokens.
Best for content filtering on AWS, with models inside or outside Bedrock.
Bedrock Guardrails offers six policies: content filters, prompt attack detection, denied topics, sensitive information filters, contextual grounding and Automated Reasoning checks. The ApplyGuardrail API runs them on any text without calling a model. Automated Reasoning checks run in detect mode only, returning findings for your application to act on. Content filters and denied topics cost $0.15 per 1,000 text units each, where a text unit is up to 1,000 characters.
Best for validating what goes into and comes out of a model in Python.
The open-source framework builds input and output guards from validators in Guardrails Hub, such as a regex match or a toxic language check, and also helps get structured data out of a model. Harvey acquired Guardrails AI in September 2026. Validators now install as ordinary PyPI packages, and the README gave 25 August 2026 as the cutoff for hosted remote inferencing.
Best for large enterprises that already buy security from Palo Alto Networks.
Prisma AIRS is a platform: runtime security, red teaming, posture management, agent identity security and an AI gateway. Its runtime security enforces safeguards against manipulation, data exposure and unsafe actions during live AI interactions. The product page lists no price.
Most AI agent guardrail solutions are built for one layer, so start from the failure you're afraid of. If it is a user talking the model into saying something it shouldn't, you want a content filter, and Bedrock, Azure or Lakera will do that job. If it is the agent deleting a record nobody asked it to touch, the check has to sit at the tool call and read the arguments. We wrote more about that difference in LLM guardrails vs tool call guardrails.
NeMo Guardrails, the OpenAI Agents SDK and Guardrails AI give you a good place to put a check, and leave the number in it to you. Amiril drafts the rule from runs that went wrong and shows the calls it would have stopped before it blocks anything.
Plenty of teams will run two AI agent guardrail tools at once, a prompt filter on the way in and Amiril at the tool call. If security owns the decision, the platforms from Palo Alto and Check Point fit the way security teams buy. If the engineers who built the agent own it, they'll want rules they can read in a pull request and change without a deploy. Our AI agent security post makes the case that the tool call is where to start.
Content guardrails read text and block or redact what breaks a policy, such as a jailbreak or a leaked card number. Action guardrails read the tool call the agent is about to make, its name and its arguments, and stop it before it runs.
In the agent's own process, through the SDK. It keeps a copy of your published rules there, so a check makes no network request, and it keeps enforcing them through a network outage or a restart.
With Amiril, yes. A new rule runs in Shadow first and records what it would have blocked, and a test on past calls covers up to 30 days of real traffic.
The gateway decides which tools an agent has at all, and a rule decides whether one particular call should run. The gateway is on every plan, and the AI agent guardrails page walks through the rules side.
To try it on your own agents, start free.