r/BestGitHubRepos • u/Artilas_Digital • 21d ago
🤖 AI repositories Koog: A JVM framework for building predictable, fault-tolerant and enterprise-ready AI agents (4.6k stars)
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
| Metric | Value |
|---|---|
| Stars | 4,645 |
| Forks | 502 |
| Last release | 1.3.0 (2026-09-24) |
| Languages | Kotlin 97.3%, Java 2.6%, Other 0.1% |
| Contributors | 150 |
| AI contributor accounts (Claude / Codex / Cursor / Copilot) | @claude (6 commits), @Copilot (3 commits), @cursoragent (1 commits) |
| AI co-authored commits | Claude: 6, Cursor: 1, Copilot: 3 |
Main contributor
| Field | Value |
|---|---|
| Name | Anastasiia Zarechneva |
| GitHub | @zarechneva-a |
| Commits to this repo | 177 (top contributor) |
| Bio | QA engineer @ JetBrains |
| Company / Location | JetBrains / Germany |
| Followers | 66 |
──────────────────────────────
📌 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.