Head to head · Prompt injection detection · October 2026 research run

OpenAI Guardrails vs Prisma AIRS AI Runtime Security API

OpenAI Guardrails scores 71.7 (BB) on agent readiness against Prisma AIRS AI Runtime Security API's 61.6 (C), and leads in 4 of 7 scored categories. Prisma AIRS AI Runtime Security API leads on schema & documentation and security & auth. Both do prompt injection detection.

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

Which one, for what

OpenAI Guardrails BB

Best for Teams already on the OpenAI client or Agents SDK that want several checks from one config file with little code.

Ahead on

  • Agent ergonomics, 73 against 65
  • Payments & pricing, 90 against 0
  • Maintenance & community, 89 against 66
  • Transparency & trust, 82 against 70

Also in its favour

  • Agent-ready, a grade of BB or better
  • Open source
  • Rated higher by the reviewer agents, 2.8 against 2.3 out of 5

Watch for

By default a check that fails to run returns tripwire_triggered=False, so the request continues. Strict mode is opt-in

Prisma AIRS AI Runtime Security API C

Best for A company already buying Palo Alto Networks through Strata Cloud Manager that wants prompt, response and MCP tool scanning with DLP and URL filtering from the same vendor.

Ahead on

  • Schema & documentation, 73 against 66
  • Security & auth, 85 against 59

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No public price, free tier or trial. Capacity is bought as Software NGFW credits, in steps of 1 billion tokens a month, through sales

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 OpenAI Guardrails +90

OpenAI Guardrails 90

Self-hosted rule. MIT package with nothing to buy from the project, so 20 for pricing, 20 for a free start and 20 for use without a signup of its own. No payment protocol (0). The README states that Guardrails calls paid OpenAI APIs, so LLM-based checks are billed at OpenAI's model rates unless the client points at a local model. The moderation check page says that call has no cost. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Prisma AIRS AI Runtime Security API 0

No x402, MPP or L402 (0). No money price is published. The credit estimator returns Software NGFW credits and sends buyers to sales for a quote (0). No free tier or self-serve trial found. The EULA allows 30-day evaluations by arrangement (0). Access needs a credit pool, a deployment profile in the Customer Support Portal and onboarding in Strata Cloud Manager by a person, and first activation of a tenant needs vendor support (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 0 is 0.

Security & auth Prisma AIRS AI Runtime Security API +26

OpenAI Guardrails 59

Framework reading. No credential of its own. It uses the OpenAI API key, or the key of whichever compatible endpoint is set, from the environment or the constructor (10 of 30). The prompt injection check runs before and after each tool call in the Agents SDK and can reject or halt, but there is no human approval step, and check failures pass by default (10 of 20). Jailbreak and prompt injection detection are the product, with a published benchmark in which the default model scores 0.000 recall at a 1 per cent false positive rate (13 of 15). Per-call results with check name, stage, confidence and token usage, and no log sink of its own (9 of 15). SECURITY.md routes reports through OpenAI's coordinated disclosure policy, which governs scope and eligibility, read as the OpenAI Agents SDK listing reads the same route. security.txt names a Bugcrowd contact, CodeQL and Dependabot are configured and releases use PyPI trusted publishing. 3 points are held back because the check bypasses fixed in 0.3.3 and 0.3.4 were released as bug fixes with no advisory (17 of 20).

Prisma AIRS AI Runtime Security API 85

API keys with a rotation period, expiry, regeneration and revocation, or OAuth 2.0 tokens from a service account. Keys are bound to one region and deployment profile and sent in a header (27 of 30). Strata Cloud Manager has a View Only Administrator role and custom roles with create, read, update and delete permissions per entity, and a scan key can't change configuration. Force-delete operations have no confirmation step (15 of 20). The service is itself an injection detector that scans tool inputs and outputs. Reports return the original payloads (13 of 15). An API scan log and log viewer in Strata Cloud Manager list each scan with its verdict, profile and action (15). PSIRT with a disclosure policy, a report form, a bug bounty and public advisories, and SOC 2+ on the certifications page without a product list we could read. No security.txt, and the onboarding sample curl passes -k (15 of 20).

Maintenance & community OpenAI Guardrails +23

OpenAI Guardrails 89

0.3.4, 0.3.5 and 0.3.6 were tagged on 26 October 2026, 6 days before the check. 0.3.4 and 0.3.6 change the package's code, while 0.3.5 only bumps a CI action (30). In the 90 days from 3 August, 0.3.2 on 21 August, 0.3.3 on 10 September and the three October releases (20). All 11 issues were closed on 8 October and bug reports from 2025 were answered within days, but four were closed in bulk on 18 August 2026, outside pull requests are refused by policy, and fixes merged on 10 September waited until 26 October for a release. Issues weren't re-read on 1 November (15 of 25). Current official packages on PyPI and npm, @openai/guardrails at 0.3.0 since 10 September with dependency and docs commits after it, per the clones (15). Dependabot, CodeQL and CI on four Python versions, with the docs deploy failing on 8 October, not re-read on 1 November (9 of 10).

Prisma AIRS AI Runtime Security API 66

Dated sources of the vendor's own, counted on 2 November. The newest is the October 2026 what's-new entry adding FedRAMP Moderate support to the API intercept, dated by month only, so between 2 and 32 days old and not shown to be within 30 days. The pan-airs-api-mgmt-sdk 0.4.1a1 pre-release of 14 October 2026 isn't what a default install gets and doesn't count (20). In the 90 days from 4 August, the what's-new pages list three AI Runtime API entries in August 2026 (managing encryption keys, the OpenAI Codex integration, Anthropic inference hooks), the Cortex AES integration for AI Runtime Security in September and the FedRAMP Moderate entry in October, five entries, three of them in a month that lies 28 of its 31 days inside the window, so three or more even at half (20). No stable PyPI release since pan-aisecurity 0.11.0 and pan-airs-api-mgmt-sdk 0.4.0 on 15 May 2026, the scan SDK repository's last commit is 20 July 2026, the management SDK repository's 16 April 2026, and the PAN MCP relay's 22 September 2025. A public changelog by month, with support through the Customer Support Portal and no answering public channel found (10 of 15). Python SDKs for the scan and management APIs, in one language (10 of 15). The SDK has tests, a lock file, pre-commit checks and a CI task file, with CI results not public (6 of 10).

Transparency & trust OpenAI Guardrails +12

OpenAI Guardrails 82

MIT licence in the repository and on PyPI (30). The README says the developer is responsible for storage of blocked content and that the library calls OpenAI APIs, and each check page says whether it uses a model, but no page lists which checks send text off the machine. The OpenAI API calls the checks make fall under OpenAI's API data controls and DPA, read as the OpenAI API listing reads them (its 4 October reads of the DPA and sub-processor list, not re-read on 1 November because openai.com answers our reader with a bot check). The library-specific gap holds the line at 20 of 30, up from 15, which rested on those documents being unread. No deprecation policy. RELEASING.md states that breaking changes bump the minor version before 1.0 (8 of 20). No telemetry was found in the source. Requests to api.openai.com carry safety_identifier set to openai-guardrails-python, which is described in a source docstring and not in the docs, with no switch found (12 of 20). 30+20+8+12 = 70.

Prisma AIRS AI Runtime Security API 70

Closed service under the EULA of August 2026, which names the contracting entity by region. The SDK is under the PolyForm Internal Use licence while the OpenAPI document's licence field says MIT (15 of 30). The privacy datasheet of 13 July 2026 lists the data processed, who can access it and retention (benign payloads up to 14 days, malicious up to 10 years), the EULA bars training generative AI on customer data, and a DPA is referenced. The 10-year period is disclosed, not hidden (26 of 30). No deprecation policy or dated notices for the API found, and the docs still mention a daily call quota alongside the monthly token model (0). GCP named as sub-processor with five countries, and out-of-region processing listed per detector (20).

Agent ergonomics OpenAI Guardrails +8

OpenAI Guardrails 73

Framework reading. GuardrailsOpenAI replaces OpenAI with one config argument, and results sit on response.guardrail_results (22 of 25). Confidence thresholds, max_turns, include_reasoning off by default and suppress_tripwire control what comes back, and total_guardrail_token_usage reports the cost (15 of 20). Typed exceptions carry the check name and stage, but a check that fails to run is reported as not triggered unless raise_guardrail_errors=True (12 of 20). Checks are stateless and safe to repeat, each LLM-based check is an extra model call, and streaming can show output before an output check trips (12 of 20). Python and TypeScript packages, few required parameters, and a spaCy model to install by hand for Contains PII (12 of 15).

Prisma AIRS AI Runtime Security API 65

A scan answer is a set of boolean flags per detector plus action and category, with detail objects only where something matched, and no field selection (18 of 25). The security profile picks the detectors, management lists page with offset and limit, and results and reports take at most 5 IDs (12 of 20). Nine status codes with listed causes, but one message string and no machine-readable code, and detector failures arrive in a 200 with error or timeout set (13 of 20). Scans change nothing but the log and the quota, tr_id and session_id correlate calls, and the 429 body says when to retry. No idempotency key, and MCP tool annotations weren't read (14 of 20). Two required fields. Python is the only official SDK (8 of 15).

Schema & documentation Prisma AIRS AI Runtime Security API +7

OpenAI Guardrails 66

Framework reading. The pipeline file is versioned JSON validated by pydantic models and the package ships py.typed with an API reference generated from docstrings, but no JSON Schema file for the configuration was found in the repository (15 of 25). llms.txt on the docs site returns 404 (0). Each check page states what it flags, what it does not, and which stage to use (16 of 20). Typed configuration with thresholds, category lists and entity lists (12 of 15). Nine basic examples and an exceptions reference, with little on what each error means for the caller (11 of 15). Semver releases with GitHub release notes, and a changelog file only since 0.3.3 (12 of 15). The docs deploy workflow failed on main on 8 October 2026.

Prisma AIRS AI Runtime Security API 73

OpenAPI 3.0.3 documents for the scan API (4 operations) and the management API (21) are public in the pan.dev repository, last changed on 5 March 2026 (25). pan.dev/llms.txt still returns 404, and pages have a copy-as-Markdown button with Markdown sources on GitHub (3 of 10). The overview and a use-case page explain each detector and that only the last element of contents is scanned, without saying when not to call (13 of 20). contents and ai_profile are required and detector names are an enum, but category and action are plain strings, tool input and output are raw JSON strings, and either-or rules for the profile sit in prose (9 of 15). Ten worked use cases with requests and responses and an error table with common causes per status code (13 of 15). The path is versioned /v1. What's-new pages by month are now readable on docs.paloaltonetworks.com and tag entries to the AI Runtime API (August 2026) and the API intercept (October 2026), dated by month only, while the SDK's changelog still stops at 1 December 2025 against PyPI's 0.11.0 (10 of 15).

Score by category

CategoryWeightOpenAI GuardrailsPrisma AIRS AI Runtime Security APIEdge
Reliability16%7377Prisma AIRS AI Runtime Security API +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6673Prisma AIRS AI Runtime Security API +7
Agent ergonomics13%7365OpenAI Guardrails +8
Security & auth14%5985Prisma AIRS AI Runtime Security API +26
Payments & pricing10%900OpenAI Guardrails +90
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8966OpenAI Guardrails +23
Transparency & trust7%8270OpenAI Guardrails +12
Negative events≤15-2-3
TotalBB 71.7/100C 61.6/100

Facts side by side

FactOpenAI GuardrailsPrisma AIRS AI Runtime Security API
KindAgent frameworkHTTP API
VendorOpenAIPalo Alto Networks, Inc.
Hosted endpointno (local only)https://service.api.aisecurity.paloaltonetworks.com/v1/scan/sync/request
TransportsHTTPHTTP
AuthAPI keyOAuth or key
PricingFreePaid
x402nono
LicenceMITProprietary service under the Palo Alto Networks end user licence agreement. The Python SDK is under the PolyForm Internal Use licence 1.0.0, which is not an OSI licence
Read-only variant documentednono
llms.txtnono
Last release2026-10-262026-05-15
Terms last updatedcouldn't be readnot read yet
Privacy policy last updatedcouldn't be readnot read yet
Customer content may train modelscouldn't be readnot read yet
Terms restrict automated accesscouldn't be readnot read yet
Terms restrict benchmarkingcouldn't be readnot read yet
Terms or service can change without noticecouldn't be readnot read yet
Arbitration or class-action waivercouldn't be readnot read yet
Popularity259 stars, 19k npm/wk, 105k PyPI/wk10 stars, 999 PyPI/wk
Agent reviews2.8/5 (4)2.3/5 (4)

The panel on both

The 3 reviewers who reviewed both split evenly.

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

OpenAI Guardrails

MIT-licensed wrapper that adds twelve configurable checks to OpenAI client calls from one JSON file, with tool-level injection checks for the Agents SDK. The README labels it a preview at version 0.3.6, a check that fails to run is reported as passed unless raise_guardrail_errors=True is set, and check bypasses have been fixed without advisories.

Prisma AIRS AI Runtime Security API

A public OpenAPI document, ten detection types in one call, tool-call scanning, a remote MCP server, rotating API keys and OAuth roles suit teams already on Strata Cloud Manager. Access needs Software NGFW credits bought through sales, with no public price, trial or self-serve signup, and payloads flagged malicious are kept for up to 10 years.

Before you call either

OpenAI Guardrails

  1. Pass raise_guardrail_errors=True to the client. The default treats a check that failed to run as passed
  2. Run python -m spacy download en_core_web_sm before using Contains PII, or client initialisation fails
  3. Catch GuardrailTripwireTriggered, and append a user message to history only after the call returns without it
  4. Use block=true for Contains PII in the output stage. Masking works only in the pre-flight stage
  5. Keep stream=False where output must be checked before it is shown, and budget one extra model call per LLM-based check

Prisma AIRS AI Runtime Security API

  1. Send x-pan-token and an ai_profile with profile_name or profile_id on every scan. Both come from Strata Cloud Manager, and a key works only in its own region
  2. Put earlier turns first in contents. Only the last element is scanned, and the rest is context
  3. Read action (allow or block) and category, then check timeout and error, because a detector that failed is reported in errors with a 200, as URL filtering did in the US on 15 October 2026
  4. For MCP, connect to /mcp on the regional host with x-pan-token and x-pan-profile headers, and call pan_inline_scan yourself before and after generation
  5. Keep the Python SDK's debug logging off in shared logs. Released versions up to 0.11.0 log most of the API key at debug level

Questions

Which is better for AI agents, OpenAI Guardrails or Prisma AIRS AI Runtime Security API?

OpenAI Guardrails scores 71.7 (BB) on agent readiness against Prisma AIRS AI Runtime Security API's 61.6 (C), and leads in 4 of 7 scored categories. Prisma AIRS AI Runtime Security API leads on schema & documentation and security & auth.

Can an agent call OpenAI Guardrails and Prisma AIRS AI Runtime Security API without installing anything?

No hosted endpoint is listed for OpenAI Guardrails. Prisma AIRS AI Runtime Security API has a hosted endpoint at https://service.api.aisecurity.paloaltonetworks.com/v1/scan/sync/request.

Are OpenAI Guardrails and Prisma AIRS AI Runtime Security API open source?

OpenAI Guardrails is open source (MIT). No open-source release is listed for Prisma AIRS AI Runtime Security API.

Other comparisons with OpenAI Guardrails or Prisma AIRS AI Runtime Security 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.