Sunday, December 6, 2026 Edition No. 260
Search
Review Human-led, AI-assisted · Developer Tools · 13 min read

Amazon CloudWatch Omni Experiments: First Impressions

By Fabio Douek

Human-led, AI-assisted. Research and implementation done with AI tools, led, tested and edited by me. How posts are labeled

Jump to section
Explain (TLDR) like I am...
What is this?

Imagine you teach a robot to answer questions about toy orders. Before you let it help real kids, you give it the same 20 practice questions every time and a teacher marks each answer right or wrong.

CloudWatch Omni is that teacher. If the robot gets worse after you change it, the teacher says "not today" and the robot stays home. In my test the teacher caught a change that made the robot forget where the toys were.

Agent experiments give you a recorded, repeatable check before a release: a fixed dataset, named evaluators, a written rule and a pass or fail verdict, stored as log records in your own account. That is useful evidence of diligence when an agent's answers carry liability.

The caveats matter for reliance. The evaluators are language models that score differently between runs, agent cost is labelled a preview estimate and not your bill, and creating experiments in the console needed the highest permission level on the space in my account.

The condition is silent regression: a small code change makes an agent worse and nobody notices until customers do. The test is a fixed panel of 20 cases, scored by three evaluators, compared with the last healthy run.

In my trial the screen worked. The healthy version passed 20 of 20, and a change that trimmed a tool's output failed with 21 lower scores. One marker missed it entirely: the tool-trajectory check stayed at 1.0, because the agent still called the right tools.

Shipping an agent change can feel like a leap of faith, and the anxiety lands on whoever pressed deploy. A shared gate takes some of that weight off one person: the team agrees on the rule once, and the run decides.

The gate is only as calm as the rule behind it. Judges vary a little between runs, so a team needs to agree how strict to be before a false alarm turns the gate into something people learn to ignore.

Think of an experiment as a sound check before the show. The same 20 songs, the same engineers listening, and the band only goes on if nothing sounds worse than at the last good rehearsal.

In my run the new arrangement dropped half the lyrics while keeping every chord: the trajectory check heard the right chords and said fine, while the correctness judge heard the missing words and stopped the show.

The pitch is simple: stop a bad agent release before customers see it, from the same CloudWatch you already use for traces. Experiments, agent cost and SLOs land in one place, with no separate evaluation vendor.

Time to value was short once access was sorted: one dataset, three evaluators and a seven-minute run gave a clear pass, then a clear fail on a regressed build. The friction is setup: permissions and an agent that emits the right traces.

Level 100 · How it works

Level 200 · Walkthrough

Level 100 · How it works

Overview

Amazon CloudWatch Omni, the AI-first observability experience AWS launched in September 2026, added three things on 1 December 2026: agent experiments, agent cost and SLOs. This level is an explainer: what each piece is and how an experiment reaches a verdict, from the documentation and the Omni console. Level 200 runs it.

An experiment answers one question before you ship an agent change: is this version at least as good as the last one? It runs one agent version against one dataset, scores every case with evaluators, and returns Passed, Failed or Did not finish (docs). It’s aimed at teams already sending agent traces to CloudWatch, especially agents on Amazon Bedrock AgentCore Runtime.

Architecture

Dataset cases: input, expected answer Evaluators built-in or custom judges Experiment run hosted on Omni, or from your CI with the SDK Agent endpoint AgentCore Runtime or HTTPS CloudWatch traces with session.id Rule and verdict Passed, Failed or Did not finish Control run last passing run each case spans scores

How It Works

The pieces of an experiment

PieceWhat it is
ExperimentNames the agent (an AgentCore Runtime or any HTTPS endpoint), its service.name and environment, an execution role, a results log group under /aws/cloudwatch/ and the trace log groups. The agent can’t be changed after creation.
DatasetTest cases, each with an input and optionally an expected answer, an expected list of tools and plain-language assertions. Stored as an AgentCore dataset with numbered versions.
EvaluatorsThe judges. The console lists 19 built-in ones (Correctness, GoalSuccessRate, three trajectory matchers, Helpfulness, safety checks and more), 3 AutoEval and 10 DeepEval evaluators, plus your own.
RunOne agent version against one dataset version. Hosted runs go through AgentCore batch evaluation; SDK runs call the agent from your CI.
RuleTurns scores into a verdict.

How a run reaches a verdict

  1. Omni sends each case to the agent in a new session. The agent must put that session’s ID in session.id on its spans; without it, every case ends Not scored (docs).
  2. The evaluators read the agent’s traces and score each case.
  3. The rule decides. It has two modes:
    • Fixed limits (“No comparison”): at least X% of cases must pass, and a case passes when each evaluator scores at least its threshold.
    • Compared with a control run: “No score regressions” fails the run when any evaluator scores a case lower than the control did, usually the last passing run.
  4. The verdict and one record per case land in the results log group. From CI, the SDK’s experiments run exits 0 on pass, 1 on fail, 2 when the run did not finish and 3 on a setup error, so it can gate a deployment.

Agent cost and SLOs

  • Agent cost (labelled preview) estimates model, evaluation and AgentCore resource costs at list price, grouped by agent, model, session or an attribute (docs). It needs a CLIENT span per model call carrying the model ID and token counts; ADOT produces these for Bedrock calls. It is an estimate, not your bill.
  • SLOs track latency, availability or a custom PromQL query against a goal over a window such as a rolling 28 days, with error-budget and burn-rate alerts (docs). The announcement adds that Omni can start an investigation from an SLO’s burn-rate or error-budget alert.

What Experiments Can’t Do

  • Judge noise. The evaluators are language models. The docs warn that a zero-drop check can fail a good agent, and suggest a small negative margin plus a pass-rate floor.
  • Traces are mandatory. No session.id on the agent’s spans means no scores.
  • One agent per experiment. A run tests whatever the endpoint serves when it starts, so pin the version you mean to test.
  • Agent cost is a preview estimate. It isn’t added to spans after the fact, and models without a list price show no estimate rather than $0.
  • Evaluations cost money. Experiments have no separate charge, but evaluations are billed at AgentCore Evaluations rates (pricing).

Verdict

Experiments turn “we ran some evals” into a recorded, repeatable gate in the same place as your traces, with a verdict a pipeline can act on. That’s the useful part: the dataset, the judges, the rule and every per-case score stay together in CloudWatch, and a regression check against the last passing run needs no code of its own.

It suits teams already on AgentCore or already sending OpenTelemetry agent traces to CloudWatch. If your evaluations live in another tool and your agent doesn’t emit session.id, there’s setup work before the first verdict. Level 200 shows what that looked like for a small agent.

Level 200 · Walkthrough

Overview

This walkthrough builds a small order-desk agent on AgentCore Runtime, then does the Omni part in the Omni console: create an experiment, run the good version with fixed limits, run a deliberately regressed version against the last passing run, then look at agent cost and create an SLO. What the pieces are is in Level 100. Every run below is real, in us-east-1, on 2 December 2026.

Setup

The agent is a Strands agent for a made-up store, Ridgeline Outfitters, with two tools: lookup_order reads a fixed table of six orders, and get_return_policy returns the store’s policy. It runs on Claude Haiku 4.5 and sends its traces to CloudWatch through ADOT, the default for AgentCore Runtime, so every span carries session.id. I deployed it with the API, with version 1 and version 2 on two endpoints of the same runtime, v1 and v2. The dataset is 20 cases: 11 order questions, 5 policy questions and 4 that need both tools, each with an expected answer, expected tools and one assertion. I created it, and the experiment’s execution role (trusted by cloudwatch.amazonaws.com), with the API.

Creating the experiment in the Omni console took a Space admin grant on the Omni space, given by the space’s admin; the API calls only needed IAM permissions.

The Demo: Gating a Release in the Omni Console

Step 1: Create the experiment

In the Omni launcher, Experiments, then Create experiment. I named it order-desk-release-gate and picked the agent from the list of AgentCore Runtime agents with recent traces. Omni filled in the trace log groups (aws/spans and the runtime’s own log group) and the results log group /aws/cloudwatch/experiments/results. The last field is the execution role. After Create, I started the first run from the same page.

The Create experiment form in the Omni console: trace log groups aws/spans and the ridgeline_order_desk runtime log group, results log group /aws/cloudwatch/experiments/results, execution role omni-exp-execution-role

Step 2: Run version 1 with fixed limits

Start run asks for the agent endpoint (v1), the dataset (ridgeline_order_desk, version 1), the evaluators and the verdict. I picked three evaluators: Correctness (against the expected answer), GoalSuccessRate (against the assertion) and TrajectoryAnyOrderMatch (were the expected tools called). With verdict, no comparison: at least 85% of the 20 cases must pass, and a case passes only with a score of 1 on all three.

The Start run form: three evaluators selected, With verdict, Compare with No comparison, at least 85% of 20 cases, each evaluator at least 1

The run took 6 minutes 45 seconds, all 20 sessions hosted on AgentCore. It passed: 20 of 20 cases, an average of 1.00 on all three evaluators, 34,994 tokens and an average latency of 1.53 s.

Run 1 Passed: rule pass rate at least 85% with all three evaluators at least 1.00, averages 1.00 for Correctness, GoalSuccessRate and TrajectoryAnyOrderMatch

Step 3: Ship a regression and run it against the last passing run

Version 2 is the kind of change that gets through review: lookup_order returns only the status, “to cut tool-result tokens”.

# v2: return only the status, to cut tool-result tokens
return {"order_id": order_id, "found": False} if order is None else {"order_id": order_id, "found": True, "status": order["status"]}

It runs on the v2 endpoint. Back on the experiment page, I used Edit configuration and run with the description “v2: lookup_order returns only the status”, switched the agent endpoint to v2, and set Compare with to Last passing run (run 1). That replaces the fixed limits with “No score regressions”: on every case both runs scored, no evaluator may score lower than in run 1.

Compare with Last passing run (run 1): the rule becomes No score regressions, higher is better for all three evaluators

Run 2 took 6 minutes 26 seconds and failed. The decisive check counted 21 lower scores: 11 on Correctness and 10 on GoalSuccessRate. Correctness averaged 0.45 and GoalSuccessRate 0.5. Without the carrier, the delivery date or the total, the agent answered those questions wrong or not at all.

Run 2 Failed, rule No score regressions: the Regressed 11 tab, and per-case results such as Correctness 0.00 against 1.00 in run 1

Two things stood out:

  • The trajectory evaluator didn’t notice. TrajectoryAnyOrderMatch stayed at 1.00, because version 2 still called the right tools. Only the judges that read the answer caught it.
  • Compare mode drops the fixed limits. Run 2 shows a pass rate of 100% (20 of 20) next to its Failed verdict, because with a comparison the per-case thresholds are gone; the verdict comes from the regression check, plus a default limit of at most 5% unscored cases, which run 2 met with none.

Pass rate by run: run 1 Passed and run 2 Failed, both at 100% pass rate, run 2 compared with run 1 under No score regressions

The case list also left the Output column empty (-) for my streaming agent, so to see what it actually said I went to the traces.

Step 4: What it cost

The experiments table showed “Unavailable” as the estimated cost of both runs. The Agent cost page did show it: over the hour that held exactly the two runs, an estimated $0.24, of which $0.10 was inference on Claude Haiku 4.5 and $0.14 evaluations, split between the v1 and v2 endpoints. That’s roughly 12 cents a run of 20 cases with three evaluators, with the judges costing a little more than the agent.

Agent cost, past 1 hour: total $0.24, inference $0.10, evaluations $0.14, cost breakdown flowing to ridgeline_order_desk and its v1 and v2 endpoints

Step 5: An SLO on the agent

The SLO form offered a recommended SLO for the agent’s service: availability, 99.9% of requests over the rolling 28 days, built as a PromQL query on its span metrics, with a burn-rate alert (1 hour confirmed over 5 minutes, warning at 6x, critical at 14.4x) and an error-budget alert already set. I accepted it as offered; it started with “No data” while the first evaluation window filled. The form only recommends an SLO once a service has span metrics, so this step was recorded on an earlier deployment of the same agent, whose service is named ridgeline_order_desk.DEFAULT.

Create SLO from the recommended availability SLO: generated PromQL for total and bad events, 99.9% of requests over the rolling 28 days, burn rate alert

Cleanup

Everything here is deleted after the run: the SLO and the experiment (in the console, or aws cloudwatchomni delete-omni-slo and delete-experiment), the dataset, the runtime with its two endpoints, its code bucket and the two IAM roles, plus the results log group.

aws cloudwatchomni delete-experiment --experiment-id <experiment-id> --region us-east-1
aws bedrock-agentcore-control delete-dataset --dataset-id <dataset-id> --region us-east-1
aws bedrock-agentcore-control delete-agent-runtime --agent-runtime-id <runtime-id> --region us-east-1
aws logs delete-log-group --log-group-name /aws/cloudwatch/experiments/results --region us-east-1

An idle AgentCore Runtime and an empty Omni space cost nothing; the spend is in the runs.

Verdict

The gate works. The good version passed 20 of 20, the regressed version failed against it with 21 lower scores, and both verdicts came from forms in the console, in under 7 minutes a run and about 12 cents each. Comparing with the last passing run is the feature I’d use: no thresholds to tune, and a release fails the moment any case gets worse.

What I’d watch:

  • Pick judges that read the answer. A tool-trajectory check alone passed a version that answered half the questions wrong.
  • Compare mode replaces your limits. Keep a fixed-limit run too if you want a pass-rate floor.
  • Plan for access. Creating an experiment in the console needed a Space admin grant in my account.

Against running AgentCore batch evaluations directly, which Omni uses for hosted runs, the gain is the experiment record: verdicts, rules, run-to-run comparison and cost in one place, next to the traces.

The my2cents.ai email

AI and cloud tools, tested for real. In your inbox once a week.

The week's hands-on tests and the launches that matter, in one email.

Free, one email a week, unsubscribe any time. We’ll send you a link to confirm. Your address is stored encrypted and never shared. Privacy

Comments