Koog 1.0 idioms, gotchas, and scaffolding skills for Kotlin agents on the JVM
86
88%
Does it follow best practices?
Impact
86%
1.86xAverage score across 45 eval scenarios
Advisory
Suggest reviewing before use
{
"context": "Tests whether the agent reaches for the trace feature (the deep-diagnostic layer that surfaces edge predicate evaluations and node entries) rather than the event-handler feature (high-level callbacks, won't show predicate evaluations) or expanding OpenTelemetry coverage (wrong shape — production signal, not local diagnostics).",
"type": "weighted_checklist",
"checklist": [
{
"name": "Installs the Trace feature",
"description": "Calls install(Trace) { ... } inside the AIAgent(...) trailing lambda. Does NOT install the event-handler (won't surface edge-predicate evaluations) and does NOT extend OpenTelemetry (wrong layer for local diagnostic deep-dives)",
"max_score": 30
},
{
"name": "Adds the agents-features-trace dependency",
"description": "Adds ai.koog:agents-features-trace at 1.0.0+. Does not add other observability modules in lieu of it",
"max_score": 20
},
{
"name": "Captures EDGE_EVALUATION events",
"description": "Configures the trace feature to include edge-evaluation events (e.g., includeCategories with EDGE_EVALUATION, or accepts the default-on behavior if it's already included). Without this, the developer cannot see which predicate is misfiring on the loop edge",
"max_score": 25
},
{
"name": "Captures NODE_ENTRY events",
"description": "Captures node entry events so the trace shows the loop pattern (which two nodes the agent is bouncing between). Without this, the loop is invisible in the trace",
"max_score": 15
},
{
"name": "Sends trace to a local sink",
"description": "Configures the sink as stdout or a local file (TraceSink.stdout() or TraceSink.file(...)) — not a network/cloud sink. The developer asked for line-by-line local logs",
"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