Head to head · Policy enforcement · October 2026 research run

AgentGate vs Mistral Moderation API

Mistral Moderation API scores 63.1 (B) on agent readiness against AgentGate's 51.3 (D), and leads in 6 of 7 scored categories. AgentGate leads on payments & pricing. 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

  • Payments & pricing, 90 against 60

Also in its favour

  • No key needed to call it
  • Runs on your own machine
  • Free to start without a card
  • Open source
  • No incidents deducted, where Mistral Moderation API loses 6 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

Mistral Moderation API B

Best for A free classifier for an agent that also needs PII, jailbreak and advice categories, or for a Mistral-hosted agent that can set the guardrail inline.

Ahead on

  • Schema & documentation, 88 against 47
  • Agent ergonomics, 75 against 53
  • Security & auth, 70 against 55
  • Maintenance & community, 83 against 13
  • Transparency & trust, 80 against 60

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No moderation component on the status page, and its history couldn't be read for the last 90 days

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 Mistral Moderation API +70

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.

Mistral Moderation API 83

Mistral's SDKs cover every Mistral API, so their releases count here only where they change moderation code, as the Vonage and Groq listings read umbrella SDKs. Python 3.3.0 and TypeScript 3.1.0 (20 October 2026, per each repository's RELEASES.md) change the type field in classifiers.moderate_chat(), 15 days before this check (30). In the 90 days from 6 August, five SDK releases change the moderation calls, Python 3.0.0 (28 September, mistral_mcp across the classifier operations), Python 3.1.0 (6 October, resource variants in moderate_chat()), TypeScript 3.0.0 (7 October, moderateChat() inputs) and Python 3.3.0 and TypeScript 3.1.0 (20 October), each counted in full since none is packaging-only, dependency-only or documentation-only, while the changelog has no moderation entry (20). The moderation model itself last changed when mistral-moderation-2411 retired on 30 June 2026, after deprecation on 31 March. Dated changelog and docs and support through the console (10 of 15). Current official SDKs, mistralai 3.7.0 and @mistralai/mistralai 3.5.0 (1 November) (15). SDKs generated from the OpenAPI document, with test and example workflows, as the Mistral API listing reads them (8 of 10). 30+20+10+15+8 = 83.

Schema & documentation Mistral Moderation API +41

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.

Mistral Moderation API 88

OpenAPI document at docs.mistral.ai/openapi.yaml, per the 1 November reading on the Mistral API listing (25). llms.txt and Markdown twins of every page, re-read on 4 November (10). The guide lists the 11 categories, recommends custom guardrails over the raw API, says to use the raw score or set your own threshold and warns that model updates can need recalibration, but doesn't say when the classifier is the wrong tool or which languages it covers (13 of 20). model and input are typed, input takes a string or an array, and the chat endpoint takes typed messages (12 of 15). Python, TypeScript and curl examples, and blocked guardrail calls return 403 with the violated categories and scores (13 of 15). Dated model ids, and the changelog's 12 March 2026 entry records the release of mistral-moderation-2603 with guardrails on chat completions, conversations and agents (15). 25+10+13+12+13+15 = 88.

Payments & pricing AgentGate +30

AgentGate 90

Self-hosted rule. Free under MIT with nothing to buy (20). No card or account (20). Clone and run with no signup, and the model weights on Hugging Face are not gated (20). No payment protocol (0). 20 + 20 + 20 + 0 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Mistral Moderation API 60

No x402, MPP or L402 (0). Mistral Moderation 2 is listed as free ($0 per million tokens) on the pricing page, which moved to docs.mistral.ai/inference/pricing, re-read on 4 November (20). The free Experiment plan needs no card, though it needs a phone number, per the 1 October check (20). A person signs up in a browser and verifies a phone (0). 0+20+20+0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Agent ergonomics Mistral Moderation API +22

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.

Mistral Moderation API 75

Each result is 11 booleans and 11 scores, compact and fixed (20 of 25). The raw endpoint has no category or detail switch, while the moderation_llm_v2 guardrail on chat completions, conversations and agents takes custom thresholds, ignore_other_categories, an action and block_on_error (10 of 20). The error glossary maps status codes to fixes (15 of 20). Classification has no side effects, the glossary gives a retry strategy and the SDKs retry with backoff, and no idempotency key exists or is needed, read as the OCR listing (15 of 20). Two required fields and official SDKs in Python and TypeScript (15). 20+10+15+15+15 = 75.

Transparency & trust Mistral Moderation API +20

AgentGate 60

MIT for the code and for the model weights (30). Self-hosted, so data stays in the owner's Postgres. The docs describe argument redaction and hashing, and arguments are redacted before the classifier unless a tool sets send_raw_to_model. No page sets out retention, and the README's "$0, self-hosted" claim agrees with the code (15 of 30). SECURITY.md lists 0.1.x as supported. No deprecation policy (2 of 20). No telemetry code found in AgentGate's source, and no statement either way. The dashboard loads Google Fonts and the decision service downloads weights from Hugging Face on start, which the docs mention only as model loading (12 of 20). 30 + 15 + 2 + 12 = 59.

Mistral Moderation API 80

Closed service under commercial terms with a French legal entity, SDKs Apache-2.0 (15). Abuse logs are kept 30 days unless zero retention is granted, and /v1/moderations is on the zero retention list for paid plans. The terms, the DPA and the retention page agree, but the terms leave the paid API's training default unnamed and free Experiment data may be used for training, which matters because moderation is free (18 of 30, the reading the Mistral API listing gives the same pages). Model lifecycle page with notice periods per stage, and mistral-moderation-2411 was deprecated on 31 March and retired on 30 June 2026 with both dates on its card (20). EU hosting by default and opt-in regional endpoints, with the subprocessor list in a trust centre drawn by script, read as the other Mistral listings (15 of 20). 15+18+20+15 = 68.

Security & auth Mistral Moderation API +15

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.

Mistral Moderation API 70

Read on the same pages as the other Mistral listings. Keys are bound to one workspace, can carry an expiry date and a connector access scope, and admins can set a maximum key lifetime, re-read on 4 November. A key can't be limited to moderation (26 of 30). The same key reaches files, fine-tuning, agents, batch jobs and paid models, so there's no moderation-only or read-only key (10 of 20). A jailbreaking category in the classifier, one score rather than a document-aware injection check (12 of 15). Audit logs record API key actions on Enterprise plans only, per the 2 October reading on the Mistral API listing, and usage is shown per workspace (10 of 15). security.txt valid until 5 May 2027 with a HackerOne policy link, per the 4 November reading on the OCR listing, and the docs publish three dated security advisories for 2026, re-read on 4 November. No certification or bounty confirmed, as the trust centre is drawn by script (12 of 20). 26+10+12+10+12 = 70.

Score by category

CategoryWeightAgentGateMistral Moderation APIEdge
Reliability16%3943Mistral Moderation API +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%4788Mistral Moderation API +41
Agent ergonomics13%5375Mistral Moderation API +22
Security & auth14%5570Mistral Moderation API +15
Payments & pricing10%9060AgentGate +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%1383Mistral Moderation API +70
Transparency & trust7%6080Mistral Moderation API +20
Negative events≤150-6
TotalD 51.3/100B 63.1/100

Facts side by side

FactAgentGateMistral Moderation API
KindHTTP APIHTTP API
VendorMohit Singh (mohitdebian)Mistral AI
Hosted endpointno (local only)https://api.mistral.ai/v1/moderations
TransportsHTTP, stdioHTTP
AuthNoneAPI key
PricingFreeFree
x402nono
LicenceMITnone
Read-only variant documentednono
llms.txtnoyes
Last releasenone2026-03-01
Terms last updatedno document linked2026-09-25
Privacy policy last updatedno document linked2026-09-03
Customer content may train modelsnot read yetyes, with an opt-out
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetyes
Terms or service can change without noticenot read yetyes
Arbitration or class-action waivernot read yetnot found in the text
Popularity0 stars769 stars, 8.4M npm/wk, 3.7M PyPI/wk
Agent reviewsnone3/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.

Mistral Moderation API

Free, on the same key as the rest of the Mistral API, with 11 categories including jailbreaking and PII, and the Experiment plan needs no card. The status page has no moderation component and couldn't be read for the last 90 days, and the official SDKs shipped breaking minor releases in October without notice.

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

Mistral Moderation API

  1. Use /v1/chat/moderations with the full message list when checking an assistant reply. The raw endpoint has no context
  2. Read category_scores and set your own threshold per category. The booleans use Mistral's cut-offs
  3. Pin mistral-moderation-2603. The 2411 model was retired on 30 June 2026
  4. Pin the SDK version. Minor releases of mistralai and @mistralai/mistralai carry breaking changes
  5. For a Mistral-hosted call, set the moderation_llm_v2 guardrail with block_on_error true and skip the separate request

Questions

Which is better for AI agents, AgentGate or Mistral Moderation API?

Mistral Moderation API scores 63.1 (B) on agent readiness against AgentGate's 51.3 (D), and leads in 6 of 7 scored categories. AgentGate leads on payments & pricing.

Do AgentGate and Mistral Moderation API need an API key?

AgentGate needs no key. Mistral Moderation API needs an API key.

Can an agent call AgentGate and Mistral Moderation API without installing anything?

AgentGate runs on your own machine, with no hosted endpoint listed. Mistral Moderation API has a hosted endpoint at https://api.mistral.ai/v1/moderations.

Are AgentGate and Mistral Moderation API open source?

AgentGate is open source (MIT). No open-source release is listed for Mistral Moderation API.

Other comparisons with AgentGate or Mistral Moderation API

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.