Koog 1.0 idioms, gotchas, and scaffolding skills for Kotlin agents on the JVM
87
88%
Does it follow best practices?
Impact
87%
1.85xAverage score across 45 eval scenarios
Advisory
Suggest reviewing before use
{
"context": "Tests whether the migration correctly identifies every breaking change visible in the 0.x snippet — the AgentMemory removal, the AIAgent.invoke factory shift, the LongTermMemory renames, the JDK bump, and adds the new dependency module — rather than just doing a single line change and missing the cascade.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Replaces AgentMemory with LongTermMemory",
"description": "Removes the install(AgentMemory) call and replaces with install(LongTermMemory) — AgentMemory was removed in 1.0. Does not leave install(AgentMemory) intact or comment it out without a replacement",
"max_score": 25
},
{
"name": "Renames queryExtractor and extractionStrategy",
"description": "Renames queryExtractor → searchQueryProvider and extractionStrategy → documentExtractor inside the install block. The corresponding type references update accordingly",
"max_score": 15
},
{
"name": "Removes IngestionTiming",
"description": "Removes the ingestionTiming = ... line — IngestionTiming was removed in 1.0; strategies now manage ingestion timing internally. Does not leave the dead reference",
"max_score": 10
},
{
"name": "Drops .invoke from the AIAgent call",
"description": "Changes AIAgent.invoke(...) to AIAgent(...) — the companion invoke was removed in 1.0; the top-level factory has the same call site. Does not leave AIAgent.invoke or substitute concrete subtype constructors",
"max_score": 15
},
{
"name": "Adds the new LongTermMemory dependency",
"description": "Adds ai.koog:agents-features-longterm-memory at 1.0.0+ to the build (and the AWS backend module if using Bedrock). The umbrella koog-agents does not include this feature",
"max_score": 15
},
{
"name": "Bumps JDK target to 17",
"description": "Updates the JVM toolchain to 17 — Koog 1.0 requires JDK 17 minimum. The current JDK 11 target compiles against 0.x but fails against 1.0",
"max_score": 10
},
{
"name": "Updates all Koog coordinates to 1.0+",
"description": "Bumps every ai.koog:* artifact in build.gradle.kts to 1.0.0 or later. Does not leave any artifact at the 0.7.x version",
"max_score": 10
}
]
}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
scenario-44
scenario-45
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