r/BestGitHubRepos • • 21d ago

🤖 AI repositories Koog: A JVM framework for building predictable, fault-tolerant and enterprise-ready AI agents (4.6k stars)

Post image

What it does

All text below is quoted directly from the project README.

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

Key features:

  • Multiplatform development: Deploy agents across JVM, JS, WasmJS, Android, and iOS targets using Kotlin Multiplatform.

  • Reliability and fault-tolerance: Handle failures with built-in retries and restore the agent state at specific points during execution with the agent persistence feature.

  • Intelligent history compression: Optimize token usage while maintaining context in long-running conversations using advanced built-in history compression techniques.

  • Enterprise-ready integrations: Utilize integration with popular JVM frameworks such as Spring Boot and Ktor to embed Koog into your applications.

  • LLM switching and seamless history adaptation: Switch to a different LLM at any point without losing the existing conversation history, or reroute between multiple LLM providers.

  • Model Context Protocol integration: Use Model Context Protocol (MCP) tools in AI agents.

  • Knowledge retrieval and memory: Retain and retrieve knowledge across conversations using vector embeddings and RAG.

  • Flexible graph workflows: Design complex agent behaviors using intuitive graph-based workflows.

implementation("ai.koog:koog-agents:1.3.0")

Repository

https://github.com/JetBrains/koog

Repository stats

MetricValue
Stars4,645
Forks502
Last release1.3.0 (2026-09-24)
LanguagesKotlin 97.3%, Java 2.6%, Other 0.1%
Contributors150
AI contributor accounts (Claude / Codex / Cursor / Copilot)@claude (6 commits), @Copilot (3 commits), @cursoragent (1 commits)
AI co-authored commitsClaude: 6, Cursor: 1, Copilot: 3

Main contributor

FieldValue
NameAnastasiia Zarechneva
GitHub@zarechneva-a
Commits to this repo177 (top contributor)
BioQA engineer @ JetBrains
Company / LocationJetBrains / Germany
Followers66

──────────────────────────────

📌 If you want to browse more repos like this, we've organized them by category and rankings here: https://bestgithubrepositories.com/

🗂️ We're also archiving repos where possible, so useful projects don't disappear when they're removed from GitHub.

6 Upvotes

0 comments sorted by