Flagship is now in public beta. Evaluate feature flags directly in your Workers code without outbound HTTP calls. It uses Workers KV and Durable Objects for instant, global performance.
https://t.co/476bxRt3xp
cloudflare now has a built-in feature flag service 🏁
flagship enters public beta today, and you can integrate it into your workers apps already deployed on @CloudflareDev, or deploy a worker in front of your app to do feature flipping and more w/o any additional config (read on!)
there's a simple binding api (env.FLAGS w/ <10 methods, easy for your agents to pick up):
env.FLAGS.getBooleanValue - return basic boolean values, like "is this flag set or not?"
but you can also do some funky stuff like storing objects
env.FLAGS.getObjectValue - return a full JSON object. you can store full configurations and flip per-user or org. neat!
flagship is also openfeature-compatible. the cloudflare/flagship npm package has full support and interoperability with openfeature's sdk. so you can easily swap in flagship from your other providers and trial it
on the setting of flags side - support for booleans, strings, numbers, and json
and for targeting, you can use operators (things like "user_id is equal to xyz") or you can do percentage rollouts. all available in the dashboard.
the dashboard is also quite powerful - you can create flags from the beautiful ui, see where your app is bound (across multiple workers, even!) and there's full analytics. knocked it out of the park
the last thing i'll mention that i think is quite compelling and unique about workers and flagship is something we've talked a lot about in workers/cf land - i don't have a great name for it so i'll call it "originless" behavior.
you can do a "v2-enabled" feature flag and make a fetch request to a totally different host, do URL rewrites etc without any changes to your actual application. eg `isflagEnabled ? fetch(newUrl) : fetch(origin)` - since the worker runs _in front_ of your app, you can do all sorts of behavior w/o ever needing to talk to your origin
quite excited about this release and looking forward to playing w/ it. more on flagship in our changelog: https://t.co/ALZ50C6CZI
An AI agent can write your code in minutes. But someone still has to review, merge, deploy, and monitor it.
What if the agent could do that too?
Feature flags are the missing piece. They let an agent ship code behind a flag, test it on real traffic, ramp the rollout, and kill it instantly if things break.
No human in the loop until you choose to be.
Today we're shipping Flagship to make this possible - feature flags native to @Cloudflare's network, OpenFeature standard.
Move fast, break nothing.
https://t.co/UYWTNO182f
Today, we're announcing Flagship - Cloudflare's native feature flag service, built for the AI first world. Read more about it here
https://t.co/wiYd606ksc
Me @roerohan and @Paramssharma have been tinkering with this idea for some time and we finally made it
Introducing Sidekick - a tiny ai companion that lives in your menubar and is always available
Pick from hundreds of AI models or bring your own AI Gateway with @CloudflareDev
For everyone attending the Impact AI Summit in Delhi starting tomorrow, here's something -
https://t.co/pa5bRZ4EUD
you can use this to browse events, follow them, add reminders and share your favourite talks with friends! also yes, it's a PWA so you can install and forget!
come join us for a @CloudflareDev's meet-up along with @razorpaytech this Saturday!
we'll deep dive into architecture, code and pizzas 🍕
RSVP -> https://t.co/KyWlpMXeEE