
クライアントSDK生成をオープンにすべき理由Why client SDK generation belongs in the open
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
- GoogleとSpeakeasyは、OpenAPIコード生成スイートをAGPLv3でオープンソース化した。
- 厳密な型付けやSSEを扱うSDKをCIで自動生成でき、API提供者が出力コードのライセンスを管理できる。
- Google and Speakeasy have released their OpenAPI generation suite under AGPLv3.
- It lets API teams generate typed, SSE-capable SDKs in CI while retaining control over output licensing.
本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (developers.googleblog.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (developers.googleblog.com).
要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.
オープンソース化
GoogleとSpeakeasyは、OpenAPIコード生成スイートをAGPLv3ライセンスでオープンソース化した。APIを提供する開発チームが、クライアントSDKの生成をCIパイプラインへ直接組み込みながら、出力コードのライセンスを管理できる点が重要となる。
SDK生成
公開されたスイートには、決定論的に動作する複数言語向けのSDKジェネレーターが含まれる。厳密な型付けを標準で扱えるほか、SSEストリーミングにもネイティブ対応する。これにより、チームは自らのAPIに対応する型付きかつSSE対応のクライアントライブラリを、継続的な工程の中で自動生成できる。
CIパイプライン
エンジニアリングチームは、このコード生成ツールをCIパイプラインへ安全に統合し、信頼できるクライアントライブラリを自動的に生成できると説明されている。生成処理を開発工程に直接配置しつつ、生成されたコードについてはAPI提供者側がライセンスを完全に管理できる。
CLIとMCP
スイートの対象はSDK生成だけではない。エージェントネイティブなCLIをコンパイルするためのツールと、ドキュメント用MCPサーバーを構築するためのツールも備える。今回の公開は、Googleが以前利用していたプロプライエタリなSDK提供元の突然の停止を受けた戦略的な対応とされ、GoogleとSpeakeasyの提携によって実現した。
OpenAPI Generation Suite
Google and Speakeasy have open-sourced their OpenAPI code generation suite under the AGPLv3 license. The move matters because engineering teams can integrate the tooling directly into their development processes while retaining control over the licensing of generated client code.
The decision followed the sudden shutdown of Google’s previous proprietary SDK provider. In response, Google partnered with Speakeasy to make the generation suite openly available rather than continuing to depend on proprietary tooling.
Deterministic Multi-Language SDK Generators
The suite provides deterministic generators for producing SDKs in multiple languages. These generators natively support strict typing and Server-Sent Events streaming, allowing generated client libraries to handle typed interfaces and SSE-based communication.
The suite is intended for API teams that need to create reliable client libraries for their own APIs. Deterministic generation also gives teams a consistent mechanism for producing those libraries through an automated workflow.
Beyond SDK generation, the open-sourced tooling includes capabilities for compiling agent-native command-line interfaces. It can also compile documentation MCP servers, extending the suite beyond client library output while keeping those functions within the same OpenAPI generation tooling.
CI Pipelines
Engineering teams can integrate the suite directly into their continuous integration pipelines. This enables client libraries to be generated automatically as part of the teams’ established CI processes rather than relying on a separate proprietary SDK provider.
Within those pipelines, teams can generate multi-language SDKs with strict typing and SSE support for their APIs. The combination of deterministic generation and CI integration is designed to make the resulting client libraries reliable and repeatable.
Complete Licensing Control
Although the generation suite itself is released under AGPLv3, API providers retain complete licensing control over the output code. Teams can therefore adopt the open-source generators while deciding how the SDKs and other generated artifacts for their own APIs are licensed.
This separates the license governing the generation suite from control over its generated output, giving API teams direct authority over the client code they distribute.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko以前のSDK提供元が突然終了して、生成スイートをAGPLv3で公開したんだね。これって大きい変化?The previous SDK provider suddenly shut down, and now the generation suite is open under AGPLv3. Is that a big shift?
- TECHガイドTECH Guide大きな方針転換だね。開発チームがツールをCIへ直接組み込み、出力コードのライセンスも管理できる形になったよ。It’s a major change in direction. Teams can integrate the tools directly into CI and keep control of the licensing for generated code.
- ポコPokoSSEストリーミングって、どういう仕組み?What does SSE streaming mean?
- TECHガイドTECH GuideSSEは、サーバーからクライアントへ更新を順に届ける仕組みだよ。このツールは、それに対応するSDKを生成できる。SSE is a way for a server to send updates to a client over time. This tool can generate SDKs that support it.
- ポコPokoぼくなら、自分のAPI向けSDKを自動で作る流れにしたいな。できるの?I’d want SDKs for my own API to be generated automatically. Can it do that?
- TECHガイドTECH Guide記事だと、CIに組み込んで複数言語のSDKを自動生成できるよ。対象は自分たちのAPIで、出力コードのライセンスも管理できる。The post says teams can generate multi-language SDKs in CI for their own APIs. They also retain control over the output code’s licensing.



