Cloudflare Open-Sources Forge After Stainless SDK Generator Shutdown

A metal anvil transforms abstract API lines into neatly arranged software components in a clean horizontal illustration.

Cloudflare has open-sourced Forge, a tool that turns API definitions into software interfaces including SDKs, command-line tools and documentation. The project is available under the Apache 2.0 license and can be run or modified privately without relying on Cloudflare’s service.

A response to hosted-service risk

The release follows the shutdown of Stainless’s SDK generator after Anthropic acquired Stainless on May 18. Customers such as OpenAI, Google and Cloudflare retained already-generated SDKs, but lost the shared system used to regenerate and update them as their APIs changed.

Google described its own open-source response on September 17, when it said it had partnered with Speakeasy to release an OpenAPI code-generation suite under the AGPLv3 license. Cloudflare’s Forge uses a different, permissive license and is intended to remain independent of a hosted vendor.

What Forge produces

Forge currently generates the output needed for Cloudflare’s cf command-line interface, the company’s unified CLI for working across its platform. Cloudflare says its API documentation and SDKs are due to move to the system in the coming months.

The generator is designed to keep multiple developer-facing surfaces synchronized from the same API definition. That includes client libraries, CLI commands and documentation, with Cloudflare also describing possible uses for MCP servers and Cap’n Web bindings.

Built for a large API estate

Cloudflare says its platform now includes more than 3,500 API operations, backed by hundreds of services maintained by different engineering teams. The company wanted engineers to see the effects of an API change on generated tools before merging code, rather than discovering inconsistencies later across internal teams and an external provider.

The project grew from work on cf, whose technical preview Cloudflare released in April. That preview covered only a small subset of products, although the company said it was testing broader API coverage. Forge is still early, and Cloudflare identifies some input formats and generated targets as future work.

Why agents raise the stakes

Cloudflare also connects the project to AI agents, which depend on SDKs, CLIs and API bindings to understand available operations. If those interfaces fall behind the underlying API, an agent may operate from an incomplete description of a service. Forge’s open license gives developers the option to run, modify or fork the generator themselves, but the source does not establish that it already supports every target Cloudflare has discussed.

AI-generated editorial illustration; not a documentary photograph.

Source: Anthropic bought Stainless and shuttered its SDK generator. Cloudflare open-sourced Forge instead.

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *