← All stories
● Covered by 2 sources · 2 reportsMedium impact2 neutral

Cloudflare Open-Sources Forge for SDK, CLI, and Documentation Generation

🔄 Updated 3d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Cloudflare released Forge, an open-source code generation pipeline.
  • Forge generates SDKs, CLIs, and documentation from API definitions.
  • It is available under an Apache 2.0 license.
  • Forge currently supports Cloudflare's `cf` CLI.
  • The release follows the shutdown of Stainless's SDK generator.

Cloudflare Introduces Forge

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.

Addressing Scalability and Flexibility Needs

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.

Context of the Release

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.

Impact and Future Development

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 →

The daily brief

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.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~34 min · 27 stories · Oct 02

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

How outlets covered it

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.