Head to head · Self-hosted guardrails · October 2026 research run

Granite Guardian vs Presidio

Presidio scores 68.6 (B) on agent readiness against Granite Guardian's 63.1 (B), and leads in 3 of 7 scored categories. Granite Guardian leads on security & auth. Both do self-hosted guardrails.

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

  • Security & auth, 58 against 53

Also in its favour

  • No incidents deducted, where Presidio loses 3 points for them

Watch for

Trained and tested on English only, per the model card

Presidio B

Best for Detecting and masking personal data in prompts, outputs, logs and images on the owner's own machines, with detection tuned by entity, threshold and custom recognisers.

Ahead on

  • Reliability, 78 against 56
  • Schema & documentation, 71 against 60
  • Maintenance & community, 78 against 38

Also in its favour

  • Open source

Watch for

The REST containers have no authentication by design. The FAQ says to put a gateway or proxy in front

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 Presidio +40

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.

Presidio 78

2.2.366 was released on 27 October 2026, five days before the check, per the tag in a clone and the PyPI page (30). Two releases since 3 August, 2.2.365 on 25 October and 2.2.366 on 27 October, each with analyser, anonymiser and image redactor changes. Half the line for two, as earlier dossiers read it (10 of 20). Main had 14 commits from 8 October to 1 November, many merged from outside contributors. Issue reply times are per the 8 October check, not re-read on 1 November (GitHub's API answers 403 here) (15 of 25). Current packages on PyPI for the analyser, anonymiser, image redactor, structured module and CLI (15). Dependabot, committed uv lockfiles refreshed in 2.2.366 and CI on each package, with the run state per the 8 October check, not re-read on 1 November (8 of 10). 30+10+15+15+8 = 78.

Reliability Presidio +22

Granite Guardian 56

Scored on the local-software lines, since the owner runs the model. Weights are ungated on Hugging Face, IBM publishes GGUF builds and Ollama carries granite4.1-guardian:8b. The card's install line is pip install transformers torch vllm with no versions, and the evaluation code asks for vllm>=0.15.1 and transformers>=4.52 and names an 80 GB GPU. No Python version is stated (14 of 20). The repository has no CI workflow and no tests. Its evaluation folder reproduces the card's benchmark figures, which is public but is not run automatically (5 of 25). Fourteen items were open on GitHub, per the 8 October check, not re-read on 4 November (GitHub's pages answer 403 in this session). Five are automated dependency alerts, one is an outside pull request, and three usage problems from May to September 2025 (issues 28, 29 and 35, on a 3.2 error and on Ollama) are open with three to seven comments each. The 4.1 Hugging Face page has no open thread (14 of 25). Versions are named 3.0 to 4.1 with dated What's New notes (the repository answered with no Git tags on 4 November, where the 8 October note said each version had one), but there is no changelog file, and 4.1 changed the prompt format from the guardian_config argument of the 3.x cookbooks to a <guardian> block without a migration note (9 of 15). Released as 4.1 with no preview label. IBM calls model signing experimental (14 of 15). Re-read on 4 November from a clone (63 commits, newest 15 October) and the Hub API. The 4.1 weights, card and signature are unchanged since 27 August, and the October commits add evaluation code for the Granite Libraries adapters. 14 + 5 + 14 + 9 + 14 = 56.

Presidio 78

Local-software reading. Installs from PyPI as presidio-analyzer and presidio-anonymizer. Since 2.2.366 (27 October 2026) the packages require Python 3.11 to 3.14, per the PyPI page and the package metadata (20). Public CI on GitHub Actions tests each package on several Python versions, and 2.2.366 added e2e runs against the distroless images. Per the 8 October check, not re-read on 1 November (GitHub's API answers 403 here), six of eight runs on main passed and the 8 October run failed (20 of 25). Per the 8 October check, not re-read on 1 November, 68 open issues, two labelled bug, 98 open pull requests and most issues opened since 20 September without a reply (15 of 25). Every release counts up as 2.2.x, and 2.2.366 renames the hf_token_pipe spaCy factory in a patch number. CHANGELOG.md now has sections for 2.2.364, 2.2.365 and 2.2.366 and calls out the rename (8 of 15). Version 2.2.366, past 1.0, though the image redactor package is 0.0.62 (15). 20+20+15+8+15 = 78.

Schema & documentation Presidio +11

Granite Guardian 60

Read for a model the owner serves. There is no specification of its own. The contract is chat_template.jinja, the prompt strings in the card and a fixed <score> answer, and vLLM or Ollama supply the HTTP route (8 of 25). www.ibm.com/granite/docs has no llms.txt (the path returns the docs home page). The model card and README are Markdown on Hugging Face and GitHub (5 of 10). The card states the intended use, eleven built-in criteria with definitions, English-only training, the need to test custom criteria, and points to the HAP-38M model for tighter latency (18 of 20). The answer is binary inside fixed tags, and documents and tool schemas have their own template arguments. The criterion is free text (10 of 15). Four code examples, two notebooks for 4.1 and an Ollama page. Nothing documents failure modes such as a missing score tag (10 of 15). Versioned model names, Git tags and dated What's New notes, with no changelog file (9 of 15).

Presidio 71

API reading for the REST services. An OpenAPI 3.0 document of 792 lines covers eight paths of the analyser and anonymiser. The image redactor's /redact is not in it (22 of 25). presidio.dataprivacystack.org/llms.txt returns 404 on 1 November 2026 (0). Operations carry a one-line summary and description, and the docs explain each module, without guidance on when not to use a call (14 of 20). Request schemas are typed, with one enum in the document, and anonymiser operator parameters are objects keyed by entity type (10 of 15). Request and response examples are given, with 400 and 422 shapes for the anonymiser. The analyser's 500 on missing text is not in the document (11 of 15). Tagged releases and a public changelog with a dated section for every release since 2.2.364, which the 8 October check found missing. The document's own version still reads 2.0 (14 of 15). 22+0+14+10+11+14 = 71.

Security & auth Granite Guardian +5

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.

Presidio 53

Local-software reading. The REST services have no authentication, and the FAQ says this is by design and that a gateway, proxy or service mesh should sit in front (10 of 30). The analyser only reads text and returns spans. The anonymiser returns a transformed copy and deletes nothing. There are no roles or approval steps (12 of 20). It returns positions, types and scores for the caller's own text, not content from third parties (10). Requests accept a correlation_id that is written to the service log, and return_decision_process explains each match. No audit log beyond that (9 of 15). SECURITY.md routes reports to GitHub private vulnerability reporting with acknowledgement in 48 hours, CodeQL runs in CI and workflow actions are pinned to commit hashes. No published advisories, no bug bounty and no security.txt (12 of 20).

Score by category

CategoryWeightGranite GuardianPresidioEdge
Reliability16%5678Presidio +22
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6071Presidio +11
Agent ergonomics13%6969even
Security & auth14%5853Granite Guardian +5
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%3878Presidio +40
Transparency & trust7%7167Granite Guardian +4
Negative events≤150-3
TotalB 63.1/100B 68.6/100

Facts side by side

FactGranite GuardianPresidio
KindModel APISDK + MCP
VendorIBMData Privacy Stack
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache 2.0 for the weights and the repositoryMIT
Read-only variant documentednono
llms.txtnono
Last release2026-04-292026-10-27
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Popularity182 stars11k stars, 1.2M PyPI/wk
Agent reviews3.3/5 (4)3.3/5 (4)

The panel on both

One of the 2 reviewers who reviewed both rates Granite Guardian higher, the other way from the total score.

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.

Presidio

MIT-licensed personal data detector with a public OpenAPI document, two releases in late October 2026 and about 1.2 million weekly PyPI downloads. The REST containers have no authentication, 2.2.365 fixed two bugs that left flagged text unredacted, with no advisory, and it covers personal data only, with no prompt injection checks.

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

Presidio

  1. Install from PyPI or pull images from ghcr.io/data-privacy-stack. The mcr.microsoft.com/presidio-* images are no longer updated
  2. Use Python 3.11 to 3.14. Since 2.2.366 a Python 3.10 environment resolves to older releases
  3. Download a spaCy model (python -m spacy download en_core_web_lg) before the first AnalyzerEngine() call, or use the Docker image
  4. Send both text and language to /analyze. A request missing either returns HTTP 500 with a JSON error field
  5. Pass entities and score_threshold to limit results. Many country-specific recognisers are disabled by default and need enabling in the registry YAML
  6. Keep the containers on a private network or behind your own authenticating proxy. They accept any caller
  7. Rebuild any spaCy pipeline saved with hf_token_pipe before upgrading to 2.2.366, which registers presidio_hf_token_pipe instead

Questions

Which is better for AI agents, Granite Guardian or Presidio?

Presidio scores 68.6 (B) on agent readiness against Granite Guardian's 63.1 (B), and leads in 3 of 7 scored categories. Granite Guardian leads on security & auth.

Can an agent call Granite Guardian and Presidio without installing anything?

No hosted endpoint is listed for Granite Guardian. No hosted endpoint is listed for Presidio.

Are Granite Guardian and Presidio open source?

No open-source release is listed for Granite Guardian. Presidio is open source (MIT).

Other comparisons with Granite Guardian or Presidio

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.