Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce and Einstein Generative AI
Default Scorers

Default Scorers

Default scorers measure your AI agent’s performance across response accuracy, subagent assertion, and action assertion.

Required Editions

green checkmark

This article applies to:

New Testing Center in Agentforce Studio (Beta)
red crossmark

This article doesn’t apply to:

Legacy Agentforce Testing Center in Setup
Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type.
User Permissions Needed
To create tests in the Testing Center:

Manage Agentforce Grids

AND

Manage Agentforce Testing

Default scorers are always tested.

Assertions

Assertion scorers apply to both turn-level and conversation-level testing. In turn-level testing they appear as Subagent Assertion and Action Assertion. In conversation-level testing they appear as Subagent Evaluation and Actions Evaluation.

Scorer Definition
Subagent Assertion / Subagent Evaluation AI-generated test utterances are designed to trigger your agent to select their assigned subagents. This scorer determines if your agent selected the correct subagent based on the utterance.
Action Assertion / Actions Evaluation AI-generated test utterances are designed to trigger your agent to select specific actions. This scorer checks that the agent selects the right actions based on the utterance.

Turn-Level Testing

Scorer Definition
Response Evaluation

We send the test utterance to the agent and record the response. An LLM judge determines the expected response, compares it to the agent's response, and assigns a score.

The Expected Response field should reflect the response you expect the agent to give. A common mistake is including instructions about the response like "the agent should mention the order number and be polite." This produces inaccurate scores.

Conversation-Level Testing

Scorer Definition
Task Resolution Returns a pass or fail based on whether the agent resolved the user's issue.

Once Agentforce finishes generating tests, they appear under Test Cases. Depending on the size and complexity of the request, this process can take anywhere from a few minutes to several hours. You may need to refresh the testing suite to see your test cases.

When the test cases appear, click Run Test. Agentforce begins running your scorers on the test cases.

 
Loading
Salesforce Help | Article