---
格式版本: 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-04"
发布时间校准状态: "found"
发布时间需复核: "否"
发布时间来源: "rule:configured_publication_date_rule"
发布时间证据: "google-cloud-blog-date-div html:original: September 4, 2026"
发布时间校准原因: "信源发布日期识别规则直接确认发布时间"
发布时间校准置信度: "high"
发布时间候选数量: 1
发布时间严格候选数量: 1
发布时间原页读取状态: "source template page reused from URL open"
发布时间未找到原因: ""
发布时间校准时间: "2026-09-04T06:33:54+08:00"
发布时间仲裁状态: "skipped"
发布时间仲裁尝试次数: 0
发布时间仲裁耗时毫秒: 0
发现时间: "2026-09-04T06:32:35+08:00"
入库时间: "2026-09-03T22:33:55.139Z"
来源平台: "固定入口"
搜索渠道: "fixed_url"
搜索词: "https://cloud.google.com/blog/"
匹配关键词:
  - "AI"
相关厂家:
  - "Google"
相关专家:
  []
内容类型: "网页"
抓取工具: "Free Fetch + Defuddle"
清洗工具: "Defuddle Markdown + Defuddle/Readability 正文提取"
原始附件:
  []
AI优质: "否"
AI打分: 8
AI分档: "非优质"
AI质检状态: "不通过"
AI打分理由: "内容为Google Gen AI SDK for Kotlin发布，属于开发者工具，与超节点/AI Rack/机柜级AI基础设施及其供电散热互连等完全无关，仅命中泛化AI关键词。"
AI质检模型: "zj-deepseek-v4-flash"
AI质检时间: "2026-09-04T06:36:22+08:00"
AI主题相关性: 0
AI来源权威性: 8
AI新颖性: 0
AI技术细节: 0
AI商业部署信号: 0
AI完整性: 0
AI摘要: "Google 宣布发布适用于 Kotlin 的 Gen AI SDK 1.0（google-genai-kotlin），这是一个 Kotlin Multiplatform 库，面向 JVM 和 Android 开发者，提供协程。"
AI摘要模型: "ali-deepseek-v4-flash"
AI摘要时间: "2026-09-04T00:17:01.915Z"
采集批次: "2026年9月4日6点32分22秒"
采集批次ID: "20260904-063222-253"
去重键: "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:
