# JetBrains open sources KotlinLLM runtime code generator

> Source: <https://www.infoworld.com/article/4203647/jetbrains-open-sources-kotlinllm-runtime-code-generator.html>
> Published: 2026-07-30 22:50:31+00:00

KotlinLLM, a research prototype for delegating runtime logic to a [large language model](https://www.infoworld.com/article/2335213/large-language-models-the-foundations-of-generative-ai.html) (LLM) from [Kotlin](https://www.infoworld.com/article/2256390/what-is-kotlin-the-java-alternative-explained.html) code, is now going open source and public, JetBrains announced.

Revealed [July 28](https://blog.jetbrains.com/research/2026/07/kotlinllm-open-source/), [KotlinLLM](https://github.com/JetBrains-Research/kotlinllm-plugin) is an IntelliJ IDEA plugin prototype for experimenting with LLM-driven “Smart macros” in Kotlin, enabling code generation, runtime updates, and hot-reloading. In software engineering, LLMs are commonly used during development for code completion, code generation, and program comprehension, JetBrains noted, but using an LLM at run time of a compiled application is much less common. The existing options for doing this have the following trade-offs, according to JetBrains:

KotlinLLM addresses these limitations in three ways, JetBrains said:

KotlinLLM is open source under Apache License 2.0. The repository contains the KotlinLLM IntelliJ IDEA plugin, the Smart macro API, and example projects.
