Protecto vs Amazon Bedrock Guardrails

Keep Bedrock Guardrails for prompt attacks and harmful content. Add Protecto to cover what its PII filter skips: tool calls and tool results, with tokens the model can reason over.

SOC 2 Type II · ISO 27001 · HIPAA, BAA available

Trusted by regulated enterprises & agentic platforms
Inovalon
Automation Anywhere
Citrix
Bank Of Muscat Logo
Dell

What does Protecto add to Amazon Bedrock Guardrails?

An AI agent on Bedrock handles a refund. The customer’s message holds a name and a card number, and Bedrock Guardrails masks both. Then the model calls the refund tool with the customer’s email, and the tool returns the full customer record. AWS documents that its PII filter does not check tool call arguments or tool results, so that data moves unmasked. Protecto runs next to Bedrock Guardrails and adds tokens on prompts, retrieved context, tool calls and tool results, real values restored by policy, 200+ entity types and hosting in your own AWS account. Keep Bedrock Guardrails, and add Protecto.

Protecto is worth a look if two or more of these are true

  • You build AI agents on Bedrock, AgentCore or AWS Lambda tools that handle customer or patient data
  • Your AI agents pass emails, account numbers or records to tools, and tools return full records
  • Your AI app needs the real values in its answers, not a blocked request or a type placeholder
  • The same customer appears across documents, chats and tool calls
  • Different users, AI agents and tasks need different access to real values
  • You want original values kept out of CloudWatch Logs, and the data layer hosted in your own AWS account

How Protecto and Bedrock Guardrails work together

Protecto runs first, so Bedrock Guardrails and the model only see tokens. Tool calls and tool results go through Protecto too, and real values come back only where policy allows.

Request
Answer

Your AI agent

Sends the message and tool calls, then shows the answer

Sends

Maya Shah4111 1111 1111 1111

Shows, by role

Maya Shah<CARD>wqmzt</CARD>
real

Protecto

Detects sensitive values and tokenizes them

Passes on

<PERSON>agjwd</PERSON><CARD>wqmzt</CARD>
tokens

Bedrock Guardrails

Checks the request for attacks and harmful content

Sees

<PERSON>agjwd</PERSON><CARD>wqmzt</CARD>
tokens

Any model

Works from the tokens and calls tools with tokens

Sees

<PERSON>agjwd</PERSON><CARD>wqmzt</CARD>
by role

Protecto

Restores real values by role and logs each reveal

Passes on

Maya Shah<CARD>wqmzt</CARD>
tokens

Bedrock Guardrails

Checks the answer before it goes back

Sees

<PERSON>agjwd</PERSON><CARD>wqmzt</CARD>
tokens
  1. Your AI agent sends the message

    The user asks for help with a refund.

    Maya Shah4111 1111 1111 1111

    What it holds: real values

  2. Protecto tokenizes it

    Detects the sensitive values and swaps in consistent tokens.

    <PERSON>agjwd</PERSON><CARD>wqmzt</CARD>

    What it passes on: tokens

  3. Bedrock Guardrails checks the request

    Looks for prompt attacks and harmful content.

    <PERSON>agjwd</PERSON><CARD>wqmzt</CARD>

    What it sees: tokens

  4. Any model answers

    Works from the tokens, and calls tools with tokens too.

    <PERSON>agjwd</PERSON><CARD>wqmzt</CARD>

    What it sees: tokens

  5. Bedrock Guardrails checks the answer

    Screens the response before it goes back.

    <PERSON>agjwd</PERSON><CARD>wqmzt</CARD>

    What it sees: tokens

  6. Protecto restores by role, for users and tools

    For a support user, the name comes back and the card stays a token.

    Maya Shah<CARD>wqmzt</CARD>

    What the user sees

The questions that come after the filter

Pick one. Each shows what Bedrock Guardrails does and what Protecto adds.

Protecto vs Amazon Bedrock Guardrails, side by side

Sensitive data first, then AI agents, deployment and prompt attacks.

CapabilityProtectoAmazon Bedrock Guardrails
Masking directionTwo ways. The same value gets the same token, and real values come back by policyOne way. A match becomes a type placeholder such as {NAME}, or the request is blocked
Real values restored by roleOnly for users, AI agents and tools your policy allowsNo. AWS documents no way to restore the original values in an answer
Same value, same tokenConsistent tokens across documents, conversations and tool callsNo. A placeholder is a type, so two different names both become {NAME}
How it finds sensitive dataAn agentic detection and classification engine that reads the context, so it finds data with no fixed pattern, such as deal terms, HR and legal detailsA fixed list of built-in PII types, plus regex patterns you write for your own formats
Mixed-language and malformed textFinds sensitive values in mixed-language text, such as Arabic and English together, and in malformed or messy inputChecks text against the languages AWS lists. AWS recommends testing your own languages and says unsupported languages are ineffective
Entity types200+ across PII, PHI and PCI31 built-in PII types plus custom regex. Country-specific types cover the US, Canada and the UK
Custom entitiesYes, added in daysRegex patterns
LanguagesSeven tested, including Arabic. Others on request and tested on your data17 languages for sensitive information filters, including Arabic
Tool call argumentsTokens in, and a tool gets a real value only when policy allows itNot checked. AWS says PII the model puts in tool call arguments is neither blocked nor masked
Tool results and definitionsTool results are tokenized before the model reads themNot checked. AWS says PII in tool results and tool definitions is neither blocked nor masked
Models coveredAny LLM, in any cloudBedrock model calls through InvokeModel and Converse. Any text through the ApplyGuardrail API
Original values in logsThe model and your logs see tokens. Real values stay in the token vault under your keysThe input field in CloudWatch Logs holds the original request, and the trace match field holds the original value
Where it runsHost it in your own AWS account (VPC), private cloud, on-premises or air-gapped. The token vault and keys stay with you. SaaS also availableAn AWS service, set up per guardrail inside Bedrock or called through the ApplyGuardrail API
Audit of who saw which valueLogs each request and reveal. An API call purges records older than the days you chooseGuardrail traces record what matched. A record of who saw which real value is yours to add
Compliance evidenceSOC 2 Type II, ISO 27001. Signs a BAA when Protecto hosts, manages or can access your instanceAWS compliance programs
Prompt injection and jailbreakNo. Keep Bedrock Guardrails for thisYes
Harmful content, denied topics and word filtersToxicity score on every auto-detect mask request. You decide what to do with itYes
Billing modelBy quote, for your volume and deploymentBilled per filter on the text units a guardrail processes. Regex filters are free

Based on AWS’s Bedrock Guardrails documentation, reviewed November 2026.

Higher F1 than AWS Comprehend in a benchmark

An independent benchmark by DataXpert and UT Dallas, published by Protecto, on the detection engine behind Protecto. Bedrock Guardrails was not part of the study.

Protecto, March 2025AWS Comprehend

Phone false positives

11 Protecto, 524 Comprehend

Credit card false positives

0 Protecto, 427 Comprehend

Same text, three outputs

A support AI agent on Bedrock summarizes a refund case. Two people are involved, and the answer depends on who did what.

Bedrock Guardrails either blocks the request or replaces each value with a type placeholder. That removes the risk, and it also removes what the model needs to answer. Protecto gives each person their own consistent token.

Text sent to the model

Maya approved Ravi’s refund, then Maya emailed Ravi.

Can the model tell them apart?
Can you restore real values?

“Protecto enabled us to deliver data security, privacy, and compliance for our AI features at scale across 5,000+ enterprise clients, strengthening customer trust in our AI automation solutions.”

SS
Steve Shah
SVP Product, Automation Anywhere
Proven on AI platforms in production

Automation Anywhere runs Protecto across 5,000+ live enterprise tenants. Results from three customers.

5,000+

Live enterprise tenants at Automation Anywhere

13M+

Long texts a day at a SaaS company

Days

To deploy at a Fortune 100 company

Adding Protecto to Bedrock Guardrails

You don’t replace anything. Protecto runs first, and Bedrock Guardrails checks the tokenized request.

  1. Keep Bedrock Guardrails on

    Leave your content filters, prompt attack filters and denied topics as they are.

  2. Put Protecto in front

    Call Protecto before the prompt reaches Bedrock, and route tool calls and tool results through it.

  3. Start with one AI agent

    Pick the flow where tools handle the most sensitive records, and test there first.

Questions about Protecto and Amazon Bedrock Guardrails

What are Amazon Bedrock Guardrails?

Bedrock Guardrails is an AWS feature that checks prompts and model responses with content filters, prompt attack filters, denied topics, word filters, sensitive information filters, contextual grounding checks and automated reasoning checks. It works with Bedrock model calls, and the ApplyGuardrail API checks any text without calling a model.

Yes, for prompts and model responses. A sensitive information filter can block a match, mask it with a type placeholder such as {NAME} or {EMAIL}, or only detect it. It has 31 built-in PII types and custom regex. The masking is one way.

No. AWS documents that the sensitive information filter does not evaluate PII in tool call arguments, tool results or tool definitions. Its own example is an address the model passes to a tool that writes a file: the address is not masked. Protecto tokenizes tool calls and tool results, so an AI agent moves tokens, and a tool gets a real value only when policy allows it.

AWS documents no way to restore the original values in an answer. Protecto issues consistent tokens and restores real values for users, AI agents and tools your policy allows.

AWS says the input field in CloudWatch Logs always holds the original, unmodified request, and the trace match field holds the original PII value. AWS suggests CloudWatch log data protection. With Protecto in front, the model and your logs see tokens, and real values stay in the token vault under your keys.

Not in every mode. AWS says Bedrock Guardrails doesn’t support masking of sensitive information in asynchronous streaming mode. Synchronous mode buffers response chunks before they are sent back.

Protecto uses an agentic detection and classification engine that reads the context of the text. It finds names, IDs, cards and health data across 200+ entity types, and data with no fixed pattern, such as deal terms, HR and legal details. It handles mixed-language text, such as Arabic and English in one message, and malformed input. Custom entities can be added in days. Bedrock Guardrails uses a fixed list of built-in PII types plus regex patterns you define.

No. Protecto runs next to it. Keep Bedrock Guardrails for prompt attacks, harmful content and denied topics, and add Protecto to protect sensitive data while AI workflows keep running.

No. Protecto is data security for AI, not prompt security. It protects the sensitive data in prompts, retrieved context, tool calls and answers, and Bedrock Guardrails handles attacks.

Yes. Protecto works with any LLM and with AI agents, MCP servers and RAG pipelines, including AI agents built on Bedrock Agents and Bedrock AgentCore.

Yes. Protecto can be hosted in your own AWS account (VPC), in your private cloud, on-premises or fully air-gapped, with the detection models, the token vault and your encryption keys under your control. SaaS is also available.

AWS bills each filter in a guardrail on the text units it processes, and regex filters are free. Protecto is priced by quote for your volume and deployment. Compare the full cost, including what your team would build for tool calls, restore by role and log handling.

AWS lists 17 languages for sensitive information filters, including Arabic, and recommends testing your own. Protecto is tested in English, German, French, Spanish, Dutch, Arabic and Japanese, with others on request and tested on your data.

There is no head-to-head benchmark against Bedrock Guardrails. In the independent DataXpert and UT Dallas study, Protecto had a higher F1 score than AWS Comprehend. Test both on your own data.

Keep Bedrock Guardrails. Protect the data.

Bring an AI agent tool call, and see what each user, tool and model receives on your own data.

Cover of the PII/PHI identification benchmark study by UT Dallas and DataXpert
Benchmark study

PII/PHI detection, benchmarked by UT Dallas and DataXpert

A third-party study compares how accurately Protecto, Microsoft Presidio, and AWS Comprehend find personal and health data in unstructured text.

By submitting you agree to Protecto’s privacy policy.

New: Protecto now runs inside LiteLLM. Control what sensitive data your models and tools see.
Read the launch blog