Cloudflare has released Forge, a free, open source tool that automatically builds SDKs, command-line tools, and documentation straight from a company's API definitions. Cloudflare says it built Forge internally after its own API grew past 3,500 operations spread across services written in Rust, Go, TypeScript, and Python, making older generation tools too rigid to keep up.
Instead of running as a separate hosted service, Forge works inside a team's existing continuous integration setup, the automated checks that run whenever code changes. It reviews each API change, flags problems immediately, and produces a preview version of the CLI, docs, and SDK so developers can test the update before it ships. Cloudflare says this catches generation errors early, avoiding the coordination breakdowns it faced when one team's change would silently break tools another team relied on.
The pipeline is described as pluggable, meaning it can be extended to generate more than standard SDKs. Cloudflare says Forge can already produce bindings for Cap'n Web, its own remote procedure call system that lets TypeScript code call remote APIs as if they were local functions, and could support tools like TanStack Query in the future.
Forge is still early in development, already powering Cloudflare's own cf CLI, with plans to generate the company's API documentation and SDKs over the coming months.