CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/koog

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

86

1.86x
Quality

88%

Does it follow best practices?

Impact

86%

1.86x

Average score across 45 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-19/

Stream the Agent's Reply to the Caller

Problem/Feature Description

A developer is building an interactive chat interface backed by a Koog 1.0 agent. They want the LLM's reply to stream — partial tokens appear in the UI as they're generated, not in one final blob at the end. The agent's reply is text-only (no tools); the user just types something and the agent responds.

They want to author a custom strategy because the default singleRunStrategy() doesn't expose the streaming variant.

Output Specification

Walk through the strategy and how the chunks are surfaced. Produce the strategy source as a single Kotlin snippet, labeled.

evals

README.md

tile.json