Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          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.

          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.

          Subagent Assertion AI-generated test utterances are designed to trigger your agent to select their assigned subagents. So, the subagent assertion evaluation determines if your agent selected the correct subagents based on the utterance.
          Action Assertion Similar to the subagent assertion, AI-generated test utterances are designed to trigger your agent to select specific actions. The action assertion checks that the agent selects the right actions and includes all expected actions based on the utterance.

          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