What problem does it solve? Rolling out features safely and running A/B tests requires server-side flag evaluation, provider integrations, and static-page compatibility, which is complex to wire up correctly by hand. ## Core Features & Use Cases - Flag Declaration and Evaluation: Declare flags as callable functions with flag(), evaluate them server-side, and batch evaluations with evaluate() for better performance. - Provider Adapters: Connect flags to Vercel Flags, Statsig, LaunchDarkly, PostHog, GrowthBook, Hypertune, Flagsmith, Reflag, OpenFeature, and more, or write custom adapters. - Precompute Pattern: Keep pages static by evaluating flags in middleware and encoding results into URLs, with ISR and prerendering support. - Use Case: Add a new feature flag end-to-end: register it with vercel flags add, pull environment variables, declare it in flags.ts with vercelAdapter, and conditionally render UI in a Next.js page. ## Quick Start Ask the agent to create a new boolean feature flag named "new-dashboard" with the Flags SDK and use it to toggle content on the homepage.