A practical walkthrough of using Google's Agent Development Kit (ADK) for Java from Kotlin code, demonstrated via a Kotlin Multiplatform project. Covers Gradle setup, creating a Gemini-based model, defining MCP and function tools (including bridging Kotlin suspend functions to RxJava Singles for ADK compatibility), using @JvmStatic in companion objects for Java interop, and launching the ADK developer web UI for debugging.

3m read timeFrom johnoreilly.dev
Post cover image
Table of contents
ToolsADK Dev UIRelated tweet
1 Impression