
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
- Install: you need Python 3.10+ and uv. Run
git clone https://github.com/awslabs/uaef.git, thenuv syncinside the folder. - Build a small test set from real user questions. Add the expected answer and, for tool checks, the expected tool calls in order.
- Start with code-only metrics such as
tool_selection_accuracyandlatency_score. They need no AWS account, so your first run costs nothing. - Add AI-judged metrics like
answer_relevancewhen needed. These run on Amazon Bedrock, and each one is a separate model call per evaluation, so choose them carefully.
Catch regressions
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
- Storage costs money. Saving runs writes to Amazon DynamoDB and S3. If you deploy the optional web interface, the tables, buckets and Cognito user pool are kept when you delete the stack, so remove them yourself.
- Not a security gate. AWS says judge scores are an evaluation signal and should not control security decisions; use Bedrock Guardrails for that.
- Clean your data. Real traffic can contain personal details. UAEF includes a
PIIDetectorto find and redact them before you save a dataset.
Related reading: Oumi FAiE agent testing, Langfuse AI Gateway cost tracking, how to build an AI agent and the Langfuse tool page.
Sources
- UAEF: a framework-agnostic system for closed-loop evaluation of AI agents, AWS Machine Learning Blog (11 Nov 2026)
- awslabs/uaef repository, GitHub
- UAEF documentation: quickstart, experiments and use cases
- AWS open-sources UAEF, The Next Web (11 Nov 2026)
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.