feature flags for the terminal

Flip features, not deploys.

Switchyard keeps your feature flags in your repository and flips them from the command line. Ship code dark, roll it out by percentage, and roll it back in one command.

readout

  • checkout-v2 .......... 10%
  • new-search ........... on
  • dark-mode ............ off
  • p95 flip latency ..... 40ms

yard --demo

One command per decision.

Three sessions from a normal day. Every flip is logged, reviewable, and undoable.

  1. yard flip checkout-v2 --to 10% --reason "canary"

  2. flip(checkout-v2, production)

    off → 10% of users

    logged as #482 by sam

  3. checkout-v2 is live for 10% of production. Error rate and latency are on the dashboard.

  1. yard off new-search --env production

  2. flip(new-search, production)

    on → off

    propagated to 14 regions in 38ms

  3. new-search is off everywhere. The code stays deployed; flip it back when the fix lands.

  1. yard new dark-mode --default off --pr

  2. write(flags/dark-mode.toml)

    created flags/dark-mode.toml

    opened pull request #219

  3. dark-mode is ready for review. It goes live, off, when #219 merges.

A new checkout reaches ten percent of shoppers without a deploy.

changelog

Shipping weekly, in the open.

What changed in the CLI and the SDKs. Every release is backwards compatible with your flag files.

spoke-code releases3 releases · all included

  1. v2.4.0Approval rules per flag, Ruby SDK
  2. v2.3.0Percentage rollouts by any attribute
  3. v2.2.0yard diff: compare environments side by side

Full history at switchyard.example/changelog.

What you get

Small tool. Sharp edges where you want them.

  1. [ 0.001 ]Flags live in your repo

    Each flag is a TOML file next to the code it guards. Changes go through pull requests, so review and history come free.

  2. [ 0.002 ]One SDK call

    yard.on("checkout-v2", user) returns true or false. No clients to configure, no background threads, no surprises in your bundle.

  3. [ 0.003 ]Rollouts by percentage

    Turn a feature on for 1%, 10%, then everyone. The same user always lands on the same side.

  4. [ 0.004 ]Instant rollback

    yard off reaches every region in under 50ms. The code stays deployed; only the switch moves.

  5. [ 0.005 ]A full audit trail

    Who flipped what, when, from where, and why. Search it from the CLI or export it as JSON.

ls flags/

Your flags are just files.

Everything Switchyard knows sits in your repository. Pick an entry to see what it does.

tree

switchyard.toml

project settings

Which environments exist and who may flip flags in each. Changes to this file need two approvals.

yard plans --list

Priced per team, never per flag.

Every plan has the CLI, the SDKs, and instant flips, with a 14-day trial and no card. Bigger plans add people, environments, and history.

  • Solo

    One project, one person.

    $9/ mo

    billed monthly

    • 1 project
    • 25 flags
    • 2 environments
    • 30 days of history
    Start a trial
  • TeamRecommended

    For a team shipping every day.

    $29/ mo

    billed monthly

    • Unlimited projects
    • Unlimited flags
    • Percentage rollouts
    • Audit log, one year
    • Up to 10 people
    Start a trial
  • Scale

    Many teams, one control room.

    $99/ mo

    billed monthly

    • Everything in Team
    • Unlimited people
    • SSO and roles
    • Approval rules per flag
    • Priority support
    Talk to us

Prices in USD. Yearly billing gets two months free.

Before you install

The questions people ask first.

A switch in your code that turns a feature on or off without a deploy. Ship the code dark, then flip it on for yourself, for ten percent of users, or for everyone.

Start

Ship it dark today. Flip it on when you're ready.

Install the CLI, add your first flag, and open a pull request. It takes about five minutes.

npm i -g @switchyard/cli
Start a trial