whereismyai
Koog
Koog is an open-source JVM framework for building predictable, fault-tolerant AI agents using Kotlin and Java with multiplatform support.
Koog is an open-source framework designed for the JVM ecosystem, enabling developers to build AI agents using Kotlin or Java. It provides a type-safe Kotlin DSL and fluent builder-style Java APIs for constructing agent workflows. Kotlin developers can deploy these agents across JS, WasmJS, Android, and iOS using Kotlin Multiplatform. The framework includes support for prompt management, tool integration, and strategies defined as directed graphs. It also handles advanced requirements like history compression, structured output generation, and streaming with parallel tool calls. Built-in support for observability via OpenTelemetry and integrations with Spring Boot and Ktor are included.
Koog at a glance
- Best for: Software engineer
- Runs on: JVM, Android, iOS, WasmJS
- Pricing: Free
- Released: May 2025
- Category: AI coding tool
- Website: docs.koog.ai
Key features
- Type-safe Kotlin DSL and Java builder-style APIs
- Kotlin Multiplatform deployment for mobile and web
- Structured output generation
- Streaming API with parallel tool calls
- Graph-based agent workflows
- Agent persistence for state restoration
- Knowledge retrieval and RAG support
- Tracing and observability via OpenTelemetry
Use it for
- Building AI agents for backend JVM services
- Developing cross-platform agents for Android and iOS
- Creating custom workflows with strategy graphs
- Integrating AI agents into Spring Boot or Ktor applications
Alternatives to Koog
- AG-UI — Standardizes agent-user interactions and generative UI for applications.
- Golem — Provides type-safe agent abstractions and zero-dependency Go implementation.
- Kolo — Teams share one browser session to watch, type, and control AI agents together.
- Genkit — Provides unified APIs and local developer tools for AI application workflows.
- Composio — Equips AI agents with tools, managed user auth, and sandboxes across 1,500+ apps
- Agentloop — Provides a clean agent loop with provider-agnostic LLM access, hooks, and safety budgets.
- VoltAgent — Offers open-source flexibility with built-in supervisor agent orchestration and RAG.
- BeeAI Framework — Provides constraint enforcement for predictable agent behavior.
- Opik — It offers comprehensive tracing, automated evaluations, and open-source flexibility.
- OpenViking — Unifies agent memory, knowledge RAG, and skills into a single directory structure.
- CopilotKit — Connects your application to AI agents with generative UI and human approvals.
- OpenCode — Works with 75+ model providers, local models, and existing subscriptions
All Koog alternatives