Turn features on and off
Put a feature behind a Flag, then change its rollout without redeploying your app. Each Environment has its own configuration, so you can test in dev before enabling it in prod.
Feature flags and experiments, built for agents
Turn features on or off without redeploying your app. Run A/B experiments to measure how changes affect your users. Your coding agent can manage both through the CLI.
npm install --global @splitch/cli
splitch login
splitch context --jsonControl
Current model
The model you use today
Treatment
Candidate model
A cheaper model to try
Flags + Experiments
Use Flags when you need a switch. Add an Experiment when you have a question to answer, like whether users prefer the responses from a different model.
Put a feature behind a Flag, then change its rollout without redeploying your app. Each Environment has its own configuration, so you can test in dev before enabling it in prod.
Test a new model, prompt, or product change against what you use today. Connect user feedback to a Metric and compare the Variants with a confidence interval.
Agent first
Install the CLI, authenticate, and select your App and Environment. Your coding agent can then configure Flags, set up Experiments, and read results from your terminal.
splitch context --json
splitch flags list --jsonEvery command supports JSON output. Errors include a code and a suggested next step, so your agent can act on the response. See the CLI guide for setup and commands.
What it can do once connected
Prefer MCP? Connect your agent to the splitch MCP server. You can also manage Flags and Experiments in the control panel. Read the agent setup guide.
Statistical rigor
An Experiment can show an improvement, a regression, or an inconclusive result. How much you can learn depends on the feedback you collect and the size of the effect.
In practice
In Neuron, we use splitch to compare a newer, cheaper model with the model we have been using. Users provide feedback on the responses, which we measure in an Experiment.
The question is whether user feedback differs between the models. An inconclusive result does not establish that they perform equally well.
Quickstart
Install the CLI and authenticate, then create and verify a Flag before connecting it to your application.
Step 1
Environments and keys for dev and prod come with it.
Step 2
Name it, give it Variants, enable it, set the rollout.
Step 3
A real round trip on your credential, before you touch code.
Step 4
evaluate() returns the Variant and records the Exposure.
Start with a feature toggle. Add an Experiment when you want to measure its effect.
Why splitch? Split testing and feature switches, fused into one word.