Koog 1.0 idioms, gotchas, and scaffolding skills for Kotlin agents on the JVM
88
88%
Does it follow best practices?
Impact
88%
1.95xAverage score across 43 eval scenarios
Passed
No known issues
{
"context": "Tests whether the skill produces a Koog 1.0-correct scaffold for an OpenAI-backed agent: current artifact coordinates, top-level factory, JDK 17 toolchain, env-var-driven key, and absence of redundant defaults.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses 1.0+ umbrella coordinate",
"description": "build.gradle.kts declares an `ai.koog:koog-agents` dependency at version 1.0.0 or later. Not 0.7.x, not a partial set of submodules when the umbrella covers them",
"max_score": 20
},
{
"name": "Targets JDK 17 toolchain",
"description": "Configures a Kotlin JVM toolchain at JDK 17 (jvmToolchain(17) or kotlin { jvmToolchain(17) }). 1.0 requires it",
"max_score": 10
},
{
"name": "Uses top-level AIAgent factory",
"description": "Main.kt calls AIAgent(...) as a top-level factory function with named parameters (promptExecutor, llmModel, systemPrompt) — not AIAgent.invoke, not a concrete subtype constructor",
"max_score": 15
},
{
"name": "Reads API key from environment",
"description": "Reads OPENAI_API_KEY (or equivalent) from System.getenv(...). The literal API key is never embedded in the source file",
"max_score": 15
},
{
"name": "Wires simpleOpenAIExecutor and a current OpenAI model",
"description": "Uses simpleOpenAIExecutor as the prompt executor and selects an OpenAIModels.Chat.* entry that exists in 1.0 (e.g., GPT4o, GPT5 family) — not a retired model",
"max_score": 15
},
{
"name": "Omits the default singleRunStrategy",
"description": "Does NOT pass strategy = singleRunStrategy() to the factory — it's the default; explicit listing adds noise and the rules in this tile discourage it for the demo scaffold",
"max_score": 10
},
{
"name": "Runs the agent inside runBlocking",
"description": "main() uses runBlocking { ... } (or an equivalent coroutine entry point) since agent.run is suspending",
"max_score": 5
},
{
"name": "Initializes git in the new directory",
"description": "Runs git init in the target directory and includes a sensible .gitignore covering Gradle output (build/, .gradle/) and IDE files",
"max_score": 5
},
{
"name": "Application plugin wired with mainClass",
"description": "build.gradle.kts applies the application plugin and sets mainClass.set(\"...\") so `./gradlew run` works",
"max_score": 5
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
scenario-36
scenario-37
scenario-38
scenario-39
scenario-40
scenario-41
scenario-42
scenario-43
skills
add-observability
add-persistence
add-rag
add-structured-output
add-token-budgeting
add-tool
cache-llm-calls
define-prompt
domain-model-subtask-pipeline
references
enable-prompt-caching
handle-agent-events
manage-state
migrate-from-0-x
model-planner-subtasks
persist-chat-history
query-sql-from-agent
scaffold-agent
snapshot-and-restore
test-koog-agents
trace-agent-internals
use-attachments
use-functional-agent
use-llm-node-variants
use-planner
wire-a2a
wire-acp-server
wire-ktor-server
wire-mcp-server
wire-spring-boot