FlagKit
Open source · built on Flagsmith

 

Self-hosted Flagsmith with A/B testing, set up with zero clicks. Then a doctor that catches the misconfigurations that silently drop your experiment data.

Star on GitHub
You're in. Early access is open right now: it's open source.
git clone https://github.com/lqmon/toggle_wars && cd toggle_wars && npm i && node bin/flagkit.js up
No email collected. Your click was counted as an anonymous conversion in this page's A/B test.
~30sto self-hosted Flagsmith with experiments on
0dashboard clicks to bootstrap
6failures doctor finds in the stock compose setup
5human approval gates in the agent skill
What's inside

Everything after docker compose up

Starting Flagsmith is one command. Getting to a working A/B test took an afternoon of reading Django source. FlagKit is that afternoon, automated.

flagkit up: zero-click bootstrap

Official Flagsmith images, then admin, org, project and three environments, an admin API key, and the experimentation warehouse, all through the API. Bound to localhost, random secrets, sign-up locked. Writes a flagsmith.env the official CLI understands.

flagkit doctor

Points at any self-hosted Flagsmith and finds silent breakage, then fixes it after asking.

flagkit tui

Every flag × every environment in your terminal, plus live win probabilities and a guarded “ship the winner”.

Agent Skill

A coding agent goes from hypothesis to rollout to cleanup PR with the Flagsmith CLI, stopping at 5 approval gates.

MCP server

Agents can inspect flags, read results and propose rollouts. A person approves before anything changes.

flagkit doctor

The stock compose file fails 6 checks

Run against an untouched upstream docker-compose.yml, set up the obvious way:

  • Events silently dropped. The "flagsmith" warehouse is Cloud-only, so self-hosted SDK events get a 404 and the experiment shows nothing.
  • Admin exposed on your Wi-Fi. Port 8000 binds to every interface.
  • Default secrets. DJANGO_SECRET_KEY=secret.
  • CLI ignores your key. Self-hosted hosts need a host-scoped variable.
  • flagsmith eval returns 405. Wrong SDK URL shape.
flagkit doctor --fix
EXPERIMENTATION
  ✖ Events are being DROPPED: this environment
    does not store SDK events
    fix: warehouse must be postgres +
         {"source":"flagsmith_database"}
SECURITY
  ✖ Admin API is reachable from your network
  ✖ Default secrets in running containers
  ⚠ Open sign-up
CLI
  ✖ FLAGSMITH_API_KEY is ignored for this host

3 passed, 3 warnings, 6 failures
Apply 2 fixes? (y/N) y
  ✔ fixed: warehouse → Flagsmith database
  ✔ fixed: client traits locked
This page is an experiment

You're seeing …

FlagKit runs a live A/B test on its own headline with Flagsmith Experimentation. Half of visitors see one headline, half see another, and Flagsmith's Bayesian engine decides which gets more clicks on Get early access.

Your version…
The other versionHidden until you click Get early access, so it can't sway your choice.