reflag.com

How to: Safe and fast rollouts for agent-created code

TypeScript feature management that gets you back to building, faster.

  • Purpose-built for SaaS

Get started

Photo of Rasmus

Watch Reflag demo (2 mins)

Thoughtfully crafted for an exceptional developer experience.

TypeScript, JavaScript, React, Vue, Next.js, Node.js

SDKs for React, Vue, Next, Node, and more.

Create and manage flags from Linear.

Hand off busy work so you can stay in flow.

Github

Stale flags archived and obsolete flag code removed automatically.

Agent-created code flagged with MCP

Enable a workflow to build with your users.

Grant early-access or run betas.

Capture issues or requests in-app

“We switched from LaunchDarkly to Reflag to get feature management that is opinionated and optimized for shipping.”

Samy Pessé

CTO, GitBook

Sign up or start from the CLI:

npx @reflag/cli new

Then flag your feature:

TypeScript, JavaScript, React, Vue, Next.js, Node.js

SDKs for React, Vue, Next, Node, and more.

1import { useFlag, ReflagProvider } from "@reflag/react-sdk";
2
3const MyFeature = () => {
4  const { isEnabled } = useFlag("my-new-feature");
5
6  return isEnabled ? "You have access!" : null;
7}
8
9const App = () => (
10  <ReflagProvider
11    publishableKey="{YOUR_PUBLISHABLE_KEY}"
12    company={{ id: "acme_inc" }}
13    user={{ id: "john doe" }}
14  >
15    <MyFeature />
16  </ReflagProvider>
17)

Or compare Reflag with LaunchDarkly, PostHog, or homegrown solutions.

“I appreciate the balance between simplicity, robustness, and excellent DX.”

Shlomi Sasson

VP R&D, ai.work

“The craftmanship that went into building this product is super impressive!”

Vlad Gidea

CPTO, Partnerful

“The Slack audit log allows our team to stay in the loop with all customer flag changes.”

Josh Knowles

CEO, CodeClimate

“Reflag brings in all the data points into one view and makes it very easy to validate features.”

“Made me feel like you guys get it, unlike everything else I've used.”

Christopher Ehrlich

Engineer, Axiom

“Reflag is making it possible to add feature flags using just a prompt in Cursor 🤯”

Kenneth Auchenberg

Stripe, Microsoft

“The DX is just out of this world, if you are not using this in your project you are missing out.”

Dima Grossman

CTO, Novu

“Auto cleaning up stale feature flags is really cool! It’s always such a chore.”

“I can already see that this completely transforms feature flagging.”

Aman Sharma

CTO, Lamatic.ai

“The connection from feature flag to Linear issue is really nice!”

Martin Senker Søndergaard

CTO, Buildmore

Read the original on reflag.com ↗