JetBrains Open-Sources KotlinLLM Plugin Under Apache 2.0 for IntelliJ IDEA
Updated
Updated · InfoWorld · Jul 30
JetBrains Open-Sources KotlinLLM Plugin Under Apache 2.0 for IntelliJ IDEA
3 articles · Updated · InfoWorld · Jul 30
Summary
JetBrains made KotlinLLM public as open-source code, releasing an IntelliJ IDEA research plugin that lets Kotlin developers use LLM-driven “Smart macros” for code generation, runtime updates and hot-reloading.
The prototype targets a gap in compiled applications: JetBrains said direct runtime LLM delegation is slow, costly and non-deterministic, while external agent workflows keep generated logic outside the codebase.
KotlinLLM instead saves generated behavior as ordinary Kotlin source visible at the call site, allowing teams to commit, review, test and ship it like standard code.
Once code is generated, it runs as plain Kotlin without the plugin, avoiding repeated LLM calls for covered scenarios and improving reproducibility, latency and cost.
The Apache 2.0 repository includes the KotlinLLM IntelliJ IDEA plugin, the Smart macro API and example projects, extending LLM runtime experimentation into statically typed Kotlin rather than Python-focused prior tools.