Why client SDK generation belongs in the open
Google Developers Blog

Why client SDK generation belongs in the open

Partnership and Features

Google has partnered with Speakeasy to open-source their OpenAPI code generation suite under the AGPLv3 license, a strategic move prompted by the sudden shutdown of Google's previous proprietary SDK provider. The newly open-sourced suite equips developers with deterministic, multi-language SDK generators that natively support strict typing and SSE streaming, alongside tools for compiling agent-native CLIs and documentation MCP servers. Engineering teams can now safely integrate this robust tooling directly into their CI pipelines to automatically generate reliable client libraries for their own APIs, all while retaining complete licensing control over the output code.

Migration and SDK Sample

Over the last few months, we worked closely with Speakeasy to ship the new Google GenAI SDKs for our Interactions, Agents, and Webhooks APIs. Today, we're excited to announce that we've partnered with Speakeasy to make their OpenAPI code generation suite open source.

from google import genai
client = genai.Client()
interaction = client.interactions.create(
  model="gemini-3.8-flash",
  input="Analyze this commit log and find regressions.",
)
print(interaction.output_text)

Platform Risk

Generating clean, idiomatic SDKs across multiple languages from rapidly evolving OpenAPI specs is an engineering challenge. For years, the frontier AI ecosystem, including Google, relied on specialized tooling to generate client libraries that could handle complex streaming protocols, strict error hierarchies,

Comments

No comments yet. Start the discussion.