Skip to content

raia Copilot · Section

Testing Your Agent

A recommended way to test an agent by hand in Copilot.

Test an agent by talking to it in Copilot before customers do. Keep a short, written set of test conversations and run through it by hand after every change. This page describes a recommended practice — it is not a separate testing feature in Copilot.

In this section

  • Write a small set of test questions with the answer you expect for each.
  • Ask each one in a Copilot conversation and compare the reply with what you expected.
  • Click Sources under a reply that is wrong to see which files it cited.
  • Fix the source in Launch Pad, then ask the same question again to confirm the fix.
Question entry, conversation list and filters.
  1. Highlight 1: Ask any question: type a test question.
  2. Highlight 2: Your test conversations, newest first.
  3. Highlight 3: Views: All, Archived, Favorites, Unread and Assigned.
Conversation status and profile-menu controls.
  1. Highlight 1: Status: All, New, Escalated, Complete.
  2. Highlight 2: Admin Mode, in the profile menu.
  3. Highlight 3: Personalized Prompt and Copilot Settings.
A test reply in Copilot. The controls under it let you check where it came from.
  1. Highlight 1: The reply names its source when the instructions ask it to.
  2. Highlight 2: The model name: click it to see Model usage.
  3. Highlight 3: Sources: click it to see the files the reply cited.
Sources lists the files a reply cited. It is not a list of every piece of text that was searched.
  1. Highlight 1: Click Sources under the reply.
  2. Highlight 2: The Files tab.
  3. Highlight 3: The cited file: northstar-support-guide.md.
01

What's inside

  1. 01

    Test question

    A real question a customer would ask, written down so you can ask it the same way every time.

  2. 02

    Expected answer

    What a good reply must include, must not include, or when the agent should hand over to a person.

  3. 03

    Run

    Ask the questions one by one in Copilot and note which replies match what you expected.

  4. 04

    Fix and re-test

    Change the agent's instructions, documents, or skills, then ask the failing questions again.

02

At a glance

Recommended setWhat it coversUse it when
Core questionsFive to ten questions the agent must always answer correctly.After every change
KnowledgeQuestions that match specific documents the agent was given.After adding or changing documents
ActionsRequests that should make the agent use a skill, such as booking or a lookup.After changing a skill
LimitsRequests the agent should refuse or hand to a person.Before a launch or review
Past mistakesQuestions the agent once got wrong in real conversations.Regularly, and before big changes

Tip

When the agent gets a real conversation wrong, add that question to your test set. Questions from real mistakes are the most useful ones to keep.
03

Related