experiments.do

Ship Features Faster with A/B Testing

Run experiments at global edge locations with instant assignment. Test variations and feature releases with automatic statistical analysis.

Read the docs
index.tsexperiments.do
import { Experiments } from 'experiments.do' // A/B test at the edge with <5ms assignmenton.Request.to.PricingPage($ => {  const variant = Experiments.assign({    experimentId: 'pricing-redesign',    userId: $.User.id,    variants: { control: 50, newDesign: 50 }  })   $.Analytics.track.ExperimentView({ variant: variant.id })  return variant.id === 'newDesign'    ? $.Render('pricing-v2')    : $.Render('pricing-v1')})

One of 48 primitives

experiments.do sits in Insight: measure, test and trace. Every .do shares one grammar, Business-as-Code, and one SDK.

Business

Goals, plans and the work itself

Workflows

Triggers, steps and functions

Data

Records, vocabulary and search

Insight

Measure, test and trace

Build

Ship from code, CLI or MCP

Frequently asked questions

Build your 1-person unicorn

Write the business. Agents run it around the clock.

Read the docs