Tags > flags
A feature carries tags. A request carries tags. If they intersect, the path is on. No rule engines, no nested targeting trees — just set logic you can reason about at a glance.
conditionally decouples deploy from release — progressive rollouts, kill switches, trunk-based development — without the SDK bloat, network latency and flag sprawl of the last generation. Built new, for APIs, micro-frontends, edge functions and AI workloads.
Stop toggling booleans. Start intersecting context.
| Dimension | Legacy feature flags | conditionally |
|---|---|---|
| Model | Booleans per flag | Sets of tags per feature |
| Targeting | Nested rule trees | Tag intersection |
| Runtime | Heavy SDK + network hop | Local mirror next to your code |
| Latency | Network round-trip | In-process lookup |
| Surface | App code only | Code, edge functions, AI prompts |
A feature carries tags. A request carries tags. If they intersect, the path is on. No rule engines, no nested targeting trees — just set logic you can reason about at a glance.
Ship a lightweight mirror of your tags right beside your code — in your API, your micro-frontend, your edge function. Lookups are a local read, not a network call, and there's no bulky SDK to drag along.
The same tags that gate an if-statement can steer an LLM. Inject enabled paths into system prompts so agents and AI workloads pick the right route — conditionals for the model era.
Every flag check that crosses the network is a tax on your p99. conditionally mirrors your tags into the place your code runs, so evaluation is a local lookup measured in microseconds — no fat client, no cold-start penalty at the edge.
// decouple deploy from release
const on = mirror.has("checkout.v2", ["beta", "eu"]);
if (on) renderNewCheckout();
// same tags, steering an AI workload
const system = `Allowed tools: ${mirror.tagsFor("agent.tools").join(", ")}`;Unencumbered by a decade of legacy assumptions. Whether you're shipping an API, composing micro-frontends or engineering prompts, conditionally gives you one primitive from code conditionals to in-prompt path choices.