CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/koog

Koog 1.0 idioms, gotchas, and scaffolding skills for Kotlin agents on the JVM

87

1.85x
Quality

88%

Does it follow best practices?

Impact

87%

1.85x

Average score across 45 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-14/

Write a Deterministic Unit Test for a Koog Agent

Problem/Feature Description

A developer wants to test a Koog 1.0 agent that classifies support tickets. The agent has a lookup_priority tool that consults an internal API. The test should:

  1. Verify that for a "server is down" input, the agent calls lookup_priority first, then replies with a classification
  2. Not hit any real LLM or real internal API
  3. Run quickly and produce the same result on every run

The developer asks how to structure the test. They're using JUnit 5.

Output Specification

Walk through the test structure. Produce a complete Kotlin test class as a single response, labeled.

evals

README.md

tile.json