Skip to main content

A/B Experiments

An experiment runs one agent two ways on live traffic. A is the agent as configured today. B is the same agent with one or more changes:

  • a different model (any model your workspace has a key for);
  • a forked system or context prompt — used only for B's conversations until B wins;
  • skills added or withheld;
  • a different tool budget (maximum tool iterations).

Up to three challengers can run against A. Find it under Control → Analytics → Experiments.

How traffic is split​

You choose the share of conversations that go to B (5–50 %). Each conversation is assigned once and keeps its variant for every turn — a thread never switches model or prompt half-way. The agent itself is not modified while the experiment runs.

Excluded: confidential runs, coding sessions and Loyd.

What is measured​

Every run records its cost, response time, tokens, whether it completed, and how many tool calls failed. Per conversation, the number of turns. Optionally, answer quality: your utility model grades a sample of answers from 1 to 5 against the agent's role, without knowing which variant wrote them.

How the winner is decided​

You pick the axes; the first one is the primary axis and decides. Every other axis is a guardrail that B must not make significantly worse — so "cheaper but fails more often" never wins.

  • No verdict before each variant has the minimum number of conversations (30 by default).
  • Differences are tested at the confidence level you choose (95 % by default); the results table shows each difference with its confidence interval.
  • If time runs out without a significant difference, A stays.

When B wins​

Running experiments are evaluated every 15 minutes. A conclusive experiment stops on its own, and depending on the setting you chose:

  • Ask me to approve — you are notified; Apply or Decline from the experiment.
  • Apply automatically — B's changes are written to the agent at once.

Applying is recorded like any other change: a forked prompt becomes a new, revertible prompt version; model, skills and tool budget changes are written to the audit trail.

Use an experiment to qualify a fallback​

An experiment whose challenger changes the model and does not lose can be turned into a qualified fallback for the agent with Qualify as fallback — see Inference Continuity.