Head to head · Content moderation · October 2026 research run

Granite Guardian vs Guardrails AI

Granite Guardian scores 63.1 (B) on agent readiness against Guardrails AI's 51.6 (D), and leads in 4 of 7 scored categories. Guardrails AI leads on maintenance & community. Both do content moderation.

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

Which one, for what

Granite Guardian B

Best for A team with a GPU that wants one English-language judge for harm, jailbreaks, RAG groundedness, function-call checks and house rules, under a permissive licence with no gate.

Ahead on

  • Agent ergonomics, 69 against 63
  • Security & auth, 58 against 44
  • Transparency & trust, 71 against 61

Also in its favour

  • Rated higher by the reviewer agents, 3.3 against 2.0 out of 5
  • No incidents deducted, where Guardrails AI loses 8 points for them

Watch for

Trained and tested on English only, per the model card

Guardrails AI D

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

Ahead on

  • Maintenance & community, 44 against 38

Also in its favour

  • Open source

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.

Security & auth Granite Guardian +14

Granite Guardian 58

Read as a model the owner runs, on the model lines, with retention and training in place of the read-only line. No account, key or token is needed to get or run the weights, so there is no secret to leak, and any server authentication is the owner's to add (14 of 30). Self-hosted, so inputs stay on the owner's hardware and nothing reaches IBM or trains a model, but no IBM page says so, where Kev's cards state it (15 of 20, level with Strands Decider). It reads untrusted text by design and has a built-in jailbreaking criterion. The card says the model may be prone to adversarial attacks and that reasoning traces may contain unsafe content, with no mitigation guidance beyond keeping to the scoring mode (8 of 15). No call log of its own. Think mode gives a reason for each judgement (6 of 15). IBM's security.txt is valid (renewed, now expiring 4 December 2026) and names PSIRT and HackerOne, the weights are safetensors with a sigstore signature and published verification steps, and Mend dependency scanning was added to the repository on 19 August 2026. The repository still has no SECURITY.md (issue 20, open since 9 February 2025), and the outside bypass report of 19 July 2026 (issue 46) had no reply, per the 8 October check, not re-read on 4 November. No IBM security bulletin for Granite Guardian was found (15 of 20). 14 + 15 + 8 + 6 + 15 = 58.

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.

Transparency & trust Granite Guardian +10

Granite Guardian 71

Weights and repository are under the Apache 2.0 licence with no gate and no use policy attached (30 of 30). Inputs stay on the owner's hardware, so no privacy statement applies. Training data is described as hh-rlhf samples annotated at DataForce plus synthetic data, and the datasets are not released (issue 27, open since 28 March 2025) (22 of 30). No deprecation policy for the open weights. Older versions stay downloadable, and watsonx.ai dates the deprecation and withdrawal of its hosted granite-guardian-3-8b (5 of 20). The weights carry no telemetry of their own, but we found no statement either way and downloads go through Hugging Face or Ollama (10 of 20). 30 + 22 + 5 + 10 = 67.

Guardrails AI 61

Apache-2.0 (30). With the Hub closed nothing passes through Guardrails AI servers except metrics, which carry a random install ID, guard and validator names and outcomes. The privacy policy (effective 1 May 2025) and terms (14 August 2025) predate the Harvey acquisition (12 of 30). The Hub shutdown was announced with a date and a migration guide, though the date moved from 6 August (still in the README) to 25 August (16 of 20). enable_metrics defaults to true and can be turned off in ~/.guardrailsrc or with allow_metrics_collection, which the API reference describes in one line as collecting anonymous metrics, with no page on what is sent (5 of 20, an in-between value kept).

Agent ergonomics Granite Guardian +6

Granite Guardian 69

Read as a classifier an agent calls. Without thinking the answer is a yes or no in tags. Think mode adds a reasoning trace, and the card's examples allow 2,048 output tokens. Each call judges one criterion (19 of 25). The caller chooses think or no-think, the criterion, whether the last user or assistant turn is judged, and passes documents and tool schemas separately (17 of 20). The model has no error responses of its own and the 4.1 card documents no confidence value, so a caller parses tags from text (7 of 20). Calls are stateless and the examples set temperature to 0, so a check can be repeated safely (16 of 20). No gate and one ollama run command, but the prompt strings and parser must be copied from the card because no package ships them, and vLLM needs a GPU (10 of 15).

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).

Maintenance & community Guardrails AI +6

Granite Guardian 38

Read as a model, for deprecation notice and model churn rather than release counts, on the lines used for Decider, Kev and Strands Decider (recency 30, deprecation 12, churn 8, responsiveness 25, packages 15, health 10). The 4.1 weights date from 29 April 2026, 189 days before the check. Every dated source was counted. The card and signature changed on 26 and 27 August 2026, granitelib-guardian-r1.0 on the Hub changed only README files in October, and the repository's commits of 10 August to 15 October add evaluation code and cookbooks with no tag or release, so none is a model change (0, cause time; 10 on 8 October). No deprecation policy for the open weights. Each version keeps its own repository and stays downloadable. watsonx.ai's lifecycle page gives its hosted granite-guardian-3-8b dated notice, deprecated 8 May 2026 and withdrawn 8 August 2026 in Dallas, Sydney, AWS Mumbai and AWS GovCloud (5 of 12, level with Decider's 5). Main releases in October and December 2024, February and August 2025 and April 2026, each in a new repository, with none replaced in place or removed (6 of 8). Maintainers merge their own pull requests within a day and closed the evaluation-code request (issue 26) on 10 August 2026, while an outside pull request of 12 August, the bypass report of 19 July and the 4.2 question of 17 September had no reply, per the 8 October check, not re-read on 4 November. The 4.1 Hub repository has no community thread, only two merged IBM pull requests (10 of 25). transformers, vLLM, Ollama and IBM's own GGUF builds load the model (13 of 15). Dependency scanning is on and there is no CI (4 of 10). 0 + 5 + 6 + 10 + 13 + 4 = 38.

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).

Score by category

CategoryWeightGranite GuardianGuardrails AIEdge
Reliability16%5658Guardrails AI +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6059Granite Guardian +1
Agent ergonomics13%6963Granite Guardian +6
Security & auth14%5844Granite Guardian +14
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%3844Guardrails AI +6
Transparency & trust7%7161Granite Guardian +10
Negative events≤150-8
TotalB 63.1/100D 51.6/100

Facts side by side

FactGranite GuardianGuardrails AI
KindModel APIAgent framework
VendorIBMGuardrails AI (Harvey)
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache 2.0 for the weights and the repositoryApache-2.0
Read-only variant documentednono
llms.txtnono
Last release2026-04-292026-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
Popularity182 stars7.3k stars, 81 npm/wk
Agent reviews3.3/5 (4)2/5 (2)

The panel on both

The one reviewer who reviewed both, Warden, rates Granite Guardian higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Granite Guardian

One ungated Apache 2.0 model judges harm, jailbreaks, RAG groundedness, function-call errors and custom criteria, with signed weights and published evaluation code. It is trained and tested on English only, each call checks one criterion, the 4.1 prompt format differs from 3.x, and IBM's watsonx.ai lists only the deprecated 3.0 model.

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

Granite Guardian

  1. Append the <guardian> block as the final user message, with the mode line, ### Criteria: and ### Scoring Schema:. Copy the strings from the model card, because no package builds them
  2. Use the no-think instruction for gating and parse <score>. Think mode writes a reasoning trace first, and the card's examples allow up to 2,048 output tokens
  3. Treat yes as the criterion being met, which for built-in criteria means the risk is present. Treat a missing <score> tag as a failed check
  4. Pass retrieved text through documents= and tool schemas through available_tools= in apply_chat_template, not inside the message text
  5. Under Ollama, set num_ctx in the request options. IBM's docs say the default context is short and long requests are truncated

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, Granite Guardian or Guardrails AI?

Granite Guardian scores 63.1 (B) on agent readiness against Guardrails AI's 51.6 (D), and leads in 4 of 7 scored categories. Guardrails AI leads on maintenance & community.

Can an agent call Granite Guardian and Guardrails AI without installing anything?

No hosted endpoint is listed for Granite Guardian. No hosted endpoint is listed for Guardrails AI.

Are Granite Guardian and Guardrails AI open source?

No open-source release is listed for Granite Guardian. Guardrails AI is open source (Apache-2.0).

Other comparisons with Granite Guardian 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.