CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/koog

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

88

1.95x
Quality

88%

Does it follow best practices?

Impact

88%

1.95x

Average score across 43 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-11/

Make a Koog Agent Cancellable from an IDE Plugin

Problem/Feature Description

A developer is building an IDE plugin that drives a Koog 1.0 agent. The plugin's user can cancel a long-running agent run from the IDE (user clicks "Stop"). The developer wants the agent to honor that cancellation promptly — including interrupting whatever tool the agent is currently running.

The agent has several tools, including a long-running analyzeRepository tool that walks the codebase (can take 30+ seconds).

Output Specification

Walk through what to install, what protocol to use, and what the analyzeRepository tool needs to do to honor cancellation. Produce the relevant code as a single response, labeled.

evals

README.md

tile.json