Home / Blog / New on AWS

Know your AI agents fail safely before customers find out

Learn how to test AI agent failures on Amazon Bedrock AgentCore so your business can trust its agents to behave safely when things go wrong.

CloudiQS engineering team · 1 December 2026

What's new

Amazon Bedrock AgentCore now supports resilience testing for AI agents by allowing teams to deliberately inject faults into the tools those agents rely on. Using AWS Fault Injection Service, you can simulate cancelled tool calls, corrupted responses and responses with missing fields, all while the agent is running, to see exactly how it behaves under pressure.

What this gives businesses is a structured way to answer a question that previously had no good answer: when an AI agent cannot get the data it needs, does it tell the user honestly that something went wrong, or does it quietly make up a plausible-sounding answer? The release also covers how to build the observability, meaning the monitoring and logging, needed to tell a genuinely safe failure from a silent one that looks fine on the surface but is producing unreliable output.

What you can achieve

6 ways this can help a business like yours

Each scenario shows the challenge, how the new release helps, and the result. Talk to us about which fits you.

1Customer service teams

Catch fabricated answers before they reach customers

Challenge
We use an AI agent to handle customer queries about orders and account details, but I have no idea what it does when our order management system is unavailable.
How it helps
By injecting a fault that cancels calls to the order management tool, you can observe whether the agent tells the customer it cannot retrieve their order right now or whether it generates a confident but invented response. Building observability alongside this test means you get a clear log of every case where the agent fabricated rather than admitted uncertainty. You can then adjust the agent's behaviour before any real customer sees the problem.
Result
The business gains confidence that its customer-facing agent will give honest responses during system outages rather than misleading customers with invented information.
How it works
  1. 1Amazon Bedrock AgentCoreAgent receives customer queryAmazon Bedrock AgentCore
  2. 2AWS Fault Injection ServiceFault injected into order tool callAWS Fault Injection Service
  3. 3Amazon CloudWatchAgent response logged and checkedAmazon CloudWatch
  4. 4Safe failure confirmed or issue flagged

2IT leads launching new products

Validate safe behaviour before a go-live deadline

Challenge
We are about to go live with an AI-powered product recommendation agent and we cannot afford for it to behave unpredictably in front of users on launch day.
How it helps
Before launch, you can run a series of fault injection tests that corrupt the product data the agent retrieves, stripping out key fields such as pricing or availability. Observing how the agent responds to incomplete data tells you whether your pre-launch configuration is safe. If the agent handles missing fields gracefully, you go live with evidence to back that up.
Result
The team launches with documented proof that the agent degrades gracefully under data quality problems rather than presenting users with broken or invented recommendations.
How it works
  1. 1Amazon Bedrock AgentCorePre-launch test environment set upAmazon Bedrock AgentCore
  2. 2AWS Fault Injection ServiceProduct data fields stripped via faultAWS Fault Injection Service
  3. 3Amazon CloudWatchAgent response behaviour recordedAmazon CloudWatch
  4. 4Results reviewed and sign-off given

3Financial services firms

Meet compliance requirements for AI reliability

Challenge
Our compliance team wants evidence that our AI agent produces reliable outputs and does not fabricate information when connected data sources are unavailable.
How it helps
Fault injection tests create a repeatable, documented process for provoking and recording agent failures. You can run tests that cancel calls to your data sources and capture the agent's responses in an audit log. The observability layer distinguishes between a genuine safe failure, where the agent acknowledges it cannot answer, and a silent failure, where it appears to answer correctly but has actually fabricated the response.
Result
The firm produces an audit trail demonstrating that its agent has been tested under failure conditions and that its failure modes are known, documented and acceptable.
How it works
  1. 1AWS Fault Injection ServiceData source call cancelled by faultAWS Fault Injection Service
  2. 2Amazon Bedrock AgentCoreAgent response type classifiedAmazon Bedrock AgentCore
  3. 3Amazon CloudWatchAudit log entries generatedAmazon CloudWatch
  4. 4Compliance report produced

4Operations and finance teams

Build internal trust in AI-assisted workflows

Challenge
Staff are sceptical about relying on our AI agent for internal reporting because they worry it might give wrong numbers without any warning when a connected data source has an issue.
How it helps
Running visible resilience tests, where you deliberately corrupt a data feed and show colleagues exactly what the agent does, is a practical way to build internal trust. If the agent surfaces a clear message that the data was unavailable, staff can see for themselves that it will not silently produce a report full of invented figures. If it does fabricate, you have found that before it matters and can fix it.
Result
Teams adopt the AI-assisted workflow with greater confidence because they have seen evidence of how it behaves when something goes wrong, rather than simply being told it is reliable.
How it works
  1. 1AWS Fault Injection ServiceCorrupted response injected into data toolAWS Fault Injection Service
  2. 2Amazon Bedrock AgentCoreAgent behaviour observed by teamAmazon Bedrock AgentCore
  3. 3Amazon CloudWatchSafe or silent failure identifiedAmazon CloudWatch
  4. 4Findings shared with internal stakeholders

5Healthcare and professional services

Reduce risk in AI agents handling sensitive data

Challenge
Our agent pulls in sensitive client or patient-related information from several tools, and I need to know that a tool failure will not cause it to mix up records or invent details.
How it helps
Stripping key fields from tool responses during a test reveals whether the agent attempts to fill in missing sensitive details from its training data rather than halting safely. Observability tooling built alongside the fault injection shows you which specific field failures trigger unsafe behaviour, so you can target your fixes precisely. You then retest after making changes to confirm the problem is resolved.
Result
The organisation can demonstrate that its agent does not fabricate sensitive details when tool responses are incomplete, reducing the risk of a harmful or embarrassing failure in production.
How it works
  1. 1AWS Fault Injection ServiceSensitive field stripped from tool responseAWS Fault Injection Service
  2. 2Amazon Bedrock AgentCoreAgent handling of missing field loggedAmazon Bedrock AgentCore
  3. 3Amazon CloudWatchUnsafe fabrication pattern identifiedAmazon CloudWatch
  4. 4Fix applied and retest completed

6Development and DevOps teams

Make resilience testing a routine part of development

Challenge
Every time we update our agent or add a new tool integration, we have no structured way to check whether we have introduced a new failure mode.
How it helps
Incorporating fault injection tests into your regular development pipeline means that every update to the agent is automatically tested against a set of known fault scenarios, including cancelled calls, corrupted data and stripped fields. The observability layer flags any regression where a previously safe failure mode has become a silent one after a code change. This makes resilience a routine checkpoint rather than an afterthought.
Result
The development team catches regressions in agent failure behaviour early in the development cycle, keeping the production agent consistently safe as it evolves.
How it works
  1. 1Amazon Bedrock AgentCoreAgent update deployed to test environmentAmazon Bedrock AgentCore
  2. 2AWS Fault Injection ServiceFault scenarios run automaticallyAWS Fault Injection Service
  3. 3Amazon CloudWatchFailure behaviour compared to baselineAmazon CloudWatch
  4. 4Regression flagged or build approved

How to get started

A practical first step is to identify the one or two tools your existing Bedrock AgentCore agent relies on most heavily, such as a database lookup or an external API call, and use AWS Fault Injection Service to cancel those calls in a test environment. Observe what the agent says in response and compare that against what you would want it to say. Set up CloudWatch logging before you run the test so you have a record of the exact responses. That single exercise will tell you whether your agent fails safely or silently, and it gives you a concrete baseline to improve from. If you would like support setting up fault injection tests or building the right observability for your AI agents, the CloudiQS team can help you design and run the process on AWS.

Source: Resilience testing your agents on Amazon Bedrock AgentCore, Amazon Web Services.

Related: Generative and agentic AI on AWS