Google Cloud Blog
Follow
Announcing the Google Gen AI SDK for Kotlin 1.0: Idiomatic multiplatform access to Gemini
Google has released version 1.0 of its Kotlin Multiplatform SDK for generative AI. This SDK allows developers to easily integrate Gemini models into both JVM and Android applications. It offers idiomatic Kotlin features like Coroutines and Flow for asynchronous operations. The SDK unifies access to both Google AI Studio and Google Cloud's Gemini Enterprise Agent Platform. It supports unary and streaming text generation, as well as multi-turn chat conversations with managed context. Multimodal analysis is enhanced with Google Search grounding for fact-checking. The SDK also provides full support for Gemini's image generation models. Real-time, bidirectional interactions are possible through Gemini Live API via WebSockets. Structured tool and function calling capabilities are included for agentic workflows. The release offers a clean, multiplatform foundation for building generative AI applications.