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 agent reaches for nodeLLMRequestStreaming with a chunk handler — the correct streaming primitive — rather than the regular nodeLLMRequest followed by post-hoc string splitting (which doesn't actually stream).",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses nodeLLMRequestStreaming",
"description": "Authors the strategy with nodeLLMRequestStreaming as the LLM-call node. Does NOT use nodeLLMRequest and try to split the result afterwards — that doesn't stream",
"max_score": 35
},
{
"name": "Supplies a chunk handler lambda",
"description": "Passes a chunk-handler lambda to nodeLLMRequestStreaming that surfaces each chunk somewhere downstream (channel, callback, print). The handler body is not empty or TODO",
"max_score": 25
},
{
"name": "Names that the handler must not block",
"description": "Calls out (in code comment or surrounding prose) that the chunk handler runs synchronously per chunk and must not block — slow handlers stall the LLM stream",
"max_score": 15
},
{
"name": "Wires the streaming node into a top-level strategy<...>",
"description": "Builds the strategy with the top-level strategy<Input, Output>(\"name\") { ... } builder. Uses node delegate syntax (val xxx by nodeLLMRequestStreaming(...)) and edge() declarations",
"max_score": 15
},
{
"name": "Does not include tool nodes",
"description": "The strategy does not include nodeExecuteTools or nodeLLMSendToolResults — the developer said reply is text-only and streaming doesn't compose with tool calls in the same node anyway",
"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
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