AI Tools Developer Tools

AI Agent Evaluation: How AWS’s UAEF Scores Agents Across Frameworks

AWS describes UAEF, a system for AI agent evaluation that converts traces from different frameworks into one format and scores them on 36 metrics.

Illustration of AI agent evaluation where traces from different frameworks feed one scoring system in a loop
AI-generated editorial illustration.

How do you tell whether a change to an AI agent made it better when the agent is built on one framework and a colleague’s is built on another? AI agent evaluation usually breaks down here, and AWS describes a system called the Universal Agent Evaluation Framework (UAEF) as its answer.

What problem does UAEF address?

AWS explains that teams building agents on its platform use several frameworks, including LangGraph, LangChain, Strands Agents and Amazon Bedrock AgentCore. Each records an agent’s run differently, so messages, tool calls and handoffs between agents look different from one framework to the next.

Evaluation tools tend to follow those boundaries. Teams write metrics, scoring logic and result storage for one trace format, then rebuild them after switching frameworks. That makes a basic question hard to answer: did a new prompt, model or tool set improve the agent?

AWS also notes that quality has many sides, and a single accuracy score misses most of them.

What does UAEF actually do?

UAEF is a framework-agnostic evaluation system. A trace is the recorded step-by-step history of an agent run. UAEF converts traces from each framework into one common format, then scores them with 36 built-in metrics across 7 dimensions. AWS says customers at 12 organizations in telecom, healthcare and financial services used it to compare agent versions before release.

It takes two inputs: the agent being tested and a dataset of test inputs. Ground truth, meaning the expected answer for each input, is optional. Only metrics that compare a response against a reference use it. Scoring tool calling also needs the expected tools, their order and their arguments.

How does one evaluation run?

AWS describes a fixed path:

  • An adapter reads the agent’s native messages, tool calls and handoffs and turns them into one canonical trace.
  • UAEF screens the trace for personally identifiable information, such as email addresses, phone numbers and credit card numbers, before data is stored.
  • The evaluation engine scores the trace on a selection of the built-in metrics.
  • Results are saved as an experiment, with metadata in Amazon DynamoDB and full results in Amazon S3.
  • Reports and insights compare a version with a baseline to detect regressions and explain what changed.

This is the closed loop in AWS’s description: evaluate, learn what improved or regressed, change the prompt, model or tools, and evaluate again.

How do adapters make it framework-agnostic?

An adapter converts a run record into a single representation called the AgentTrace, the only thing the rest of UAEF scores. AWS says the agent can run locally, behind an HTTP endpoint or on a managed runtime such as Amazon Bedrock AgentCore, with traces held in Langfuse or not captured at all. Each case has an adapter, and all produce the same AgentTrace.

A trace can arrive in two ways. An existing one, from a past run, a log or an observability store, is passed to the matching adapter. Otherwise UAEF invokes the agent itself, given a runtime Amazon Resource Name or an HTTP endpoint, calls it on each dataset input and adapts the response in one step.

Because normalization happens before scoring, AWS says an agent built on one framework can be compared with one built on another on a single scale.

What are the seven dimensions?

  • Tool calling: whether the agent chose the right tools, used a sensible order and passed valid arguments.
  • Response quality: whether answers are relevant, complete, accurate and grounded in the given context.
  • Responsible AI: safety, bias, toxicity and resistance to prompt injection.
  • Performance: operational cost in latency, token use and throughput.
  • Multi-turn: context retention, coherence and goal completion across a conversation.
  • Multi-agent: coordination in systems of cooperating agents, such as task delegation.
  • Reasoning: the consistency and logic of the agent’s chain of thought.

How are scores produced?

Every metric returns a score between 0 and 1, where 1 is best, so dimensions and the overall result share one scale. AWS describes two families. Deterministic metrics compute a score directly from the trace and ground truth and reproduce exactly on repeated runs. LLM-as-a-judge metrics handle qualities such as relevance or safety by prompting a judge model on Amazon Bedrock. Custom metrics can be added, and RAGAS and DeepEval integrations are available.

Judge metrics create a risk: an agent that can influence its judge can influence its own scores. AWS says it treats agent output as untrusted input. The rubric is sent separately from the content, the content is escaped so it cannot be read as instructions, and each judge response is parsed strictly and must cite a verbatim span of the content it scored.

What else does AWS provide?

AWS says its post also offers a playbook for choosing metrics and preparing datasets, plus runnable notebooks for each supported framework. This article draws on AWS’s own description, and it is the only source here, so independent results are not available. How well UAEF’s scores track human judgment of agent quality remains the open question.

Sources