JetBrains/koog
Koog is a JVM (Java and Kotlin) framework for building predictable, fault-tolerant and enterprise-ready AI agents across all platforms – from backend services to Android and iOS, JVM, and even in-browser environments. Koog is based on our AI products expertise and provides proven solutions for complex LLM and AI problems
What it solves
Koog는 AI 에이전트를 구축하기 위한 프레임워크로, 개발자가 익숙한 Kotlin 및 Java API를 사용해 도구와 상호작용하고 복잡한 워크플로를 관리하며 사용자와 소통할 수 있는 에이전트를 만들 수 있게 해줍니다. JVM 기반 애플리케이션에 LLM을 타입 안전하게 통합하면서 신뢰성과 확장성을 보장합니다.
How it works
Koog는 컴포저블 아키텍처와 Kotlin DSL을 활용해 에이전트 행동을 정의합니다. Google, OpenAI, Anthropic, Ollama 등 다양한 LLM 제공자를 지원하며 모델 간 전환을 원활하게 합니다. 프레임워크에는 히스토리 압축, 장애 복구를 위한 상태 영속화, 벡터 임베딩을 이용한 RAG 기반 지식 검색 기능이 내장되어 있습니다.
Who it’s for
Spring Boot, Ktor와 같은 프레임워크를 사용해 엔터프라이즈 애플리케이션에 AI 에이전트를 삽입하고자 하는 JVM 및 Kotlin 개발자를 위해 설계되었습니다.
Highlights
- Multiplatform Support: Deploy agents across JVM, JS, WasmJS, Android, and iOS.
- Agentic Capabilities: Support for parallel tool calls, Model Context Protocol (MCP) integration, and flexible graph-based workflows.
- Observability: Built-in OpenTelemetry exporters for monitoring with tools like Langfuse and W&B Weave.
- Reliability: Built-in retries and agent state persistence to recover from failures.
- RAG Integration: Native support for knowledge retrieval and memory via vector embeddings.