sdk

3 posts

cloudflare

Introducing Flagship: feature flags built for the age of AI (opens in new tab)

AI-generated code is moving toward autonomous production deployment, making safety and controlled rollout essential. The post argues that feature flags provide the guardrails: agents can deploy disabled code, test it with limited cohorts, monitor results, and roll back automatically. Cloudflare’s new Flagship service is designed for this workflow, evaluating flags at the edge through Workers, KV, and Durable Objects. ## Feature Flags for Autonomous Deployment - Agents can ship code behind an off flag without affecting users. - They can enable features for themselves or small test cohorts, observe metrics, and expand or disable rollouts. - Humans define boundaries while flags limit the blast radius. - This separates not only deployment from release, but also routine shipping decisions from constant human attention. ## Problems with Feature Flags on Workers - Hardcoded flags are initially convenient because Workers deploy quickly. - Over time, flags become fragmented across teams, with no central visibility or audit trail. - Troubleshooting may require searching version history with tools such as `git blame`. - Calling an external flag service adds a network request to every user request, potentially introducing significant latency. - This undermines the advantage of running applications close to users at the edge. ## Why Local Evaluation Is Difficult on Workers - Traditional local-evaluation SDKs download rules into a long-lived process. - Worker isolates may be created and evicted between requests, requiring repeated initialization. - Serverless environments therefore need a distribution system with edge-local reads and managed synchronization. - Flagship uses Cloudflare KV to provide this distribution without persistent connections or per-request external calls. ## How Flagship Works - Flagship is built on Workers, Durable Objects, and KV, without external databases or centralized evaluation servers. - Durable Objects provide a globally unique, SQLite-backed source of truth for flag configuration and changelogs. - Changes are synchronized to KV within seconds and replicated throughout Cloudflare’s network. - Evaluations read configuration from KV at the edge and execute targeting and rollout logic inside the Worker isolate. - Both flag data and evaluation logic remain close to the request. ## Worker Binding and Typed Evaluation - Workers connect Flagship through a `wrangler.jsonc` binding containing a binding name and `app_id`. - The binding supports typed methods including: - `getBooleanValue()` - `getStringValue()` - `getNumberValue()` - `getObjectValue()` - `*Details()` methods return the value, matched variant, and selection reason. - Evaluation errors return the supplied default value. - Type mismatches throw exceptions because they indicate application bugs rather than temporary service failures. ## OpenFeature Integration - Flagship is built on OpenFeature, the CNCF standard for feature-flag evaluation. - It supports Workers as well as Node.js, Bun, Deno, and browser environments. - The service is currently available in closed beta. Flagship is positioned as an edge-native feature-flag system for safely automating deployment and rollout. For Cloudflare Workers, its direct binding avoids network round-trips while providing centralized configuration, targeting, auditability, and controlled release mechanisms.

aws

Customize your AWS Management Console experience with visual settings including account color, region and service visibility | Amazon Web Services (opens in new tab)

AWS has expanded User Experience Customization (UXC) to let administrators tailor the Management Console by account color, visible Regions, and visible services. These settings help teams distinguish accounts and reduce clutter by showing only relevant resources. They affect console appearance only and do not restrict access through the CLI, SDKs, APIs, or Amazon Q Developer. ## Account Color Customization - Administrators can assign a color to an AWS account through **Account display settings**. - The color appears in the console navigation bar to make account purpose easier to recognize. - Teams can use colors such as: - Orange for development - Light blue for testing - Red for production ## Region Visibility - Administrators can configure which AWS Regions appear in the console’s Region selector. - They can either show all available Regions or select a specific list. - After saving, only the chosen Regions appear in the navigation bar. - This reduces unnecessary scrolling and helps users focus on approved or relevant Regions. ## Service Visibility - Administrators can select which AWS services appear in the **All services** menu and console search results. - Services can be searched for or selected by category, such as Popular services. - Hidden services are removed from the console interface but remain accessible through programmatic tools. ## Programmatic Configuration - Account customization can be managed through the `AWS::UXC::AccountCustomization` CloudFormation resource. - The resource supports: - `AccountColor` - `VisibleServices` - `VisibleRegions` - Example configurations can expose services such as `s3`, `ec2`, and `lambda`, while limiting Regions to `us-east-1` and `us-west-2`. - Templates can be deployed with the AWS CLI using `aws cloudformation deploy`. AWS administrators can use these settings to create a clearer, more focused console experience without changing permissions or underlying account access.

grammarly

Superhuman Go Scales Agent Ecosystem With New Partner Agents From Box, Gamma, and Wayground (opens in new tab)

Superhuman Go expands Grammarly’s workflow assistant with agents that connect enterprise knowledge, create visual content, support learning, and improve communication. These integrations let users work directly from their existing context instead of switching between tools, while keeping tasks such as document reuse, presentation creation, research, and feedback in one workflow. ## Enterprise Knowledge and Workflow Automation - **Box** connects document repositories to Go, allowing users to: - Create Box documents in the appropriate folders. - Search existing files for summaries, extracted information, and reusable knowledge. - Find the latest document versions while keeping Box as the source of truth. - **Common Room** brings buyer intelligence from multiple channels into users’ workflows. - **Fireflies** surfaces meeting summaries, action items, and key decisions to speed up follow-up. - **Parallel** checks facts, recommends citations, and adds real-time data for more credible work. - **Latimer** combines internal search with bias detection to support precise, fair writing. ## Visual Content Creation - **Gamma** turns notes, documents, and meeting recaps into polished, structured presentation decks. - **Napkin AI** converts written content into visual frameworks designed to improve clarity and drive action. ## Interactive Learning - **Wayground** creates quizzes and flashcards from content visible on screen, including emails, documents, slides, and web pages. - **Quizlet** transforms notes, essays, and other written materials into flashcards with a single prompt. - **Speechify** supports listening at speeds up to 4.5 times faster using AI voices designed to improve comprehension. ## Communication, Feedback, and Compliance - **Radical Candor®** helps users handle difficult feedback using Kim Scott’s framework. - **Saifr** assists financial organizations with clear, compliant public communications by detecting regulatory risks and suggesting safer language. ## Building Custom Agents - The Superhuman Agents SDK and MCP client allow organizations to build agents that operate across Go. - The SDK is currently in private beta, with applications available for organizations interested in developing their own agents. Superhuman Go is available to Grammarly users through its Chrome and Edge browser extensions, with Mac and Windows support planned. Together, the integrations position Go as a central workspace for turning existing information into documents, presentations, learning materials, research, and compliant communications without constant tool switching.