Pult

Feature flags and kill switches, typed in code.

Declare a flag next to the code that reads it, and your team turns it on, off or partly on from the console without a deploy. Your app reads flags from a copy the SDK keeps, so checking one is quick and keeps working when Pult can't be reached.

Get started

Turn anything off, or ease it back on

Flip a switch for everyone, or move a flag over a period or step by step: back on for a tenth of people every hour.

export const maintenance = flag("maintenance", {
  description: "Pauses pushes while we migrate",
})

if (await pult.flag(maintenance, user.id)) {
  return pausedForMaintenance()
}

Maintenance

Pauses pushes while we migrate

Easing off to 0%: 60% now, done 6:00 PM

New editor

On for 25%, and everyone on the beta

Signups

Closed while we deal with a spam wave

Rollouts that stop themselves

Tie a flag to an inbox. If that inbox fills up while the flag is moving, Pult stops the rollout where it is, or puts it back where it started.

export const newEditor = flag("new-editor", {
  description: "The rewritten code editor",
  target: user,
  guard: { inbox: crashes, perHour: 20, then: "revert" },
})

if (await pult.flag(newEditor, user.id)) {
  return renderNewEditor()
}

What comes with it

Rules on your own attributes
Target by plan, country or seat count. Rules are compared in your app, so Pult never sees those attributes.
Values for specific records
Turn something on for one customer, picked by search like any record.
Changes on a schedule
Start a change later, or flip a flag at 2 on a Sunday morning without anyone awake to do it.
Approvals and an audit log
A flag can need a confirmation or a second person, and every change is recorded with its before and after.

What it replaces

Environment variables that need a redeploy to change, and a flags table your app queries on every request.

Read how flags work

Give your team the other side.

Get started