DevOps / SRE / Platform · 03.08.2026, 11:18 UTC
JetBrains Open-Sources KotlinLLM, a Research Prototype for Runtime Code Generation
| Schweregrad | info |
|---|---|
| Kategorie | DevOps / SRE / Platform |
| Quelle | DevOps.com ↗ |
| Veröffentlicht | 03.08.2026 UTC |
Sicherheitsmeldung mit Schweregrad noch nicht bewertet. Technische Details im Tab „Originaltext“; empfohlene Schritte in der Checkliste.
JetBrains has released KotlinLLM as open source, giving Kotlin/JVM developers a research prototype that lets applications generate their own logic at runtime — and then keep it as ordinary, reviewable source code. The tool comes from JetBrains Research, built by Anastasia Birillo and Stanislav Sandler, and it tackles a problem most teams have only half-solved so far: how do you let an LLM handle logic that’s too messy or too variable to hand-write, without turning your production app into something that depends on a live model call every time it runs? KotlinLLM is an IntelliJ IDEA plugin that adds what the team calls “Smart macros” — Kotlin function calls whose bodies are generated code. There are two of them in the public API right now. asLlm<F, T>() takes unstructured or semi-structured input and converts it into a typed Kotlin value — a data class, an enum, a list, a primitive. mockLlm<T>() generates a stateful implementation of an interface, so it behaves like a test double you didn’t have to write by hand. The call site looks like ordinary Kotlin. What’s different is what happens underneath. Instead of shipping out to a model every time the function runs, KotlinLLM generates real Kotlin source the first time it hits a new scenario, then reuses that code going forward. No further model call, no added latency, and reproducible output because it’s compiled code sitting in your repo. “A model call in the request path has no SLA,” said Mitch Ashley, VP and practice lead for software lifecycle engineering and AI-native software engineering at The Futurum Group. “Generating …