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
A developer is building a coding agent. The main agent edits files, runs tests, and opens PRs — it's expensive (Opus-class model, many tools). They've also built a smaller, cheaper agent whose only job is to find references to a symbol across a large codebase — it uses a Haiku-class model and just a couple of grep-style tools. They've already constructed both agents independently and both work on their own.
They want the main agent to be able to "ask the find agent" — that is, to invoke the find agent as if it were a single tool call, getting back the search result, then continue its work. They emphasize they don't want to inline the find logic into the main agent; the find agent should stay separate (different model, different system prompt, different tool set) for cost reasons.
Walk through how to make the find agent callable from the main agent. Produce the modified source for the main agent's construction in a single response.
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