Feature flags
Show a change to a few people first, then everyone, with no deploy.
- Plans
- Starter and up
What you get
- A new version of part of an app, shown to a few people first
- On for the team, named people, a group, or a share of everyone
- Changed in seconds from the dashboard or the CLI, with no deploy
- A kill switch that turns a misbehaving part off at once
How it works
The app's whisk.yaml names each flag, and the app checks the X-Whisk-Flags header on each request to see which are on for the person asking. Who a flag is on for lives in Whisk, not in the code: the app's Flags page, whisk flags and the API change it, and the next requests carry the change.
A release flag ships a change. Turn it on for your own team, then for a group of customers, then for a share of everyone, and finally for all. A person keeps their side as the share grows. Each release flag has a day it should be gone by, and whisk doctor reminds the agent to delete the old path once the flag is on for everyone.
A kill switch turns something off when it misbehaves, such as payments or a call to an outside service. A permission flag gives a feature to some people, such as a beta. Preview deployments can have every flag on, so a change can be tried before anyone sees it.
Example
A landscaping company rebuilds the checkout in its customer portal. The office staff use the new checkout for a week, then 10% of customers, then everyone. When a card processor has an outage, the owner flips the payments kill switch and the portal takes orders to pay later until it is back.
For your coding agent
flags:
new-checkout:
remove_by: 2027-01-31
payments-off: {kind: kill-switch}whisk flags set new-checkout --team whisk flags set new-checkout --percent 10 whisk flags on new-checkout
Every field is in the whisk.yaml reference, and the usage page shows what each plan includes.