# Initial exploration of using Koog for developing Kotlin based AI agents

DevFeed: [Initial exploration of using Koog for developing Kotlin based AI agents](<https://devfeed.tech/articles/initial-exploration-of-using-koog-for-developing-kotlin-based-ai-agents-25198.md>)

Original publisher: [Read original article](<https://johnoreilly.dev/posts/kotlin-koog/>)

Published: 2025-06-21T23:00:00Z

Content type: tutorial

Language: en

Sources: [John O'Reilly](<https://devfeed.tech/sources/john-o-reilly.md>)

Topics: [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [MCP](<https://devfeed.tech/topics/mcp.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [Kotlin Multiplatform](<https://devfeed.tech/topics/kotlin-multiplatform.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [compose](<https://devfeed.tech/tags/compose.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [ide](<https://devfeed.tech/tags/ide.md>), [kmp](<https://devfeed.tech/tags/kmp.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [ollama](<https://devfeed.tech/tags/ollama.md>), [openai](<https://devfeed.tech/tags/openai.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [run-agent](<https://devfeed.tech/tags/run-agent.md>), [tool](<https://devfeed.tech/tags/tool.md>)

## AI overview

This article explores Koog, a Kotlin-based framework for building and running AI agents. It demonstrates an agent using Google Gemini, MCP servers, climate-emissions data, and Compose UI code added to an Android Studio project, and discusses support for multiple LLM providers and custom tools.

## Source excerpt

Koog, announced recently at KotlinConf, is a new Kotlin-based framework designed to build and run AI agents. This article will outline initial exploration of using Koog along with a number of configured MCP servers (specifically mcp-jetbrains which we'll use to control the IntelliJ/Android Studio IDE and also one based on the ClimateTraceKMP Kotlin Multiplatform (KMP) sample built using the Kotlin MCP SDK).