Illustration of an AI agent being checked for response, tool, and safety behavior.

Agent evaluation checks the whole interaction, including responses, tools, and safety.

Amazon Bedrock AgentCore Evaluations helps you test whether an AI agent actually completes a user's task, uses tools correctly, remembers the conversation, and avoids unsafe behavior. AWS announced managed DeepEval and AutoEval evaluators on November 10, 2026, so beginners can run built-in, third-party, or custom evaluation checks through the same AgentCore service instead of building a separate evaluation system. AWS describes the new evaluator catalog and selection approach here.

Key takeaways

  • Start with the business outcome you need, then choose observable behaviors and evaluators that measure those behaviors.
  • AgentCore supports AWS built-in evaluators, managed DeepEval and AutoEval metrics, and custom evaluators.
  • Use on-demand evaluation while developing, batch evaluation for regression tests, and online evaluation for sampled production traffic.
  • Trace-level evaluators inspect a turn or tool call, while session-level evaluators assess an entire multi-turn conversation.
  • A score is useful only when you know which agent behavior it represents and what action you will take if it drops.

What Amazon Bedrock AgentCore Evaluations does

An AI agent can produce an answer that sounds good and still fail the user. It might choose the wrong tool, send bad tool parameters, forget a request from an earlier turn, expose personal information, or refuse a task that it could have completed.

AgentCore Evaluations scores the traces produced by an agent. A trace is the record of work for an interaction. It can include the user's request, model calls, tool calls, tool results, and the final answer. AgentCore can reconstruct sessions from telemetry and pass the relevant evidence to an evaluator.

A session contains one or more user turns. In AgentCore documentation, a trace generally represents one turn, and spans represent individual operations inside that turn, such as a model inference or tool execution. That difference matters because some checks belong on one answer, while others only make sense after reading a whole conversation.

Evaluation levelWhat it examinesBeginner example
Tool callA specific tool invocation and its argumentsDid the order lookup tool receive the correct order ID?
TraceOne user turn and the agent responseWas this answer helpful and relevant?
SessionThe complete conversationDid the agent resolve every part of a multi-turn support request?

This is different from checking latency, errors, and token usage. Those operational signals still matter. They do not tell you whether the agent met the user's goal safely.

Start with an outcome, not an evaluator name

The easiest mistake is selecting a metric because its name sounds useful. For example, helpfulness can be a good signal, but a helpful answer is not proof that a refund agent followed a refund policy or that a research agent cited the right documents.

Use this three-step method from AWS when you design an evaluation stack.

  1. Define success in plain business terms.
  2. Break that result into behaviors you can observe in traces or sessions.
  3. Choose an evaluator at the correct level for each behavior.

Example: a beginner support agent

Suppose you have an agent that helps customers find an order and start a return. A useful business outcome is: the customer gets the issue resolved in one conversation without the agent exposing personal information.

That outcome has several behaviors. The agent needs to complete the task, address all requests when the conversation has multiple turns, call the appropriate tool with valid arguments, and avoid leaking personal information. One generic quality score could hide a failure in any one of those areas.

A practical starter stack is Builtin.GoalSuccessRate for the session outcome, ThirdParty.DeepEval.ConversationCompleteness for dropped requests across turns, and ThirdParty.DeepEval.PIILeakage for possible exposure of personal information. Add tool metrics only when the agent actually invokes tools and you have a clear expected behavior to test.

The three evaluator choices in AgentCore

AgentCore provides three evaluator paths. The right path depends on how much control you need and whether a catalog metric already measures your requirement.

ChoiceBest first useWho manages the model and evaluation logic?
Built-in evaluatorCommon quality, completion, tool, skill, and safety checksAWS
Managed third-party evaluatorDeepEval or AutoEval metrics your team already recognizesAWS
Custom or custom derived evaluatorA company-specific rubric, model choice, or prompt requirementYou choose the configuration

Built-in AWS evaluators

AWS built-in evaluators cover response quality, task completion, tool use, skills, safety, and expected tool trajectories. Response quality includes evaluators such as Builtin.Correctness, Builtin.Faithfulness, Builtin.Helpfulness, Builtin.ResponseRelevance, and Builtin.InstructionFollowing.

For tool-using agents, Builtin.ToolSelectionAccuracy checks tool choice and Builtin.ToolParameterAccuracy checks arguments. AWS also offers trajectory checks, including Builtin.TrajectoryExactOrderMatch, Builtin.TrajectoryInOrderMatch, and Builtin.TrajectoryAnyOrderMatch. These compare the path your agent took with an expected tool path, so they need ground truth.

For a first evaluation, use a built-in evaluator when it directly matches the behavior you care about. It is the lowest-effort choice because you reference its evaluator ID and AgentCore manages the rest.

Managed DeepEval evaluators

DeepEval is an open-source evaluation framework with an AgentCore integration. Its documentation shows how AgentCore traces can contain agent, model, and tool spans, and how those traces can be evaluated in a script or CI pipeline.

In AgentCore, managed DeepEval metrics include TaskCompletion, GoalAccuracy, ConversationCompleteness, KnowledgeRetention, TurnRelevancy, ToolUse, Bias, Toxicity, and PIILeakage. These are particularly useful when the agent has long conversations and must retain information across turns.

A managed evaluator uses IDs such as ThirdParty.DeepEval.TaskCompletion. AWS hosts the evaluation code, selects the model for the managed evaluator, and manages the validated library version. AWS states that it benchmarks its built-in evaluators, but it does not make quality claims about the open-source third-party evaluators. Treat every metric as something to validate against your own examples.

Managed AutoEval evaluators

AutoEval comes from Braintrust's open-source Autoevals project. AgentCore currently exposes ThirdParty.AutoEval.Security, ThirdParty.AutoEval.Possible, and ThirdParty.AutoEval.Humor.

Security is useful when you want a signal for malicious output, including attempts to reveal system prompts or follow malicious instructions. Possible helps identify agents that give up and label a valid task impossible. Humor is a specialized choice for consumer-facing experiences where that behavior is part of the product requirement.

Do not add metrics only because they are available. A business support agent usually needs completion, completeness, privacy, and perhaps tool use before humor becomes useful.

Run your first on-demand evaluation

On-demand evaluation is the simplest place to start. You choose the session spans to score, call the synchronous Evaluate API, and receive scores and explanations. It works well for a debugging session, a reported bad interaction, or a small set of test cases.

Before you call the API, your agent needs telemetry in CloudWatch. AWS lists AgentCore observability, transaction search, appropriate IAM permissions, and Amazon Bedrock model invocation permissions as prerequisites. After an invocation, AWS advises waiting 2 to 5 minutes for CloudWatch telemetry ingestion before starting an on-demand evaluation.

The following Python example uses the managed DeepEval task completion evaluator. The session_span_logs value must contain the OpenTelemetry session spans collected for the agent session.

Python
import boto3

client = boto3.client("bedrock-agentcore", region_name="us-east-1")

response = client.evaluate(
    evaluatorId="ThirdParty.DeepEval.TaskCompletion",
    evaluationInput={
        "sessionSpans": session_span_logs
    }
)

for result in response["evaluationResults"]:
    print("Value:", result.get("value"))
    print("Explanation:", result.get("explanation", ""))

The result list can contain more than one item because a session can contain several traces or tool calls. The returned context identifies whether the result applies to a session, trace, or span. For trace-level checks, you can specify trace IDs in evaluationTarget. For tool-level checks, you can specify span IDs.

First, run the same evaluator against a few interactions you already understand. Include a known good session, a session where the agent failed the task, and a session with an edge case. Read the explanations. If the score does not match a reasonable human review, do not make it a release gate yet.

Use on-demand, batch, and online evaluation at the right time

The same evaluator IDs can move through three evaluation modes. That is useful because your development checks, release checks, and production monitoring should measure related behaviors.

ModeWhen to use itExample
On-demandDevelopment and investigationScore a session after fixing a tool-calling bug.
BatchRegression testing before a releaseRun a golden dataset after changing a prompt or model.
OnlineOngoing production monitoringSample live support sessions and watch for declining quality.

Batch evaluation is where reference answers and expected trajectories fit naturally. Your golden dataset can define what a correct answer or valid tool path looks like. This is a good place for correctness and trajectory checks that need ground truth.

Online evaluation attaches to a deployed agent and samples live traffic. It is better for signals that do not require a reference answer, such as PII leakage, security concerns, or a general conversation-quality signal. Be deliberate about data governance because evaluation needs access to the agent evidence it is scoring.

When to create a custom evaluator

Create a custom evaluator only after you check the existing catalog. A custom evaluator makes sense when your rule is specific to your organization, such as verifying that a benefits assistant mentions the correct internal policy steps or that a financial agent refuses actions outside a defined approval limit.

A custom derived evaluator starts with a built-in or managed third-party evaluator. You keep that evaluator's prompt and scoring logic, but choose your own Amazon Bedrock model and inference settings. AWS documents this as a way to keep inference in your AWS account. It also means evaluation quality becomes your responsibility because AWS does not validate every model against each metric.

Multi-dimension evaluators are useful when one trace should be scored against several independent criteria. For example, a reply can be accurate, compliant, and professional, with one score for each criterion. Do not combine unrelated checks into one blended score. Separate results make it easier to block a release when policy compliance regresses even if tone improves.

Practical rules for beginners

  • Start with two or three evaluators tied to one outcome. A large metric dashboard is hard to act on.
  • Keep a small golden dataset of real scenarios with sensitive data removed or protected according to your policy.
  • Include failures, difficult multi-turn requests, and tool errors in that dataset. Easy prompts create misleading scores.
  • Set a baseline before changing prompts, tools, instructions, or models. Compare the same dataset before and after the change.
  • Review evaluator explanations alongside scores. A score tells you where to look, not automatically why the agent behaved that way.
  • Use deterministic checks when an answer can be tested exactly, such as a required field, number, date, or JSON shape.

I would start with one narrow agent task and one small dataset. Get task completion and safety checks working first. Then add conversation, tool, and custom policy checks when you find failures the first set did not catch.

Frequently asked questions

What is Amazon Bedrock AgentCore Evaluations?

Amazon Bedrock AgentCore Evaluations is an AWS service capability for scoring AI agent behavior from agent traces and sessions. It supports built-in, managed third-party, and custom evaluators for behaviors such as task completion, response quality, tool use, and safety.

What is the difference between DeepEval and AutoEval in AgentCore?

DeepEval provides managed metrics for task completion, multi-turn conversation quality, tool use, and safety signals such as PII leakage. AutoEval provides managed specialized metrics for security, whether a task was possible, and humor.

Which evaluators should a beginner use first?

Choose two or three evaluators based on the agent's outcome. A support agent can start with goal success, conversation completeness, and PII leakage. Add tool-selection or trajectory checks only when tool behavior is a meaningful risk.

Can I use AgentCore Evaluations before deploying to production?

Yes. On-demand evaluation lets you score selected sessions during development, and batch evaluation lets you run a fixed dataset for regression testing before a release. Online evaluation is intended for sampled live traffic after deployment.

Do third-party evaluators run in my AWS account?

Managed DeepEval and AutoEval evaluators are operated by the service, which selects the model and manages the evaluator version. A custom derived evaluator lets you run a built-in or third-party evaluator's logic with a model and inference configuration you choose in your AWS account.

Based on reporting by Amazon Web Services, DeepEval and Braintrust.