koog
by JetBrains
Kotlin framework for predictable, fault-tolerant multi-platform AI agents
Summary
Provides a Kotlin-first framework for building predictable, fault-tolerant AI agents across JVM, Android, iOS, and browser runtimes. Uses opinionated primitives for agent lifecycle, retrying, state management, and connector adapters to multiple LLM providers so agents behave consistently across environments. Includes integrations for common LLM backends and platform SDKs to simplify production deployment of agentic systems. See the MCP pattern for Model Context Protocol guidance, and explore scalable organization with the Agent Registry Pattern.
Why It Matters
Target Use Cases
Kotlin/JVM teams building production agents that must run across backend, mobile, and browser environments with consistent behaviour, informed by the Hierarchical Multi-Agent Pattern.
How It's Used
- Implementing production-ready agents with built-in retry and fault-handling across backend and mobile
- Standardizing connectors to OpenAI, Anthropic, and Ollama to ensure consistent agent responses in evaluation
- Running cross-platform agent prototypes that mirror production orchestration and failure modes for pre-production testing