View a markdown version of this page

Third-party guardrail providers - Amazon Bedrock AgentCore

Third-party guardrail providers

In addition to Amazon Bedrock Guardrails, Policy in AgentCore can call a third-party guardrail provider during policy evaluation. You keep your account and configuration with the provider, store your provider API key in AgentCore Identity, and register the provider on your policy engine. Your policies then call the provider’s checks in a when guardrails condition, the same way they call BedrockGuardrails checks.

With third-party guardrail providers, you can bring the guardrail provider that your organization already uses to your agents, and use its detections and profiles alongside Amazon Bedrock Guardrails in the same policy engine.

Supported providers

Each provider has a provider ID. You use the ID to register the provider on a policy engine, and as the namespace for the provider’s checks in policies.

Provider Provider ID and namespace Provider documentation

Check Point (Check Point AI Guardrails)

CheckPoint

Check Point AI Guardrails API documentation

Netskope AI Guardrails

Netskope

Netskope AI Guardrails documentation

Prompt Security

PromptSecurity

Prompt Security

Rubrik Agent Cloud

Rubrik

Rubrik Agent Cloud documentation

Zscaler AI Guard

Zscaler

Zscaler AI Guard documentation

For the checks, categories, and results each provider supports, see Third-party guardrail reference.

How it works

  1. Create an account with the provider and get an API key, following the provider’s documentation.

  2. Store the API key as an API key credential provider in AgentCore Identity.

  3. Register the provider on a policy engine. The registration names the provider ID, the credential provider, and, optionally, your provider URL. AgentCore verifies the API key with the provider when you register it.

  4. Write policies that call the provider’s checks, in the form <Namespace>::<GuardrailType>([<categories>], [<content>]).

  5. When a request reaches a gateway that uses the engine, Policy in AgentCore calls the provider with your API key and evaluates your policy against the result.

Checks for the same provider in one evaluation are combined into a single request to that provider where possible.

Content sent to the provider

When a policy calls a third-party check, Policy in AgentCore sends the content that you define in the policy to the provider. The provider processes that content under your agreement with the provider. Review the provider’s terms and data handling before you use the provider with your content.

Failure behavior

Third-party checks fail closed, like every guardrail check. If the provider can’t be reached, rejects the API key, or returns an error, the request or response is denied, and a streamed response ends. The provider’s availability and rate limits therefore affect your gateway. For details, see When a guardrail check fails.

Streamed responses and request masking

Third-party checks work with the interruptOutput, redactOutput, and redactInput effects, the same way Amazon Bedrock Guardrails checks do. For the checks that you can use with each effect, see Guardrail checks for each effect. For how the gateway screens a streamed response and masks a request, see Screen streamed responses with guardrails and Mask sensitive information in requests.

Each evaluation of a streamed response calls the provider with all the text received so far, so a long response results in several calls to the provider. Take this into account for the provider’s rate limits and pricing. For when the gateway evaluates a streamed response, see When you receive the text.

Regional availability

For the Regions where third-party guardrail providers are available, see Guardrails regional availability.