Loading…
Topic
Koog
1 post about Koog. Every summary links to the original.
- 1 post
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Prompts That Can Write Themselves: A Kotlin Experiment
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.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.