---
格式版本: 2
标题: "Announcing the Google Gen AI SDK for Kotlin 1.0: Idiomatic multiplatform access to Gemini"
原文链接: "https://cloud.google.com/blog/topics/developers-practitioners/announcing-the-google-gen-ai-sdk-for-kotlin-10-idiomatic-multiplatform-access-to-gemini"
发布日期: "2026-09-03"
发布时间校准状态: "found"
发布时间需复核: "否"
发布时间来源: "rule:configured_publication_date_rule"
发布时间证据: "google-cloud-blog-date-div html:original: September 3, 2026"
发布时间校准原因: "信源发布日期识别规则直接确认发布时间"
发布时间校准置信度: "high"
发布时间候选数量: 1
发布时间严格候选数量: 1
发布时间原页读取状态: "source template page reused from URL open"
发布时间未找到原因: ""
发布时间校准时间: "2026-09-07T22:10:27+08:00"
发布时间仲裁状态: "skipped"
发布时间仲裁尝试次数: 0
发布时间仲裁耗时毫秒: 0
发现时间: "2026-09-07T22:06:41+08:00"
入库时间: "2026-09-07T14:29:57.172Z"
来源平台: "固定入口"
搜索渠道: "fixed_url"
搜索词: "https://cloud.google.com/blog/"
匹配关键词:
  - "AI"
相关厂家:
  - "Google"
相关专家:
  []
内容类型: "网页"
抓取工具: "Free Fetch + Defuddle"
清洗工具: "Defuddle Markdown + Defuddle/Readability 正文提取"
原始附件:
  []
AI优质: "否"
AI打分: 22
AI分档: "非优质"
AI质检状态: "不通过"
AI打分理由: "正文主线为Google发布Gen AI SDK for Kotlin 1.0，属应用开发SDK公告，完全不涉及超节点、AI Rack、机架级系统或关键部件；来源为Google官方博客，但主题与超节点情报无关；历史知识库无此SDK相关记录，无新增超节点事实；命中应用/开发者工具否决项，无任何机架级基础设施信号。"
AI质检模型: "zj-deepseek-v4-flash"
AI质检时间: "2026-09-07T22:30:48+08:00"
AI主题相关性: 0
AI来源权威性: 14
AI新颖性: 2
AI技术细节: 0
AI商业部署信号: 0
AI完整性: 6
AI评分提示词版本: "v17-精简生产版"
AI评分提示词SHA256: "48fb9777f386026761b4873eaff30807694fb11e9b352d7c69bf2dfde750cc7d"
AI评分知识库版本: "knowledge_base_v1-20260819+runtime.97"
AI评分知识库SHA256: "093c22b302b0d377ed12eab9c169d422553a099393d75a2ea63f76a9eb1d8782"
AI评分知识库检索词: "[\"Google\",\"https://cloud.google.com/blog/\",\"SDK\",\"HTTP\",\"KMP\",\"JVM\",\"API\"]"
AI评分知识库命中: "[{\"id\":\"runtime-51cfe3db04ed0bd3efb5e0e3\",\"title\":\"The full stack behind abundant intelligence\",\"sourceType\":\"ai_excellent_article\",\"time\":\"2026-08-25\",\"matchedTerms\":[\"SDK\",\"HTTP\",\"API\"],\"rank\":-9.89481202418376},{\"id\":\"runtime-f15ede7e8a5c3e80bd078fbd\",\"title\":\"Ultra-High Interactivity on NVIDIA GPUs? - TileRT InferenceX\",\"sourceType\":\"ai_excellent_article\",\"time\":\"2026-08-10\",\"matchedTerms\":[\"Google\",\"https://cloud.google.com/blog/\",\"HTTP\",\"API\"],\"rank\":-7.877274356307565},{\"id\":\"runtime-b9406ae170bd91336ab3bb25\",\"title\":\"Jalapeño’s first results show industry-leading speed and efficiency in AI inference\",\"sourceType\":\"ai_excellent_article\",\"time\":\"2026-08-25\",\"matchedTerms\":[\"SDK\",\"HTTP\",\"API\"],\"rank\":-7.868698563666202},{\"id\":\"july-correct-0104\",\"title\":\"NVIDIA Vera Rubin 提升每瓦性能，为全球合作伙伴实现最低 Token 成本\",\"sourceType\":\"labeled_article\",\"time\":\"2026-07\",\"matchedTerms\":[\"Google\",\"HTTP\"],\"rank\":-7.149942532769767},{\"id\":\"july-correct-0120\",\"title\":\"ODCC分享 | 孛璞半导体马崇怀：高端口密度硅光OCS 面向AI集群的新一代光交换技术\",\"sourceType\":\"labeled_article\",\"time\":\"2026-07\",\"matchedTerms\":[\"Google\",\"HTTP\"],\"rank\":-6.369065000230717}]"
采集批次: "2026年9月7日22点05分18秒"
采集批次ID: "20260907-220517-361"
去重键: "https://cloud.google.com/blog/topics/developers-practitioners/announcing-the-google-gen-ai-sdk-for-kotlin-10-idiomatic-multiplatform-access-to-gemini"
---

Developers & Practitioners

##### Guillaume Laforge

Developer Advocate

Integrating modern generative AI capabilities into Kotlin applications shouldn't require juggling raw HTTP clients or bridging disparate Java libraries. Today, we're excited to announce the **1.0 release of the Google Gen AI SDK for Kotlin** (`google-genai-kotlin`). You can dive right into the code, explore runnable samples, and star the project today on [GitHub at `googleapis/kotlin-genai`](https://github.com/googleapis/kotlin-genai).

Built from the ground up as a **Kotlin Multiplatform (KMP)** library, the SDK brings idiomatic Kotlin paradigms (including first-class **Coroutines**, asynchronous `Flow` streaming, and immutable data classes with named and default parameters) to developers targeting both the **JVM** (backend services, serverless functions, desktop) and **Android**.

The SDK provides a unified surface to interact with both the **Gemini Developer API** (Google AI Studio) and the **Gemini Enterprise Agent Platform** (on Google Cloud) with minimal configuration tweaks.

## 1\. Getting started: Adding the dependency

The SDK is published to Maven Central under `com.google.genai:google-genai-kotlin`.

### Kotlin Multiplatform (KMP)

For multiplatform applications, add the dependency to your `commonMain` source set:
