Kotlin Quickstart for ADK¶
This guide shows you how to get up and running with Agent Development Kit for Kotlin. Before you start, make sure you have the following installed:
- Java 17 or later
- Gradle 8.0 or later
Building for Android?
This quickstart covers Kotlin on the JVM. If you're building an Android app, complete this quickstart first to learn the agent API, then see Build ADK agents for Android for Android-specific project setup and on-device models.
Create an agent project¶
Create an agent project with the following files and directory structure: