Continuous agent evaluation: nine release gates
AWS published a nine-stage framework for evaluating agents from quality definition through production feedback. This guide turns the release into a vendor-neutral architecture: contracts for tools, agents, and orchestration; calibrated judges; canaries; drift detection; and changes that are never applied automatically without passing the gates again.
- Published
- min read
- 7 min read
- Categoría
- AI Systems
On this page
8 chapters- 01Why does a green dashboard not prove quality?
- 02What belongs in an evaluation contract?
- 03Nine gates, one continuous loop
- 04When should you trust an LLM as a judge?
- 05Hypothetical example: a SaaS renewal agent
- 06How do you evaluate production without capturing everything?
- 07What should you implement first in four weeks?
- 08Conclusion: evaluate decisions, not only answers

Chapter 01
Why does a green dashboard not prove quality?
Continuous evaluation detects whether an agent keeps making correct decisions, not merely whether it responds.
An agent can preserve latency, availability, and technical error rates while degrading the outcome users receive. A source changes schema, the router selects another sub-agent, a tool description becomes ambiguous, or a model changes behavior; the answer still arrives fluently and the traditional monitor stays green. On October 16, 2026, AWS published a nine-stage framework for operating that risk with evaluation from the first contract through live traffic. The news was two Lima calendar days old when consulted on October 18. It is evidence of one provider's practice and implementation, not a universal quality guarantee.
The CTO decision is not to buy nine tools. It is to close one loop: define success, compare candidates, block regressions in CI, approve the release, observe canaries, attack boundaries, detect drift, maintain an operational pulse, and turn confirmed failures into permanent cases. That loop must operate at three levels: tool, agent, and orchestration. If only the final response is scored, a correct number can hide the wrong tool; if only tools are tested, the orchestrator can combine incompatible results. Quality is a property of the system and its trajectory.
Chapter 02
What belongs in an evaluation contract?
Start with the business decision the agent must support and translate it into observable failures. A financial assistant does not need an abstract 'quality' label: it needs to distinguish an unsourced figure, wrong currency, wrong period, confused entity, unauthorized calculation, and out-of-scope response. Each class needs severity, ownership, evidence, and a promotion threshold. Then add safety, performance, cost, and operational control. A candidate can improve average accuracy and still be unacceptable if it broadens permissions, doubles p90, or makes it impossible to reconstruct which tool produced a claim.
The dataset is also part of the contract. Separate a small sentinel set for every commit, a broader golden set for the release gate, and adversarial cases that try to force data leakage, forbidden tool selection, or scope expansion. Stratify by risk, language, user type, source, length, and tool path. Preserve initial state, expected responses or assertions, allowed trajectory, and data version. AgentCore's on-demand evaluation API accepts OpenTelemetry traces and can receive expected responses, assertions, and expected tool trajectories; that design illustrates why a simple prompt-response pair is insufficient for an agent.
- Tool: arguments, result, permissions, latency, and deterministic failure.
- Agent: goal attainment, grounding, scope, cost, and trajectory.
- Orchestration: routing, cross-agent coherence, synthesis, and error propagation.
Chapter 03
Nine gates, one continuous loop
Each gate answers a different question and produces evidence for the next one.
AWS's sequence is useful as a map, but it must be adapted to each product's risk and cadence. Foundation defines what 'good' means; Experiment compares versions; Merge finds fast regressions; Gate decides whether the candidate deserves production; Canary looks for post-deploy failures; Adversary pushes safety and quality boundaries; Drift compares segments and time; Pulse supports diagnosis now; Feedback turns validated incidents into changes and new cases. They are not nine independent ceremonies: they share datasets, taxonomy, versions, and traces.
| Stage | Minimum evidence | Decision |
|---|---|---|
| 1. Foundation | Taxonomy, thresholds, and golden set | Define the contract |
| 2. Experiment | Paired comparison and cost | Choose candidate |
| 3. Merge | Sentinel per tool, agent, and flow | Accept the change |
| 4. Gate | Stable golden-set replay | Promote or block |
| 5. Canary | Limited traffic plus synthetics | Expand or roll back |
| 6. Adversary | Abuse and boundary cases | Close gaps |
| 7. Drift | Cohorts and time baseline | Investigate degradation |
| 8. Pulse | Alarm linked to trace | Diagnose and contain |
| 9. Feedback | Confirmed failure and new case | Improve and revalidate |
Chapter 04
When should you trust an LLM as a judge?
A probabilistic judge helps with semantic properties such as grounding, relevance, or completeness, but it should not replace an available oracle. Use code for schemas, permissions, amounts, identifiers, SQL, invariants, exact tool selection, and absence of known secrets. Use human review for domain ambiguity, severity, and editorial quality. Reserve the LLM judge for criteria whose rubric can be written, exemplified, and audited. AgentCore documentation distinguishes built-in, third-party, custom LLM, and custom code evaluators; the right choice depends on the property being tested, not dashboard convenience.
Calibrate every judge against a set labeled by qualified people and measure false positives, false negatives, and per-class agreement, not only global correlation. Version the model, prompt, scale, and examples; recalibrate when any changes. Keep boundary cases outside the set used to tune the rubric. When the judge disagrees with a deterministic oracle, the oracle governs. When it disagrees with humans, do not average away the conflict: revisit the definition. A continuous score looks precise, but it can compress severe errors and stylistic preferences into the same decimal.
Chapter 05
Hypothetical example: a SaaS renewal agent
Imagine an agent that prepares renewals: it queries CRM, billing, tickets, and usage, then drafts a summary and recommends an action. The team changes the billing connector and every call still returns HTTP 200. However, the currency field is now empty for a Latin American cohort. The agent fills in the symbol from the country and produces plausible figures. Availability, latency, and errors remain normal; quality degraded without a visible outage.
The contract would have caught the problem at several layers. A tool test requires source-provided code and currency, not inference. The CI sentinel contains two multi-currency accounts. The release gate replays validated responses and compares candidate with production. The canary sends a synthetic query after deployment. Drift segments by region and detects a grounding drop even when the global average barely moves. Pulse links the alarm to the trace and connector version. Feedback adds the incident to the golden set, but the proposed fix passes the nine gates again; it is not promoted merely because an automated recommendation sounds convincing.
This example is hypothetical. It does not describe a client, measurement, or Wasyra experience. Its purpose is to show that the same failure should be detectable before and after deployment, and attributable to a specific tool without indiscriminately storing prompts, tickets, or customer data.
Chapter 06
How do you evaluate production without capturing everything?
Online evaluation needs deliberate sampling. Combine a random sample for trend detection with oversampling of critical paths, new versions, sensitive tools, long sessions, and cohorts where the model has less evidence. Add stable synthetic traffic to distinguish system drift from changes in the user mix. AgentCore's documented online configuration supports trace sources, filters, sampling rate, and up to 25 evaluators. That limit is a technical capability; it does not imply that enabling more evaluators produces better signal.
Record version identifiers, trajectory, normalized outcome, and required scores with explicit retention and access. The earlier article on agent telemetry explains why observability does not require copying complete content. For an investigation, enable content only in a bounded, authorized window. Also preserve a holdout that does not feed recommendations: if every evaluated failure immediately tunes prompts or tools, the system can optimize for the judge without improving real work.
Chapter 07
What should you implement first in four weeks?
Week one: choose one high-value, narrow-scope flow; define five to ten failure classes, severity, and a small domain-reviewed golden set. Week two: instrument model, prompt, data, and tool versions; add deterministic oracles and calibrate only the semantic judges you need. Week three: connect a sentinel to CI and a broader replay to release; require comparison against the current baseline and block any safety violation even if the average improves. Week four: deploy a canary, synthetics, risk-based sampling, alarms with a runbook, and a practiced rollback.
Do not automate feedback until the team can explain false positives, reconstruct a trace, and roll back a version. Prompt or tool-description recommendations are candidates, not approved changes. Review new failures and coverage weekly; retire redundant cases monthly without deleting high-severity incidents. Measure cost per evaluated session, time to detect, time to attribute, regressions blocked, and escaped failures. A single score works for a summary; the decision needs the distribution by class and cohort.
- Do not promote on averages when a critical class degrades.
- Do not use the same set to tune and claim improvement.
- Do not turn production into a dataset without purpose, access, and retention.
- Do not close the loop with automatic changes that bypass the gates.
Chapter 08
Conclusion: evaluate decisions, not only answers
The value of the nine-stage framework is not a longer list of metrics. It connects definition, release, live traffic, and incidents under the same versioned contract. Start with one flow, three evidence levels, and a few failures the business actually understands. Combine deterministic oracles, calibrated judges, and human review. Then expand coverage according to incidents and risk, not according to how many evaluators are available.
If you need to take an agent from demo to an operable system, Wasyra can help design datasets, tools, permissions, traces, and promotion gates. The goal is not to declare an agent 'trustworthy' once: it is to prove which version passed, which degradation was detected, and how the team recovered service without hiding uncertainty.
Written by
Wasyra AI Systems
Trust, copilots, and enterprise adoption
Wasyra AI Systems covers guardrails, suggestion-first modes, and review design so work assistants earn real adoption.
Series
AI systems that actually reach production
A series on agents, copilots, and guardrails for bringing AI into real work without breaking trust or operations.
Posts in this seriesMore from this author
More from this author
AI Systems
Open-weight models: five gates before self-hosting
Owning the weights is not the same as controlling the system. Five gates to decide whether an open-weight model deserves your infrastructure.
ArticleAI Systems
Agentic Autofix: six gates for accepting a security patch
Closing an alert does not prove that a patch is safe. This framework separates detection, remediation, regression, and the merge decision.
ArticleKeep reading
Keep reading
AI Systems
Open-weight models: five gates before self-hosting
Owning the weights is not the same as controlling the system. Five gates to decide whether an open-weight model deserves your infrastructure.
ArticleAI Systems
Agentic Autofix: six gates for accepting a security patch
Closing an alert does not prove that a patch is safe. This framework separates detection, remediation, regression, and the merge decision.
ArticleAI Systems
Fresh agent policies: when to fail closed
A central policy cannot protect a client using a stale copy. Five gates turn freshness, precedence, and version into evidence.
Article