Illustration of two agent versions scored side by side, with a red regression flag on the newer version before release
Illustration by AIUseFlow · credits

AWS UAEF Guide: Catch AI Agent Regressions Before You Ship a New Prompt or Model

Also available in Hindi: यह लेख हिंदी में पढ़ें

UAEF (Universal Agent Evaluation Framework) is a free, open-source tool from AWS that tells you whether a change to your AI agent made it better or worse. AWS released it on 11 November 2026 under the Apache 2.0 license. AWS says 12 organizations in telecom, healthcare and financial services used it to compare agent versions before release.

What it measures

UAEF turns your agent's run records (traces) into one common format, then scores them with 36 built-in metrics across 7 areas: tool calling, response quality, responsible AI, performance, multi-turn conversation, multi-agent coordination and reasoning. Adapters cover LangGraph, LangChain, Strands Agents, Amazon Bedrock AgentCore and Langfuse, and a generic JSON adapter handles anything else.

Set it up

How UAEF turns agent traces into a pass or fail signal for each release
Based on the AWS launch post and UAEF docs. Illustration, not a screenshot.
  1. Install: you need Python 3.10+ and uv. Run git clone https://github.com/awslabs/uaef.git, then uv sync inside the folder.
  2. Build a small test set from real user questions. Add the expected answer and, for tool checks, the expected tool calls in order.
  3. Start with code-only metrics such as tool_selection_accuracy and latency_score. They need no AWS account, so your first run costs nothing.
  4. Add AI-judged metrics like answer_relevance when needed. These run on Amazon Bedrock, and each one is a separate model call per evaluation, so choose them carefully.

Catch regressions

UAEF regression severity bands by percentage drop
Thresholds from the AWS launch post. Illustration, not a screenshot.

Save your current agent as a run and mark it as the baseline. Each run can record the model, prompt, tools and Git commit. When you change something, run the same test set and compare. By default, any metric that drops by more than 5 percent is a regression, graded minor (5-10 percent), moderate (10-20 percent) or severe (over 20 percent). In CI, the docs show a simple pattern: run batch_evaluate on your test traces and fail the build if the average score falls below a target such as 0.8.

Costs and limits

Related reading: Oumi FAiE agent testing, Langfuse AI Gateway cost tracking, how to build an AI agent and the Langfuse tool page.

Sources

FAQ

Is UAEF free?

Yes, it is open source under Apache 2.0. AI-judged metrics on Bedrock and saved results in DynamoDB and S3 are billed by AWS.

Do I have to build my agent on AWS?

No. It works with LangGraph, LangChain, Strands and other frameworks. AWS is needed only for AI judges and storage.

What counts as a regression?

By default, a drop of more than 5 percent in a metric compared with your baseline run.

Can it run in my CI pipeline?

Yes. The Python library runs in scripts and CI, so you can fail a build when the average score drops.

About the author

Suraj Kumar builds and edits AIUseFlow, a directory of AI tools for vibe coders, agent builders and creators. Guides like this one walk through a practical workflow with cited sources — not a news wire rewrite. How we rank tools.

Get the weekly stack

Rank movers and new AI tools for builders, once a week. Free, no spam, unsubscribe anytime.