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-2/

Expose a Koog Agent on an HTTP Endpoint

Problem/Feature Description

A developer has a working Koog 1.0 agent (constructed in a main() with runBlocking). They want to host it behind a Ktor HTTP server — a single POST /agent route that takes the request body as the agent's input, runs the agent, and returns the result as the response body.

They have an existing Ktor Application.module() function in their codebase; they want the agent wired in alongside their other Ktor configuration. Their LLM provider is OpenAI; the API key comes from OPENAI_API_KEY.

Output Specification

Walk through the wiring. Produce the modified Application.module() (or equivalent) and the Gradle dependency change as a single response, labeled.

evals

README.md

tile.json