---
title: "Koog"
description: "1 posts about Koog, summarised, each linking to the original."
---

# Koog
> 1 posts about Koog, summarised, each linking to the original.

## Articles

### [Prompts That Can Write Themselves: A Kotlin Experiment](https://yomu.fyi/post/prompts-that-can-write-themselves-a-kotlin-experiment.md)
- Company: [Jetbrains](https://yomu.fyi/company/jetbrains.md)
- Author: Nikita Khramov
- Published: Oct 29, 2026
- Type: Tutorial

JetBrains Research developed the Koog Agents Optimization Library for optimizing prompts of Koog agents without requiring agent rewrites. Developers mark steps as optimizable using optimizableSubgraphWithTask, lifting instructions into a parameter that an optimizer can replace. The GEPA optimizer runs the agent over a training set, scores outputs with a user-provided function, and iteratively improves instructions using a reflection model, outputting optimized instructions as a separate JSON file. In the PUPA privacy benchmark, GEPA improved the agent’s score from 81.19 to 94.22, and the optimized instruction grew from two vague lines to a 4,456-character detailed instruction. The library also includes BootstrapFewShot, MIPROv2, and ACE optimizers behind the same interface, and all are available in the open-source repository.
