AWS Labs created the Universal Agent Evaluation Framework (UAEF) to evaluate AI agents against common criteria, even when they use different frameworks. The open-source library standardizes the record of a run, known as a trace. Teams can see which tools an agent called, with which inputs, and in what order. That gives them a way to compare versions and pinpoint where behavior changed. AWS technical announcement.
Before deploying an agent or expanding its autonomy, engineering teams need answers to three questions. Did it deliver the expected result, follow the controls, and improve operations? UAEF can help with the second question and with diagnosing failures. The MnzAI Labs experiment shows why approval should start with the outcome.
How we tested UAEF: one run, two evaluations
We asked Claude Code with Haiku 4.5 to fix three defects in a fictional wallet API: access to someone else’s wallet, a transfer that could debit without crediting, and duplicate transfers. We ran each task twice. Each run produced two kinds of evidence:
- Trace. UAEF compared tool choice and order against references defined before the runs.
- Outcome. Independent tests the agent had not seen checked how the code behaved after the change. For the incomplete transfer, for example, a failure had to leave no debit without a corresponding credit or reversal.

Why did six passing fixes score so low?
All six runs passed the independent tests. Tool choice and order scores ranged from 0.03 to 0.15 out of 1.0 across two references: “edit and test” and “test only.” In one transfer fix, the trace contained 13 calls. UAEF found two that matched the “edit and test” reference and 11 extras, including five file reads. The agent needed to understand the code before changing it. Its 0.15 score recorded the departure from the expected path.
We also ran a synthetic control. Complete fixes, superficial changes, and changes that weakened tests all received the same tool-selection score when they followed the same sequence. The independent evaluator distinguished the outcomes. Together, these cases show where a trace earns its place: it explains the path and helps check relevant steps. Evidence that the code worked came from tests of the result.
This was an exploratory study. The round covered three coding tasks and one commercial agent. All runs reached the same outcome, so the study illustrates the difference between the measures without estimating a statistical relationship between them. We also left UAEF’s model-based scoring outside the scope of this test.
How software and AI teams can evaluate an agent
Consider a support agent that issues account credits. Success means the right amount is credited to the right account exactly once. The process may also require checking eligibility and sending amounts above the agent’s authority for approval. The business only gains if the time saved outweighs rework, human review, and operating costs.
| Decision question | Evidence I would ask for |
|---|---|
| Did the task succeed? | Check the final state in the system of record. Use automated tests for objective rules and expert review of samples where quality requires judgment. |
| Did the agent follow the controls? | Test whether the system blocks actions without permission or approval. Inspect traces to identify skipped steps or calls made out of order. |
| Should the agent get more autonomy? | Compare with the current process on correct completion, rework, escalations, time, and cost per completed task. Track critical failures separately. |
For open-ended responses, a model grader can help review more examples against explicit criteria. Compare its ratings with human judgments before using them to approve a release. For a verifiable rule, such as checking for duplicate credits, query the system state directly. The Anthropic and OpenAI guides describe methods for evaluating outcomes and traces. Anthropic · OpenAI.
How to try UAEF in your team’s workflow
Start with a workflow the team already knows. Pick a process with a required step and an outcome the team can check automatically. Before the pilot, agree with the process owner on what counts as success, which failures block release, and what gain would justify wider use.
- Establish a baseline. Collect representative cases, exceptions, and known failures. Run the same cases against the current process or deployed version. Repeat sensitive cases to see how much outcomes vary between runs.
- Run in parallel without carrying out real actions. Compare the agent’s decisions with expected outcomes. Use UAEF for the few steps where order or tool choice matters. Account for legitimate alternative paths.
- Weigh both sets of evidence. Check which failures outcome tests revealed and which ones the trace helped explain. Expand autonomy only if quality and risk criteria are met and the gains survive the cost of oversight. Track those same measures after release and keep a way to return to the previous workflow.
If the team still cannot verify what the agent delivered, outcome tests and the instrumentation to support them come first. If the team can verify outcomes and struggles to locate where behavior changed, UAEF is worth a pilot. I would adopt it more broadly only if it finds meaningful regressions or saves enough investigation time to justify maintaining the traces and references.
Experiment sources. MnzAI Labs’ independent test results. Reference implementation in the UAEF repository.
