Main
以库方式接入而不是复制模板:先加依赖,再逐步扩展 agent 能力面。
把 MCP 作为工具边界:结构化的工具接口让 agent 逻辑更易测试与复用。
优先保证可预测控制流:外部工具调用要把重试/超时当一等公民。
把最小可运行示例写进仓库:依赖 + demo 往往比抽象架构说明更能提升上手速度。
README (excerpt)
Koog
Build status:
Useful links:
A JVM agent framework for predictable, fault-tolerant agents, with MCP tool integration; verified 4187★, pushed 2026-05-14.
这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。
npx -y tokrepo@latest install 63ead63e-3dce-51ee-91c1-3440b77c043d --target codex先 dry-run 确认安装计划,再运行此命令。
Koog 是 JVM(Kotlin/Java)agent 框架,强调可预测与容错,并提供 MCP 工具集成入口,适合把工具链接入做成结构化接口;已验证 4187★,更新于 2026-05-14。
Best for: 用 Kotlin/Java 构建生产级 agent,并希望集成更结构化工具链的团队
Works with: Kotlin/Java 工程(Gradle/Maven);README 介绍了 MCP 工具集成
Setup time: 12-25 minutes
ai.koog:koog-agents:0.7.3。以库方式接入而不是复制模板:先加依赖,再逐步扩展 agent 能力面。
把 MCP 作为工具边界:结构化的工具接口让 agent 逻辑更易测试与复用。
优先保证可预测控制流:外部工具调用要把重试/超时当一等公民。
把最小可运行示例写进仓库:依赖 + demo 往往比抽象架构说明更能提升上手速度。
Koog
Build status:
Useful links:
Created by JetBrains. Licensed under Apache-2.0.
JetBrains/koog — ⭐ 4187
Expert assistant for building Model Context Protocol (MCP) servers in Kotlin using the official SDK.
Ktor is a framework for quickly creating connected applications in Kotlin with minimal effort. Built by JetBrains, it supports coroutines natively, runs on multiple engines (Netty, CIO, Jetty), and works for server + client HTTP in Kotlin Multiplatform.
Javalin is a lightweight web framework for Java and Kotlin built on top of Jetty, designed for simplicity with a small learning curve and first-class support for both languages.
Kotlin is a statically typed, general-purpose programming language developed by JetBrains. Runs on the JVM, Android, native, WebAssembly, and JS targets. Officially endorsed by Google as the preferred language for Android development.