koog

koog

Koog is a JVM framework for building reliable, enterprise-grade AI agents.

MCPDevOpen sourceKotlinJavaAI 代理LLM
Type
MCP
Transport
http
Open source
Yes
GitHub Stars
★ 4.4k
Source
mcp-github

Overview

Koog is a framework built on Kotlin and Java, designed to help developers build predictable, fault-tolerant, and enterprise-grade AI agents across various platforms—including backend services, Android, iOS, JVM, and even browser environments. It provides mature solutions for handling complex LLM and AI challenges. With Koog, AI agents gain features such as multi-platform deployment, fault recovery, and intelligent context compression optimization. Ideal for enterprises and developers aiming to build high-performance AI agents.

Capabilities

  • Multi-platform development support
  • Built-in retry mechanisms and state recovery
  • Intelligent history compression optimization
  • Integration with Spring Boot and Ktor
  • OpenTelemetry exporter integration
  • Seamless switching between LLM providers

Use cases

Building cross-platform AI agentsImplementing complex AI workflowsImproving AI agent reliabilityOptimizing context management in long conversations

Setup

Requires: JDK 17 或更高版本Kotlin 2.3.10 或更高版本API Key
Add the dependencies in `build.gradle.kts`:
```kotlin
dependencies {
    implementation("ai.koog:koog-agents:1.0.0")
    implementation("ai.koog:koog-agents-additions:1.0.0-beta")
}
```

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

Which platforms does Koog support?

Supports JVM, JS, WasmJS, and iOS platforms.

Is Koog open source?

Yes, Koog is an open-source project.

Related skills