Koog: A Kotlin Framework for Building AI Agents
2025-05-25
Koog is a Kotlin-based framework for building and running AI agents entirely in idiomatic Kotlin. It enables creating agents that interact with tools, handle complex workflows, and communicate with users. Key features include a pure Kotlin implementation, MCP integration, embedding capabilities, custom tool creation, ready-to-use components, intelligent history compression, a powerful streaming API, persistent agent memory, comprehensive tracing, and flexible graph workflows. It supports various LLM providers like Google, OpenAI, Anthropic, OpenRouter, and Ollama. Koog supports JVM and JS targets and provides detailed dependency instructions.
Development