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

Cisco AI Defense Inspection API vs Guardrails AI

Cisco AI Defense Inspection API scores 63.1 (B) on agent readiness against Guardrails AI's 51.6 (D), and leads in 5 of 7 scored categories. Guardrails AI leads on payments & pricing. 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 58
  • Security & auth, 81 against 44
  • Maintenance & community, 80 against 44
  • Transparency & trust, 74 against 61

Also in its favour

  • A hosted endpoint, with nothing to install
  • Rated higher by the reviewer agents, 2.5 against 2.0 out of 5

Watch for

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

Guardrails AI D

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

Ahead on

  • Payments & pricing, 90 against 0

Also in its favour

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

Payments & pricing Guardrails AI +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.

Guardrails AI 90

Apache-2.0 package you run yourself. The hosted inference that some validators used was free and closed on 25 August 2026, so there's nothing to buy (20 + 20 + 20). No payment protocol (0). 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 +37

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

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.

Maintenance & community Cisco AI Defense Inspection API +36

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.

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

Reliability Cisco AI Defense Inspection API +32

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.

Guardrails AI 58

Local framework reading. Installs from PyPI as guardrails-ai, Python 3.10 to 3.13 stated (requires-python >=3.10,<3.14) (20). Public CI runs pytest on Python 3.10 to 3.13, but its result on the default branch can't be read (15 of 25). 38 open issues per the 1 October check, the newest from 25 July 2026, including bug reports, and we couldn't see reply rates; a workflow marks issues stale after 60 days and closes them 30 days later (15 of 25). GitHub releases mark breaking changes (0.8.0, 0.8.1, 0.9.0), but 0.11.0 (tagged 14 August 2026) has no release notes we could find (8 of 15). Version 0.11.0, and the open 1.0.0 issues plan to delete reask, on_fail, RAIL and structured decoding (0).

Transparency & trust Cisco AI Defense Inspection API +13

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

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

Score by category

CategoryWeightCisco AI Defense Inspection APIGuardrails AIEdge
Reliability16%9058Cisco AI Defense Inspection API +32
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5959even
Agent ergonomics13%6763Cisco AI Defense Inspection API +4
Security & auth14%8144Cisco AI Defense Inspection API +37
Payments & pricing10%090Guardrails AI +90
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8044Cisco AI Defense Inspection API +36
Transparency & trust7%7461Cisco AI Defense Inspection API +13
Negative events≤15-3-8
TotalB 63.1/100D 51.6/100

Facts side by side

FactCisco AI Defense Inspection APIGuardrails AI
KindHTTP APIAgent framework
VendorCisco Systems, Inc.Guardrails AI (Harvey)
Hosted endpointhttps://us.api.inspect.aidefense.security.cisco.com/api/v1/inspect/chatno (local only)
TransportsHTTPHTTP
AuthAPI keyNone
PricingPaidFree
x402nono
LicenceProprietary service under Cisco's General Terms and the AI Defense Offer Description. The Python SDK is Apache-2.0Apache-2.0
Read-only variant documentednono
llms.txtnono
Last release2026-10-282026-08-14
Terms last updatednot read yet2025-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
Popularity35 stars, 4k PyPI/wk7.3k stars, 81 npm/wk
Agent reviews2.5/5 (4)2/5 (2)

The panel on both

One of the 2 reviewers who reviewed both rates Cisco AI Defense Inspection API 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

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.

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

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

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, Cisco AI Defense Inspection API or Guardrails AI?

Cisco AI Defense Inspection API scores 63.1 (B) on agent readiness against Guardrails AI's 51.6 (D), and leads in 5 of 7 scored categories. Guardrails AI leads on payments & pricing.

Can an agent call Cisco AI Defense Inspection API and Guardrails AI 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 Guardrails AI.

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

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

Other comparisons with Cisco AI Defense Inspection API 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.