Cloudflare has announced the release of Forge, an open-source tool designed to automate the generation of SDKs, command-line interfaces (CLIs), documentation, and other interfaces from API definitions. The tool is available under an Apache 2.0 license, allowing developers to deploy, run, and modify it without cost.
Forge is described as a pluggable generation pipeline, intended to provide a flexible solution for code generation. While still in its early stages, it already produces the necessary output for Cloudflare's `cf` CLI, with future plans to power the company's API documentation and SDKs.
Cloudflare developed Forge to address its internal requirements for a scalable and flexible code generation system. The company's API comprises over 3,500 operations, supported by hundreds of services written in various languages including Rust, Go, TypeScript, and Python. This extensive and diverse API environment necessitated a robust generation pipeline capable of handling its scale and working across multiple languages.
The company's blog post emphasizes that the need for comprehensive developer surfaces like CLIs, API SDKs, and documentation has become standard for all products, not just developer-focused ones.
The open-sourcing of Forge by Cloudflare occurs shortly after Anthropic acquired Stainless, which resulted in the discontinuation of Stainless's SDK generator. This shutdown impacted companies that relied on Stainless for their SDK generation needs, including Cloudflare and Google.
Cloudflare's decision to open-source Forge reflects a belief that tools for APIs should be accessible without requiring a Software-as-a-Service (SaaS) product.
Forge's introduction provides an open-source alternative for companies seeking to automate the creation of developer-facing tools from their API definitions. Its pluggable architecture aims to offer adaptability for diverse development environments and programming languages.
Cloudflare intends to transition its API documentation and SDKs to be generated by Forge in the coming months, indicating its commitment to the tool's development and internal adoption.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Cloudflare released Forge, an open-source tool for generating API SDKs and command-line interfaces, under an Apache 2.0 license. This move follows Anthropic's acquisition of Stainless, which led to the shutdown of Stainless's SDK generator, impacting companies like Google and Cloudflare.
Cloudflare released Forge, an open-source, pluggable generation pipeline for SDKs, CLIs, and documentation. This tool addresses the need for scalable and flexible code generation across Cloudflare's extensive API operations and diverse internal development teams.