> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lokutor.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Try a change on some of your calls (A/B test)

> Shows how to set up an A/B test on the Customer care · UK agent, what the second version can change, how it is judged and how many calls hear it, then cancels before starting.

A narrated video (1:57), filmed on the real dashboard in a demo workspace, then the same steps in writing.

<video controls playsInline preload="metadata" poster="https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/poster.jpg">
  <source src="https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/video.mp4" type="video/mp4" />
</video>

## What you will see

This video shows how to try a change on some of your calls before you give it to everyone. We'll open the Customer care · UK agent, set up an A/B test, and look at what the second version can change. We'll stop before starting it, so nothing changes for your callers.

![What you will see](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/images/intro.webp)

## Opening the agent

Our agent is Customer care · UK, and today it speaks English with the voice Claire. Open it from the agents list to begin.

1. Press **Customer care · UK**.

![Opening the agent](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/images/open-agent.webp)

## Starting a new test

Tests live on the agent's own page, so open the A/B test next. This is where a changed copy, called B, runs next to the version callers hear now, called A. Press New A/B test to set one up.

1. Press **A/B test**.
2. Press **New A/B test**.

![Starting a new test](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/images/ab-test-setup.webp)

## What B can change

The first thing to see is what B changes. It's empty for now, so nothing is set until you choose something or edit the agent. B can use another voice, and today the voice is Claire. You can also swap the language model, which starts on the Lokutor default. And B can say a different first message, the line the caller hears first.

![What B can change](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/images/what-b-changes.webp)

## Choosing the goal

Next comes the goal, which decides which version is better. B is better if more calls have one of four results. They are solved without a person, the caller stays on the line, a success rule is met, or a piece of data is collected. Pick the one that matches what you want the change to do.

![Choosing the goal](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/images/goal.webp)

## How many calls

Then you decide how many calls hear B. It starts on half, so half of the calls get B and the rest keep A. You can choose 10%, 25% or half, on phone calls, web calls, or all calls.

![How many calls](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/images/how-many.webp)

## Cancelling the setup

We won't start this test, so press Cancel. Nothing is started, and every caller keeps hearing what they hear now.

1. Press **Cancel**.

![Cancelling the setup](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/images/cancel-setup.webp)

## What happens next

Once a test runs, the page tells you when it's too early to call a winner. When one version is ahead, you can use B for everyone or stop and keep A.

![What happens next](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/ab-test/en/images/wrap-up.webp)

*Voice made with AI.*

Read more: [A/B tests](https://docs.lokutor.com/guides/ab-testing.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.