Skip to content
Lionel Serrao edited this page Nov 29, 2026 · 2 revisions

Flag Responder wiki

Flag Responder is a VS Code extension for self-hosted, open-source Flagsmith. When monitoring says a feature is broken, it shows the alert on the line of code that reads the flag. Then it turns the flag off for everyone who still gets it, and later turns back on exactly what it turned off.

This wiki explains how it works, from "what is a feature flag?" up to the code. The README is the quick tour. The wiki is the longer explanation, and the place new ideas get written up first.

The whole idea in one picture

flowchart TB
    A["Monitoring sees errors<br/>(Prometheus, Grafana, any webhook)"] --> B["Flagsmith Feature Health<br/>marks the flag unhealthy"]
    B --> C["Flag Responder shows it<br/>on the line that reads the flag"]
    C --> D["Kill switch: off for everyone<br/>default, overrides, A/B test"]
    D --> E["Flagsmith confirms<br/>nobody gets it now"]
    E --> F["Alert clears"]
    F --> G["Restore exactly<br/>what was turned off"]
Loading

Where to start

If you want to… Read
Understand feature flags, segments and A/B tests from zero Feature Flags 101
Get it running on your machine in about 5 minutes Getting Started
See what happens during an incident, step by step The Incident Loop
Know exactly what the kill switch changes, and what happens when something fails How the Kill Switch Works
Play with it without installing anything Interactive explainer
Find your way around the code Architecture
See which Flagsmith features and endpoints it uses Flagsmith APIs Used
Send real alerts from Prometheus or Grafana Alerting Setup
Check flags in CI CLI and CI
Run the tests, or add one Testing
Help out, or pick an idea to build next Contributing and Ideas
Look up a word FAQ and Glossary

Why it exists

Turning a broken feature off sounds like one click. In practice it often isn't. In Flagsmith, a flag can be off by default and still on for a segment (say, your staff), for single users (identity overrides), and for half your shoppers in an A/B test. Flip the main switch and all of those people stay on the broken code.

Flag Responder asks Flagsmith who still gets the flag and turns all of it off in one confirmed step. Then it asks Flagsmith again to make sure. When the alert clears, it puts back exactly what it changed, so nobody has to remember how things were.

Status

Version 0.7.2. Tested against Flagsmith 2.295.2: 52 unit tests and 26 live end-to-end cases (see Testing). Built for the WeMakeDevs × Flagsmith hackathon and kept going afterwards.

Clone this wiki locally