Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseAPI / Product · ActionableAWS Machine Learning Blog→ original

Amazon Bedrock Guardrails gets a new API for flexible protection of agentic AI applications

Amazon Bedrock Guardrails has a new API, InvokeGuardrailChecks, that lets developers embed safety checks at any point in an agentic AI pipeline, without a pre-created guardrail resource. A developer can add PII filtering before one step, a grounding check before another, and blocking of unwanted topics before a third. That matters most for enterprises, where an agent may pass through dozens of intermediate steps.

AI-processed from AWS Machine Learning Blog; edited by Hamidun News
Amazon Bedrock Guardrails gets a new API for flexible protection of agentic AI applications
Source: AWS Machine Learning Blog. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceAWS Machine Learning Blog ↗
Editor-in-Chief
Key metric #1Detection and masking of PII (personal data)
Key metric #2Content filtering by configurable categories
Key metric #3Blocking of prohibited topics (topic denial)

Amazon Web Services has launched a new API for the Amazon Bedrock Guardrails platform, InvokeGuardrailChecks. It lets developers embed individual safety checks into agentic AI applications at any point in the workflow, without having to create guardrail resources in advance.

What the new API changes

Until now, using Amazon Bedrock Guardrails required upfront setup: a developer created a guardrail resource in the console, attached it to a model or endpoint, and only then could use the protection mechanisms. That meant a centralized approach: one guardrail for the whole application or a large block of it.

InvokeGuardrailChecks changes that logic. Developers can now call a specific safety check straight from code, anywhere in the pipeline. A check for personal data leakage can sit at one point, unwanted-content filtering at another, and grounding verification at a third. Each call is independent and does not require an existing guardrail resource.

Why it matters for agentic systems

Modern agentic AI systems work very differently from simple request-response. A single user request can trigger a chain of dozens of steps: searching a knowledge base, calling external APIs, generating intermediate outputs, and making decisions based on the data retrieved. Problematic content or unwanted behavior can appear at any of these nodes. Traditional guardrails configured only at the system's input and output simply cannot see what happens inside a multi-step process.

InvokeGuardrailChecks closes that gap: the developer chooses where a check is needed and embeds it as an ordinary API call.

The API supports the following types of checks:

  • Detection and masking of PII (personal data)
  • Content filtering by configurable categories
  • Blocking of prohibited topics (topic denial)
  • Verification of answers against sources (grounding)
  • Detection of prompt injection attempts

Use in enterprise scenarios

The new API is especially relevant for enterprise applications where an agent handles sensitive data or has access to internal corporate systems.

In HR bots, it is important to ensure the agent does not reveal one employee's personal data to another, even if that data surfaced in an intermediate LLM output. InvokeGuardrailChecks makes it possible to add a PII check at exactly the moment the agent assembles its answer.

In financial applications, a grounding check can be placed before the final output so the agent relies on real sources rather than generating unreliable data.

In multi-agent systems, a prompt injection check can be added at the stage where data is received from an external agent.

"With this API, developers can apply individual safety checks at any point in agentic AI applications, without having to create guardrail resources," says the AWS

Machine Learning Blog.

What this means

Amazon is steadily building enterprise infrastructure for the safe deployment of AI agents. InvokeGuardrailChecks is a logical extension of that strategy: instead of a single centralized barrier, the company offers a set of targeted tools that developers place where control is actually needed.

For industries with strict compliance requirements, such as finance, healthcare and law, this is a serious step toward practical use of agentic AI without losing control over system behavior.

Story

Key Questions Answered

What the new API changes?

Until now, using Amazon Bedrock Guardrails required upfront setup: a developer created a guardrail resource in the console, attached it to a model or endpoint, and only then could use the protection mechanisms. That meant a centralized approach: one guardrail for the whole application or a large block of it. InvokeGuardrailChecks changes that logic. Developers can now call a specific safety check straight from code, anywhere in the pipeline.

Why it matters for agentic systems?

Modern agentic AI systems work very differently from simple request-response. A single user request can trigger a chain of dozens of steps: searching a knowledge base, calling external APIs, generating intermediate outputs, and making decisions based on the data retrieved. Problematic content or unwanted behavior can appear at any of these nodes. Traditional guardrails configured only at the system's input and output simply cannot see what happens inside a multi-step process.

What are the key details on Use in enterprise scenarios?

The new API is especially relevant for enterprise applications where an agent handles sensitive data or has access to internal corporate systems. In HR bots, it is important to ensure the agent does not reveal one employee's personal data to another, even if that data surfaced in an intermediate LLM output. InvokeGuardrailChecks makes it possible to add a PII check at exactly the moment the agent assembles its answer.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Amazon Bedrock Guardrails gets a new API for flexible protection of agentic AI applications https://news.hamidun.com/en/news/11048/amazon-bedrock-guardrails-gets-a-new-api-for-flexible-protec

What do you think?
Loading comments…