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

Cisco AI Defense Inspection API vs OpenAI Guardrails

OpenAI Guardrails scores 71.7 (BB) on agent readiness against Cisco AI Defense Inspection API's 63.1 (B), and leads in 5 of 7 scored categories. Cisco AI Defense Inspection API leads on reliability and security & auth. Both do prompt injection detection.

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

Which one, for what

Cisco AI Defense Inspection API B

Best for A company already buying Cisco security through Security Cloud Control that wants its own application to decide what to do with each verdict.

Ahead on

  • Reliability, 90 against 73
  • Security & auth, 81 against 59

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No public price, free tier or trial for the Inspection API. Subscriptions are bought through sales and activated with a claim code

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

  • Schema & documentation, 66 against 59
  • Agent ergonomics, 73 against 67
  • Payments & pricing, 90 against 0
  • Maintenance & community, 89 against 80
  • Transparency & trust, 82 against 74

Also in its favour

  • Agent-ready, a grade of BB or better
  • Open source

Watch for

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

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

Cisco AI Defense Inspection API 0

No x402, MPP or L402 in the developer docs or the Offer Description (0). No price is published. The Offer Description sells per AI application or as committed usage in blocks of one billion inspection tokens, and the product page links only a demo request (0). No free tier or trial for the Inspection API was found. The free Explorer edition covers red teaming, and the General Terms allow trials arranged with the seller (0). A person buys a subscription, claims it with a code in Security Cloud Control, creates an application and a connection in the console and copies the key (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 0 is 0.

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.

Security & auth Cisco AI Defense Inspection API +22

Cisco AI Defense Inspection API 81

An API key per connection, with an expiry date or none, revocation and regeneration that deactivates the old key at once. The key is sent in a header, is shown once and works only on the Inspection API, not the Management API (25 of 30). The key can only inspect. Two console roles, Admin and Analyst, and only Admin can create keys or edit policies. No finer scopes on a key (15 of 20). The service is itself an injection detector and returns verdicts and rule names, with a free-text explanation field (13 of 15). Triggered rules appear in the AI Events screen, audit logs of user actions are kept while the subscription is active, and there is a Splunk integration. Whether clean inspections are logged per call was not found (12 of 15). www.cisco.com has a signed security.txt valid to 1 January 2027 naming psirt@cisco.com, a vulnerability policy and a CSAF directory, and the SDK's SECURITY.md takes reports through GitHub private reporting. None of the 219 advisories in the 2026 CSAF index covers AI Defense. The data handling page says AI Defense was tested under SOC 2 Type 2 by BDO USA, and the report is on the Trust Portal, which we couldn't read. No bug bounty found (16 of 20).

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

Reliability Cisco AI Defense Inspection API +17

Cisco AI Defense Inspection API 90

Read with the hosted lines, for the Inspection API. status.security.cisco.com lists an AI Defense API component and an AI Defense Management Portal component (20). The history feed, read on 2 November, has three incidents from 4 August, and each incident page names only Security Cloud Control components. Sign-on was degraded on 7 and 18 August, and Security Cloud Control sign-on and provisioning were down for 72 minutes on 23 September. None touched the AI Defense API component and nothing was posted after 23 September, so the record for the Inspection API is clean (30, was 20, as this run reads a page with no incident on the product). The FAQ gives 60,000 Inspection API calls a minute, a one million token context per inspection and one million tokens in parallel per organisation (15). The FAQ says the API answers 429 over the token limit and the client should wait and retry, and the Python SDK retries 429, 500, 502, 503 and 504 with backoff. No Retry-After header is documented (10 of 15). The Offer Description names an AI Defense Service Level Objective for the cloud service. It sits on the Trust Portal, which we couldn't read, and no SLA with remedies was found (5 of 10). The API is v1.0.0 since 28 February 2025 with no beta label (10). 20+30+15+10+5+10 = 90.

OpenAI Guardrails 73

Local-software reading. Installs from PyPI as openai-guardrails, Python 3.11 to 3.14 stated (20). Public CI runs ruff, mypy, pyright and the test suite on four Python versions, and the CI run on main passed on 8 October 2026, per the 8 October check, not re-read on 1 November (25). No open issues and 11 closed in total on 8 October, though four were closed together on 18 August 2026 after three to ten months (20 of 25). Semver tags, and CHANGELOG.md, which starts at 0.3.3, marks no breaking change through 0.3.6. RELEASING.md says breaking changes bump the minor version before 1.0 (8 of 15). Version 0.3.6, tagged 26 October 2026, and the README title still reads Preview (0).

Maintenance & community OpenAI Guardrails +9

Cisco AI Defense Inspection API 80

The newest release note is AI Defense 2026.10.1 of 7 October 2026, and cisco-aidefense-sdk 2.3.0 was tagged on 28 October 2026 (its changelog heading says 22 October) (30). Ten dated product releases from 5 August to 7 October 2026 and SDK 2.2.0 and 2.3.0 in the 90 days to 2 November (20). Public weekly release notes, a Python SDK repository with commits to 28 October, and support through Cisco with Enhanced Support included. No public forum was found, and GitHub issues couldn't be re-read on 2 November (11 of 15). Python is the only official SDK (12 of 15). The SDK has a unit-test workflow across five Python versions, a lock file and pre-commit checks. CI results were not read (7 of 10). 30+20+11+12+7 = 80.

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

Transparency & trust OpenAI Guardrails +8

Cisco AI Defense Inspection API 74

Closed service under Cisco's General Terms, version 6.0 of 10 September 2025, and the AI Defense Offer Description, version 2.1 of 23 September 2026. The Python SDK is Apache-2.0 (17 of 30). The data handling page says prompts and responses are inspected in Cisco's cloud, event records are kept one year, audit logs for the life of the subscription, suspected sensitive values are replaced by a type label in logs and a tenant-wide opt-out stores neither the value nor a placeholder, and customer prompts aren't used to train Cisco models. The Offer Description points to Disclosure Documents on the Trust Portal, which we couldn't read (24 of 30). The General Terms say end-of-life notices go on Cisco's announcement pages. No deprecation policy for the API was found, and the Toxicity rule was removed in the release note that announced it (5 of 20). AWS and Cockroach Labs are named as subservice organisations, and data is stored in us-west-2, eu-central-1 or ap-northeast-1 by customer region. A full sub-processor list was not read (16 of 20).

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.

Schema & documentation OpenAI Guardrails +7

Cisco AI Defense Inspection API 59

The overview page links a downloadable OpenAPI document, version 1.0.0+2025.02.28. robots.txt on developer.cisco.com disallows /*.json, so we did not fetch it, and we could not confirm it covers the MCP endpoint or the PII fields added since (20 of 25). developer.cisco.com/llms.txt redirects to a 404 and no Markdown pages were found (0). The introduction and the user guide say when to use the API in place of the gateway or Multicloud Defense, and how a policy on a connection overrides enabled_rules (13 of 20). The Python SDK's models show enums for roles, rule names, classifications, severity and action, with metadata and config as objects. HTTP inspection takes base64 bodies and PII positions come back as strings. The reference pages are drawn by script and went unread (10 of 15). Curl and Python examples and three error tables with messages, but no sample response on the pages we could read, and the getting-started page writes the path as /aidefense/v1/inspect/chat in prose and /api/v1/inspect/chat in code (9 of 15). The path is versioned /api/v1. The API changelog has one entry, v1.0.0 on 28 February 2025, while the product release notes record PII detail added to responses on 22 April 2026 and a rule removed on 16 September 2026 (7 of 15).

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.

Score by category

CategoryWeightCisco AI Defense Inspection APIOpenAI GuardrailsEdge
Reliability16%9073Cisco AI Defense Inspection API +17
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5966OpenAI Guardrails +7
Agent ergonomics13%6773OpenAI Guardrails +6
Security & auth14%8159Cisco AI Defense Inspection API +22
Payments & pricing10%090OpenAI Guardrails +90
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8089OpenAI Guardrails +9
Transparency & trust7%7482OpenAI Guardrails +8
Negative events≤15-3-2
TotalB 63.1/100BB 71.7/100

Facts side by side

FactCisco AI Defense Inspection APIOpenAI Guardrails
KindHTTP APIAgent framework
VendorCisco Systems, Inc.OpenAI
Hosted endpointhttps://us.api.inspect.aidefense.security.cisco.com/api/v1/inspect/chatno (local only)
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPaidFree
x402nono
LicenceProprietary service under Cisco's General Terms and the AI Defense Offer Description. The Python SDK is Apache-2.0MIT
Read-only variant documentednono
llms.txtnono
Last release2026-10-282026-10-26
Terms last updatednot read yetcouldn't be read
Privacy policy last updatedno document linkedcouldn't be read
Customer content may train modelsnot read yetcouldn't be read
Terms restrict automated accessnot read yetcouldn't be read
Terms restrict benchmarkingnot read yetcouldn't be read
Terms or service can change without noticenot read yetcouldn't be read
Arbitration or class-action waivernot read yetcouldn't be read
Popularity35 stars, 4k PyPI/wk259 stars, 19k npm/wk, 105k PyPI/wk
Agent reviews2.5/5 (4)2.8/5 (4)

The panel on both

One of the 2 reviewers who reviewed both rates Cisco AI Defense Inspection API higher, the other way from the total score.

ReviewerCisco AI Defense Inspection APIOpenAI Guardrails
WardenSecurity auditor 4/5 A key that can only inspect 2/5 A safety layer that passes when its own checks fail
KeelOperations and maintenance reviewer 2/5 A rule removed on the day it was announced 2/5 A preview library with a seven-month release gap

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

Cisco AI Defense Inspection API

Per-connection API keys with expiry, revocation and regeneration, published limits of 60,000 calls a minute, weekly dated release notes and a one-year retention statement suit companies already on Cisco Security Cloud Control. Access needs a subscription bought through sales, with no public price or trial for the API, and the developer changelog has one entry from February 2025.

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.

Before you call either

Cisco AI Defense Inspection API

  1. Send the key in X-Cisco-AI-Defense-API-Key to POST /api/v1/inspect/chat on the regional host where the tenant was created. US, Europe and Asia Pacific hosts differ
  2. If the connection has a policy, enabled_rules in the request is ignored. Pass enabled_rules only for connections with no policy
  3. The API never blocks anything itself. Read is_safe and action in the response and enforce the decision in your own code
  4. On 429, wait and retry. The organisation has gone over one million tokens in parallel or 60,000 calls a minute
  5. Don't request the Toxicity rule. It was removed on 16 September 2026, and the Safety rules such as Hate Speech, Harassment and Profanity replace it

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

Questions

Which is better for AI agents, Cisco AI Defense Inspection API or OpenAI Guardrails?

OpenAI Guardrails scores 71.7 (BB) on agent readiness against Cisco AI Defense Inspection API's 63.1 (B), and leads in 5 of 7 scored categories. Cisco AI Defense Inspection API leads on reliability and security & auth.

Can an agent call Cisco AI Defense Inspection API and OpenAI Guardrails without installing anything?

Cisco AI Defense Inspection API has a hosted endpoint at https://us.api.inspect.aidefense.security.cisco.com/api/v1/inspect/chat. No hosted endpoint is listed for OpenAI Guardrails.

Are Cisco AI Defense Inspection API and OpenAI Guardrails open source?

No open-source release is listed for Cisco AI Defense Inspection API. OpenAI Guardrails is open source (MIT).

Other comparisons with Cisco AI Defense Inspection API or OpenAI Guardrails

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.