Google and Speakeasy Unveil Open-Source Code Generation Suite
Google and Speakeasy have partnered to make their OpenAPI code generation suite open source. This move is in response to the sudden shutdown of a proprietary SDK generator provider that Google was using, which highlighted the risks of relying on closed-source tooling. The new open-sourced generator allows for the creation of clean, idiomatic SDKs across multiple languages from rapidly evolving OpenAPI specs.
The partnership between Google and Speakeasy aimed to minimize developer disruption and avoid breaking changes when migrating client libraries in place. This required careful engineering to align type definitions across all target languages, preserve strict error hierarchies and streaming behavior, and integrate the generator directly into Google's internal monorepo and build system.
The open-sourced generator suite includes multi-language SDK generators for 7 languages (Python, TypeScript, Go, Java, C#, PHP, Ruby), an agent-native CLI generator, and a documentation MCP server generator. The generator is licensed under AGPLv3, allowing users to run it in their development or CI pipeline while keeping complete ownership of their generated code/SDKs under their chosen license.