Home icon

Debugging production agents with Amazon Bedrock AgentCore Observability

Machine Learning Blog



This article explains how to debug production AI agents using Amazon Bedrock AgentCore Observability, which provides visibility into agent execution through metrics, traces, and structured logs.

  • Identify three failure categories: quality failures (incorrect results), reliability issues (incomplete workflows), and efficiency problems (high latency or token usage)
  • Use CloudWatch dashboards to monitor session volume, latency, token usage, and error rates in real time
  • Leverage OpenTelemetry traces to inspect reasoning steps, tool invocations, and execution flow step-by-step
  • Diagnose infinite loops by identifying high token usage with 0% error rates and examining repeated tool invocations
  • Resolve tool invocation failures by analyzing authentication (401), authorization (403), validation (400), and execution errors (500)
  • Convert diagnostic queries into persistent CloudWatch alarms and dashboards for proactive monitoring

Structured observability transforms agent debugging from hours of guesswork into minutes of targeted investigation using ready-to-use CloudWatch Logs Insights queries.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jul 31
2026
Optimizing production agents with Amazon Bedrock AgentCore Observability
Jul 23
2026
Detecting silent agent failures with Amazon Bedrock AgentCore optimization
Jul 23
2026
Amazon Bedrock AgentCore now delivers unified observability with traces and logs in a single log group
Dec 11
2025
Amazon Bedrock AgentCore Observability with Langfuse

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.