---
name: "Build enterprise-ready JVM agents with JetBrains Koog"
slug: "build-enterprise-ready-jvm-agents-with-jetbrains-koog"
description: "Use JetBrains Koog to define typed, fault-tolerant AI agents that run inside JVM, Kotlin, backend, mobile, or browser contexts."
github_stars: 4321
verification: "security_reviewed"
source: "https://github.com/JetBrains/koog"
author: "JetBrains"
publisher_type: "open_source_project"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "JetBrains/koog"
  github_stars: 4321
---

# Build enterprise-ready JVM agents with JetBrains Koog

Use JetBrains Koog to define typed, fault-tolerant AI agents that run inside JVM, Kotlin, backend, mobile, or browser contexts.

## Prerequisites

JetBrains Koog, Kotlin or Java runtime, model provider credentials

## Installation

Basic usage or getting-started notes:
- Koog is a Kotlin-based framework designed to build and run AI agents entirely in idiomatic Kotlin and Java API. It lets you create agents that can interact with tools, handle complex workflows, and communicate with us...
- **Intelligent history compression**: Optimize token usage while maintaining context in long-running conversations using advanced built-in history compression techniques.
- To help you get started with AI agents, here is a quick example:

- Source: https://github.com/JetBrains/koog
- Extracted from upstream docs: https://raw.githubusercontent.com/JetBrains/koog/HEAD/README.md

## Documentation

- https://github.com/JetBrains/koog

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-enterprise-ready-jvm-agents-with-jetbrains-koog/)
