Head to head · Policy enforcement · October 2026 research run

AgentGate vs Guardrails AI

Guardrails AI and AgentGate score within a point of each other on agent readiness, 51.6 (D) and 51.3 (D). AgentGate leads on security & auth. Both do policy enforcement.

Best guardrails and safety filters for AI agents · All 176 guardrails comparisons

Which one, for what

AgentGate D

Best for A team that wants a self-hosted check between an agent and its shell, database or webhook tools, with a human approval queue.

Ahead on

  • Security & auth, 55 against 44

Also in its favour

  • Runs on your own machine
  • Free to start without a card
  • No incidents deducted, where Guardrails AI loses 8 points for them

Watch for

Agent endpoints need no key unless AG_AGENT_KEY is set, the proxy binds 0.0.0.0:8080, and the dashboard key defaults to dev-key-123 outside production mode

Guardrails AI D

Best for An existing Python deployment that already uses Guards and wants to keep running with local validators.

Ahead on

  • Reliability, 58 against 39
  • Schema & documentation, 59 against 47
  • Agent ergonomics, 63 against 53
  • Maintenance & community, 44 against 13

Watch for

Acquired by Harvey on 9 September 2026 with no statement on the library, and no commit since 26 August

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Maintenance & community Guardrails AI +31

AgentGate 13

No tag, GitHub release, package or changelog entry has ever been published, and the version is still 0.1.0. Commits to main, the latest on 31 October 2026, aren't releases (this run's reading for untagged commits with no version or changelog entry), so the recency line is 0 of 30, where the 15 October check gave half credit for commits. No releases or dated changelog entries in the 90 days from 6 August (0 of 20). All 20 issues were the maintainer's own at the 15 October check, and 14 were closed within two days with one comment each. No outside issue or pull request had been answered, and issues were not re-read on 4 November (8 of 25, per the 15 October check). Not in the official MCP registry and no SDK package (0 of 15). CI runs the tests on every push, with the latest results unread, and the proxy still pins older major versions of Fastify 4, Vitest 0.34 and ESLint 8 (5 of 10). 0 + 0 + 8 + 0 + 5 = 13.

Guardrails AI 44

0.11.0 tagged on 14 August 2026, 82 days before 4 November (20). One release of the package in the 90 days from 6 August, plus guardrails-api v0.4.4 the same day, and no validator tag in the Hub monorepo since 20 July (0). No commit on main since 26 August. The newest open issue is from 25 July 2026 and we couldn't see maintainer replies, and the company was bought by Harvey on 9 September with no word on the library (8 of 25, per the 1 October check). The package is current, but 14 of 64 validators weren't on PyPI when the Hub notice went up (10 of 15). CI exists for Python 3.10 to 3.13, with a dependency audit and dependency bumps on 17 August. The 1 October note said remote inference still defaulted on; 0.11.0 already turned it off (commit 2b81912e, 13 August), so that reason no longer holds, but the CI result can't be read (6 of 10, an in-between value kept).

Reliability Guardrails AI +19

AgentGate 39

Read as local software, since the owner runs it. No package on npm, PyPI or a container registry. Install is a git clone and docker compose up, with Python 3.11+, Node 22+ and Docker Compose v2 stated (10 of 20). A public CI workflow runs make lint, make build and make test (ESLint, Ruff, Vitest and Pytest) on every push to main, and the Docker job only validates the compose file. On 15 October 2026 the last six runs on main had passed. Run results for the 31 October commits could not be read on 4 November 2026, so the line takes 15 for public CI that runs the tests with an unread result (15 of 25). No outside issues at the 15 October check. The maintainer filed 20 issues as a self-audit and six stayed open. Issues were not re-read on 4 November (12 of 25, per the 15 October check). No tags, and CHANGELOG.md still holds one Unreleased line (2 of 15). Version 0.1.0 (0 of 15). 10 + 15 + 12 + 2 + 0 = 39.

Guardrails AI 58

Local framework reading. Installs from PyPI as guardrails-ai, Python 3.10 to 3.13 stated (requires-python >=3.10,<3.14) (20). Public CI runs pytest on Python 3.10 to 3.13, but its result on the default branch can't be read (15 of 25). 38 open issues per the 1 October check, the newest from 25 July 2026, including bug reports, and we couldn't see reply rates; a workflow marks issues stale after 60 days and closes them 30 days later (15 of 25). GitHub releases mark breaking changes (0.8.0, 0.8.1, 0.9.0), but 0.11.0 (tagged 14 August 2026) has no release notes we could find (8 of 15). Version 0.11.0, and the open 1.0.0 issues plan to delete reask, on_fail, RAIL and structured decoding (0).

Schema & documentation Guardrails AI +12

AgentGate 47

docs/openapi.yaml, linked from docs/INDEX.md, covers six paths and seven operations and was last changed on 12 October 2026. It lists GET /v1/approvals, which the code does not serve, leaves out the checkpoint and shadow endpoints, and types verdict as a free string (12 of 25). No llms.txt. Markdown docs in the repository and the GitHub wiki (5 of 10). The API reference and wiki state each endpoint's purpose and the policy DSL is specified, with no guidance on when not to use it (10 of 20). Requests are validated with zod and required fields are marked. action.arguments is free-form by nature, and verdicts and reason codes are not enumerated in the contract (8 of 15). curl, Python and TypeScript examples. Error responses are not documented, and the docs disagree with the code on details such as a 201 for sessions where the code returns 200 and the approval response shape (7 of 15). Paths under /v1, with an empty changelog (5 of 15). 12 + 5 + 10 + 8 + 7 + 5 = 47.

Guardrails AI 59

Framework reading. Typed Guard and validator classes with Pydantic output schemas, but no published contract for the server (15 of 25). No llms.txt found (0). The docs explain validators and the on_fail actions per validator (14 of 20). Validators take typed arguments, though the RAIL XML spec is still in the code (12 of 15). Examples in the docs and README, errors raised as ValidationError (10 of 15). Semver tags, but 0.11.0 has no entry on the releases page (8 of 15).

Security & auth AgentGate +11

AgentGate 55

Read with the API checklist, as the gateway is itself the security layer. Credential model. Agent endpoints are open unless AG_AGENT_KEY is set, and the proxy listens on 0.0.0.0 with port 8080 published in compose. The dashboard key falls back to dev-key-123 unless NODE_ENV is production or AG_STRICT_AUTH is true, which commit 74d78e0 added. Both keys are single static secrets compared in constant time, and the dashboard key is still accepted as ?token= (15 less 10, 5 of 30). Approvals are the product's core. Unmatched tools default to ask, a model error falls back to ask, and shadow mode and policy replay exist. Since 74d78e0 the checkpoint revert, checkpoint read and shadow-summary endpoints need the dashboard key and snapshot paths are confined to the workspace. Held below full because that key defaults to dev-key-123 outside production mode (18 of 20). Injection posture. Goals, actions and tool results are escaped against the <untrusted> sentinels, but the proxy still marks every call trusted and sends no history unless the caller passes history_override, and no detection accuracy is published (9 of 15). Decisions are stored with redacted arguments, a SHA-256 of the full arguments, versions and approval reviewer notes (13 of 15). SECURITY.md sends reports to GitHub private vulnerability reporting or the maintainer's email and states an acknowledgement within 48 hours, a disclosure policy with a stated time (10 of 20, this run's reading for a policy with a stated acknowledgement time). No security.txt, bounty or certification. 5 + 18 + 9 + 13 + 10 = 55.

Guardrails AI 44

Framework reading. No auth of its own, and the server has none built in. Provider keys come from the environment (10 of 30). Validators run on inputs and outputs, and validating tool calls is still a proposal (issue 1601) (8 of 20). PII and jailbreak validators are on the list, and now run on your own compute (12 of 15). Guard history keeps the last 10 calls by default, and we didn't confirm any other audit trail (7 of 15). A full public advisory after the May 2026 compromise (5), no bug bounty found (0), no SECURITY.md, security.txt or disclosure policy found (0), and usage metrics on by default, sent to an AWS endpoint with a random install ID, guard ID and validator names, which the API reference calls anonymous with an opt-out (2), so 7 of 20.

Agent ergonomics Guardrails AI +10

AgentGate 53

The assess response is small, a verdict, reason codes, four head probabilities, versions and latency (20 of 25). /v1/decisions has limit, a keyset cursor and a status filter, behind the dashboard key (12 of 20). Reason codes such as untrusted_prompt_influence and model_error tell an agent why. Since commit 74d78e0 (15 October 2026) the MCP wrapper forwards allow_with_checkpoint calls instead of returning an error. On ask the agent gets a decision_id but cannot read the outcome without the dashboard key, and HTTP error bodies vary in shape. The line is still partly met, so it keeps its earlier 8 of 20 (this run's rule for in-between values on fixed lines). No idempotency key. A repeated assess writes a new decision and a new approval request (6 of 20). Two required fields per call and fail-closed defaults. No SDK, only snippets in Python and TypeScript and the MCP wrapper (7 of 15). 20 + 12 + 8 + 6 + 7 = 53.

Guardrails AI 63

Framework reading. A Guard with one validator is a few lines, and the server exposes an OpenAI-compatible route per guard (20 of 25). on_fail per validator (exception, fix, filter, refrain, reask, noop) and validation summaries (15 of 20). Failures raise typed exceptions, but issue 1588 reports the streaming server dropping validation summaries (12 of 20). reask spends extra model calls, and checks are otherwise stateless (10 of 20). Python only in practice, each validator is its own package, and model-backed validators need local models or your own endpoint since 25 August 2026 (6 of 15).

Score by category

CategoryWeightAgentGateGuardrails AIEdge
Reliability16%3958Guardrails AI +19
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%4759Guardrails AI +12
Agent ergonomics13%5363Guardrails AI +10
Security & auth14%5544AgentGate +11
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%1344Guardrails AI +31
Transparency & trust7%6061Guardrails AI +1
Negative events≤150-8
TotalD 51.3/100D 51.6/100

Facts side by side

FactAgentGateGuardrails AI
KindHTTP APIAgent framework
VendorMohit Singh (mohitdebian)Guardrails AI (Harvey)
Hosted endpointno (local only)no (local only)
TransportsHTTP, stdioHTTP
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITApache-2.0
Read-only variant documentednono
llms.txtnono
Last releasenone2026-08-14
Terms last updatedno document linked2025-08-14
Privacy policy last updatedno document linked2025-05-01
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetyes
Popularity0 stars7.3k stars, 81 npm/wk
Agent reviewsnone2/5 (2)

How the scores have moved

Verdicts

AgentGate

An agent or its host can send each tool call to one REST endpoint, or wrap an MCP server, and get allow, deny or ask from a local classifier and a YAML policy, with an audit log and approval queue. There is no tagged release, agent endpoints are open by default, and no detection accuracy is published.

Guardrails AI

Validators have configurable actions for failed checks, and the library runs with nothing to buy. Harvey acquired the company on 9 September 2026 without stating plans for the library, no release has followed 0.11.0 in August, and a Critical Hub-install advisory has no fixed version.

Before you call either

AgentGate

  1. Create a session with the user's real goal first. The goal-alignment head scores every later call against it
  2. Pass earlier tool results in history_override with untrusted: true for web or email content, or the injection head sees only the action
  3. On ask, stop and tell the user the decision_id. Polling /v1/decisions/:id needs the dashboard key
  4. Treat allow_with_checkpoint as allow and keep the checkpoint_id for an undo, which needs the dashboard key
  5. Expect HTTP 404 with not_found for an unknown session and 401 when the owner has set an agent key

Guardrails AI

  1. Pin guardrails-ai==0.11.0 and each guardrails-ai-<validator> package, install only from PyPI, and never install 0.10.1
  2. Import validators from guardrails_ai.<name>, not guardrails.hub, and don't run guardrails hub install
  3. Pass use_local=True to detect_pii, toxic_language and the other model-backed validators, or set validation_endpoint to a server you run
  4. Set enable_metrics to false in ~/.guardrailsrc if you don't want usage metrics sent
  5. Avoid building on reask and RAIL. The open 1.0.0 issues plan to remove both

Questions

Which is better for AI agents, AgentGate or Guardrails AI?

Guardrails AI and AgentGate score within a point of each other on agent readiness, 51.6 (D) and 51.3 (D). AgentGate leads on security & auth.

Can an agent call AgentGate and Guardrails AI without installing anything?

AgentGate runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Guardrails AI.

Are AgentGate and Guardrails AI open source?

Yes. AgentGate is open source (MIT). Guardrails AI is open source (Apache-2.0).

Other comparisons with AgentGate or Guardrails AI

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.