DocsExperiments
Run an A/B test from a prompt
Test two or more versions of a page against each other and see which one wins.
A/B testing is part of Growth and Scale. Admins start, pause and end experiments.
Most teams do not test because testing is slow. Someone has to build the variant, wire up a tool, fight the flicker and wait for a developer. On Sherpa a test is one request. Your agent builds the versions, sets the goal and shows you all of them on a preview.
Versions are built ahead of time and served from the edge, so visitors never see a page jump, and a version can change anything on the page, not only a line of text.
See it in action
Ask your agent this.
Test a shorter headline on my pricing page against the current one. Write two options in our voice, use the Demo requests funnel as the goal and show me every version on one preview.
It answers with something like this.
The test is set up with three versions and Demo requests as the goal.
- Control. Simple pricing for teams of every size
- Version B. One price. Every feature
- Version C. Start free. Pay when it works
When you publish, you choose how to split traffic and whether to launch right away.
Test a shorter headline on my pricing page against the current one. Write two options in our voice, use the Demo requests funnel as the goal and show me every version on one preview.
Started a changestart_change
Read the pageread_file
Made the editsedit_files
Checked the experimentvalidate_experiments
Built a previewpreview_change
The test is set up with three versions and Demo requests as the goal.
- Control. Simple pricing for teams of every size
- Version B. One price. Every feature
- Version C. Start free. Pay when it works
When you publish, you choose how to split traffic and whether to launch right away.
What happens
- Your agent builds the new versions next to the current one and checks the experiment is set up correctly.
- It builds a preview where you can look at each version.
- You ask it to publish. The review shows the experiment and lets you choose the traffic split, and whether to launch on publish or later.
- You press Publish. Visitors start seeing the versions once the experiment is launched.
- You watch results on the Experiments page or ask your agent.
What to check
- Each version looks right on desktop and on a phone.
- The goal is the conversion you care about.
- The experiment shows as Running on the Experiments page.
What you can test
- A headline, a subheading or a button label
- A whole section, such as the hero or the pricing table
- The order of sections on a page
- A long page against a short one
- A completely different design for the same page
Because the website is code, a version can change anything on the page, not only text.
Good to know
No flicker
Every version is built ahead of time and served from the edge. Visitors never see the page change after it loads.
More than two versions
An experiment can have up to fifteen versions besides the current page. The current page is always Control.
Pick the goal first
A test needs one clear goal. Use a saved funnel so results are measured the same way every time.
Visitors keep their version
A returning visitor sees the version they saw before, so the experience is consistent and the results are clean.
After you launch
See Read experiment results and Start, pause and end an experiment.
Common questions
Will an A/B test make my page flicker?
No. Every version is built ahead of time and served from the edge, so visitors never see the page jump.
Does a person have to approve a test before it goes live?
Yes. Your agent builds the versions and a preview, and nothing reaches visitors until a person presses Publish on the review. You choose the traffic split there.
Who can start an A/B test?
Anyone on the team can ask their agent to build one. An admin starts, pauses and ends it. A/B testing is part of Growth and Scale.
Example prompts
Each one works as written in Claude or ChatGPT once Sherpa is connected. Swap in your own pages and dates.
The request from the example
Test a shorter headline on my pricing page against the current one. Write two options in our voice, use the Demo requests funnel as the goal and show me every version on one preview.
It names the page, the one thing being tested and the goal. A test with one change and one goal gives an answer you can trust.
The data-led test
Look at my analytics, find the page where the most visitors leave without clicking anything and propose one test for it.
Starting from the data means you test where it matters, not where it is easy.
The short form bet
Test our demo form with three fields against the current six. Use completed bookings as the goal.
Shorter forms usually convert better and qualify worse. Naming the goal decides which one you are measuring.
The headline tournament
Write five pricing page headlines in our voice and test them all against the current one.
More versions find a winner faster on a busy page. On a quiet page, test fewer.
The hero duel
Test the new homepage hero against the old one. Keep everything below it identical.
Changing one thing is what lets you say why the winner won.
For agents
Sherpa MCP tools for this job, in the order they are usually called. edit_files, validate_experiments, preview_change, submit_change, list_experiments. Work inside a change, and only call submit_change when the person asks to publish. A person presses Publish. Every tool is described in the MCP reference.






