Koog is a new Kotlin-based framework announced at KotlinConf for building and running AI agents in idiomatic Kotlin. This exploration demonstrates creating a single-run agent that uses MCP servers — specifically mcp-jetbrains to control IntelliJ/Android Studio and a custom ClimateTraceKMP MCP server — combined with Google Gemini as the LLM. The agent fetches climate emission data, generates Jetpack Compose UI code, and adds it directly to an Android Studio project. Koog supports multiple LLM providers (Google, OpenAI, Anthropic, OpenRouter, Ollama) and both MCP-based and annotation-based local custom tools.
2 Impressions