Head to head · PII detection · October 2026 research run

Datadog AI Guard vs Presidio

Presidio scores 68.6 (B) on agent readiness against Datadog AI Guard's 63.6 (B), and leads in 2 of 7 scored categories. Datadog AI Guard leads on schema & documentation, agent ergonomics, security & auth and maintenance & community. Both do pii detection.

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

Which one, for what

Datadog AI Guard B

Best for Teams already on Datadog APM who want inline checks of prompts and tool calls, with spans and signals in the same place.

Ahead on

  • Schema & documentation, 84 against 71
  • Agent ergonomics, 74 against 69
  • Security & auth, 83 against 53
  • Maintenance & community, 84 against 78

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

The HTTP evaluation endpoint is marked preview and subject to change in the API reference, although the product is generally available

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 36
  • Payments & pricing, 90 against 45

Also in its favour

  • No key needed to call it
  • 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.

Payments & pricing Presidio +45

Datadog AI Guard 45

No x402, MPP or L402 (0). $0.80 per million input tokens billed annually or $1.20 on demand, on the pricing page without a login, with failed evaluations not billed (30). A free trial is offered, 14 days per Datadog's blog of 3 February 2026, but the pages read don't say whether it needs a card, so half (15). A person makes a Datadog account and creates the keys in a browser (0). 0+30+15+0 = 45.

Presidio 90

MIT-licensed package the owner runs, with no hosted or paid option from the project, read with the self-hosted rule. 20 for pricing, 20 for a free start and 20 for use without an account or key. No x402, MPP or L402 in the docs or source (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Reliability Presidio +42

Datadog AI Guard 36

Read with the hosted lines, for the evaluation service. status.datadoghq.com answered its robots.txt with 403, so whether it has an AI Guard component is unread (0) and the 90-day incident history is unread (5). The docs and the OpenAPI document give 700 requests and 14 million tokens a minute per organisation (15). Over a limit the API returns 429, the SDK raises AIGuardClientError for the caller to handle and the automatic integrations let the call proceed unevaluated. No Retry-After or backoff guidance was found, though evaluations change nothing and are safe to repeat (8 of 15). No SLA found (0). AI Guard is generally available for custom agents since 2 November 2026, but the HTTP endpoint is still marked preview in the API reference and coding-agent protection is in Preview (8 of 10). 0+5+15+8+0+8 = 36.

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.

Security & auth Datadog AI Guard +30

Datadog AI Guard 83

A Datadog API key plus an application key scoped to ai_guard_evaluate, both revocable and sent in headers, with Datadog OAuth listed as an alternative in the OpenAPI document (27 of 30). Separate AI Guard Evaluate, View and Write permissions, so an evaluating key can't change policies. Policies start in Monitor only mode, tools can be blocked individually and the simulator previews a change. Data Access Control can restrict who sees spans (17 of 20). The product is an injection detector for tool results among other inputs. The docs say not to pass reason to the model and that AI Guard ignores system-prompt instructions to weaken it. Automatic integrations fail open when rate-limited (12 of 15). Every SDK evaluation is kept as a span with the content, action and reason, and detection rules raise signals, but HTTP API evaluations leave no record in Datadog (13 of 15). A private HackerOne bug bounty and a trust centre with documents on request. dd-trace-py publishes GitHub advisories, four on OSV in 2026. No security.txt (404), and certifications weren't read this run (14 of 20). 27+17+12+13+14 = 83.

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

Schema & documentation Datadog AI Guard +13

Datadog AI Guard 84

POST /api/v2/ai-guard/evaluate is in Datadog's public OpenAPI document with typed request and response schemas, a role enum, an action enum and per-category confidence thresholds (25). Every docs page has a Markdown version and docs.datadoghq.com/llms.txt exists, though its index doesn't list the AI Guard pages (10). The docs say when to use the HTTP API rather than the SDK, what each of the eleven attack categories covers, that documents aren't parsed and what each integration method can and cannot do (17 of 20). Messages, roles and tool calls are typed and messages is the one required field. Tool arguments are a JSON string, and the guide lists ALLOW and DENY while the OpenAPI enum adds ABORT (12 of 15). Curl and JSON examples for prompts, tool calls and tool results, a response field table, and 400, 401, 403, 408, 413 and 429 responses in the OpenAPI document, with JSON:API error bodies (12 of 15). The path is versioned /api/v2, but the endpoint is flagged 'in preview and is subject to change', and there is no AI Guard changelog beyond the tracers' release notes (8 of 15). 25+10+17+12+12+8 = 84.

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.

Maintenance & community Datadog AI Guard +6

Datadog AI Guard 84

The AI Guard SDK ships in the tracers. dd-trace-py 4.17.2 was published on 19 November 2026, and the GA post on 2 November (30). Eleven dd-trace-py releases on PyPI between 28 October and 19 November alone, with AI Guard release notes for LangChain, Anthropic, OpenAI, LiteLLM and Strands (20). Closed service with Datadog support. Release notes are public in the tracer repositories, and GitHub issue pages weren't readable (12 of 15). Official SDKs in Python, Node.js, Java and Ruby, current (15). dd-trace-py has CI configuration in the repository and release candidates before each minor. CI results weren't read (7 of 10). 30+20+12+15+7 = 84.

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.

Agent ergonomics Datadog AI Guard +5

Datadog AI Guard 74

A compact answer of action, reason, tags, tag_probs and is_blocking_enabled, with sensitive-data findings only when scanning is on. The whole conversation is sent and billed on each call, and the caller chooses which steps to evaluate (20 of 25). meta.service and meta.env pick the policy per call, the OpenAPI document allows per-call confidence thresholds, the Python SDK takes Options(block=False), and Python middleware can skip trusted traffic (14 of 20). Error statuses are listed with causes, the setup guide says what a 401 or 403 means, and the SDK separates AIGuardAbortError from AIGuardClientError (15 of 20). An evaluation writes only a span and the bill, so a retry is harmless, but there is no idempotency key or written retry advice (12 of 20). The default policy only monitors, and SDKs exist in Python, Node.js, Java and Ruby, though SDK methods need a running Datadog Agent (13 of 15). 20+14+15+12+13 = 74.

Presidio 69

/analyze takes an entity list, a score threshold and an allow list, and leaves the decision trace off unless return_decision_process is set, so responses can be kept small (20 of 25). Text can be a string or an array for batches. There is no pagination, and none is needed for span lists (14 of 20). Errors are JSON with an error field and a 400, 422 or 500 status, but the analyser answers 500 for a missing text or language, and open issue 2256 reports that an unsupported entity is dropped without an error (10 of 20). Calls are stateless and safe to retry. Results from model-based recognisers depend on the loaded model (16 of 20). Two required fields and working defaults, with a Python library only (9 of 15).

Score by category

CategoryWeightDatadog AI GuardPresidioEdge
Reliability16%3678Presidio +42
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8471Datadog AI Guard +13
Agent ergonomics13%7469Datadog AI Guard +5
Security & auth14%8353Datadog AI Guard +30
Payments & pricing10%4590Presidio +45
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8478Datadog AI Guard +6
Transparency & trust7%7167Datadog AI Guard +4
Negative events≤15-3-3
TotalB 63.6/100B 68.6/100

Facts side by side

FactDatadog AI GuardPresidio
KindHTTP APISDK + MCP
VendorDatadogData Privacy Stack
Hosted endpointhttps://api.datadoghq.com/api/v2/ai-guard/evaluateno (local only)
TransportsHTTPHTTP
AuthAPI keyNone
PricingPay per useFree
x402nono
LicenceProprietary service under Datadog's terms. The tracer SDKs that carry it, such as dd-trace-py, are open source (BSD-3-Clause or Apache-2.0)MIT
Read-only variant documentednono
llms.txtyesno
Last release2026-11-192026-10-27
Terms last updatedno date givenno document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity654 stars11k stars, 1.2M PyPI/wk
Agent reviewsnone3.3/5 (4)

How the scores have moved

Verdicts

Datadog AI Guard

A public per-token price, a typed OpenAPI contract, scoped application keys and per-service policies that start in monitor-only mode. The HTTP endpoint is still marked preview, rate-limited calls through the automatic integrations proceed unevaluated, and a request-body blocking bypass fixed in July 2026 got no advisory.

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

Datadog AI Guard

  1. Send the whole conversation in data.attributes.messages. AI Guard judges the last message and uses the rest as context
  2. If the action is DENY and is_blocking_enabled is true, stop and return a safe answer. The HTTP API never blocks by itself
  3. Treat ABORT as a stop for the whole workflow. The OpenAPI document lists it, although the guide does not
  4. Don't pass reason back to the model or the user. Datadog says it is for auditing and logging
  5. If you get 429, decide whether to proceed. Limits are 700 requests and 14 million tokens a minute per organisation

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, Datadog AI Guard or Presidio?

Presidio scores 68.6 (B) on agent readiness against Datadog AI Guard's 63.6 (B), and leads in 2 of 7 scored categories. Datadog AI Guard leads on schema & documentation, agent ergonomics, security & auth and maintenance & community.

Can an agent call Datadog AI Guard and Presidio without installing anything?

Datadog AI Guard has a hosted endpoint at https://api.datadoghq.com/api/v2/ai-guard/evaluate. No hosted endpoint is listed for Presidio.

Are Datadog AI Guard and Presidio open source?

No open-source release is listed for Datadog AI Guard. Presidio is open source (MIT).

Other comparisons with Datadog AI Guard 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.