AWS Builder Center
Your AI Agent Works in the Demo. Research Says That's Not Enough

Your AI Agent Works in the Demo. Research Says That's Not Enough

Two research papers explain why AI agents that look great in a demo fail in production, and how reliability drops when you run the same task many times. Here is what they found and how Amazon Bedrock AgentCore features map to each problem.

The 90% trap

Imagine an agent that completes a task correctly 90% of the time. Sounds great, right?
Now run that same task 8 times. If each run is independent, the chance that all 8 succeed is 0.9⁸ ≈ 43%.
That is the gap between a demo and production. A demo needs the agent to work once. Production needs it to work every time, for every user.

What the research says

1. Agents are less consistent than they look

The τ-bench paper (Yao et al., 2024) tested agents in realistic customer-service tasks: talking to a user, calling API tools and following written policies. The authors proposed a metric called pass^k: the chance that all k trials of the same task succeed.
Their results: even gpt-4o with function calling solved fewer than 50% of the tasks on average. In the retail domain, where its single-run success was above 60%, pass^8 dropped below 25%.
The lesson: a single success rate hides inconsistency. You have to measure repeated runs.

2. Most failures are not about the model

"Why Do Multi-Agent LLM Systems Fail?" (Cemri et al., 2025) analyzed seven popular multi-agent frameworks across more than 200 tasks, with six expert annotators. The result is MAST, a taxonomy of 14 failure modes in three categories:
  • Specification issues: the task, roles or constraints were poorly defined
  • Inter-agent misalignment: agents ignored, lost or misread each other's information
  • Task verification: nobody properly checked whether the result was correct
The authors also note that multi-agent systems often show only minimal gains over single-agent setups on popular benchmarks. More agents does not automatically mean better results.

Mapping the problems to AWS

This mapping is my own reading, not something the papers claim. But each failure category lines up with a capability in Amazon Bedrock AgentCore:
Failure category
What you need
AgentCore capability
Specification issues
Hard limits on what the agent can do
Policy
Inter-agent misalignment
Visibility into every step
Observability
Task verification
Continuous quality checks
Evaluations
Policy intercepts tool calls at the AgentCore Gateway before they run. Rules are written in Cedar, or described in natural language and converted to Cedar. The key design choice: policies are applied outside the agent's reasoning loop, so a confused agent cannot talk its way past them. The AWS example is a refund tool that only a specific role can call, and only for amounts under $200.
Observability gives you logs, metrics and traces, so when an agent fails you can see which step went wrong instead of guessing.
Evaluations samples live interactions and scores them with built-in evaluators such as correctness, faithfulness, tool selection accuracy and goal success rate. Results go to Amazon CloudWatch, where you can set alarms on score thresholds.

Why this matters right now

On November 9, 2026, AWS announced a new AgentCore Runtime. In AWS's own tests, P75 cold starts stayed near 2 seconds for container images from 200 MB to 2 GB, while the original runtime went from about 5.4 to nearly 30 seconds. With AWS re:Invent starting on November 30, agents are clearly where the platform is investing.
Faster infrastructure makes agents cheaper and quicker. It does not make them correct. That part is still on us.

A short checklist before production

  1. Run every test task several times, not once. Track how often all runs pass.
  1. Write the rules down as policies, not only as prompt instructions.
  1. Trace everything, so failures can be explained.
  1. Evaluate continuously, with alarms, not just before launch.
  1. Start with one agent. Add more only when you can measure the benefit.

Conclusion

The research is consistent: agents fail in production for reasons that a single successful demo never shows. Measuring consistency, enforcing limits outside the model and verifying results are what turn a prototype into something people can trust.
I work with AI agents as a data/AI intern, and these two papers changed how I think about testing them. I have not deployed on AgentCore yet, so I'm curious:
How do you test your agents before production? Do you measure repeated runs?

References

Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article