cd /news/developer-tools/jetbrains-open-sources-kotlinllm-sma… · home topics developer-tools article
[ARTICLE · art-81706] src=marktechpost.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

JetBrains Open-Sources KotlinLLM: Smart Macros That Generate Kotlin Source Code at Runtime and Hot-Reload It Through JDI

JetBrains Research has open-sourced KotlinLLM, an IntelliJ IDEA plugin prototype under the Apache License 2.0, which uses Smart macros (asLlm and mockLlm) to generate Kotlin source code at runtime and hot-reload it via JDI. In tests on an adapted Spring Petclinic project, 24 of 24 scenarios completed with a 100% hot-reload success rate and roughly 1% runtime overhead.

read1 min views1 publishedJul 31, 2026

JetBrains Research has open-sourced KotlinLLM under the Apache License 2.0. The IntelliJ IDEA plugin prototype adds Smart macros, asLlm and mockLlm, whose bodies are generated Kotlin source rather than live model calls. The plugin captures runtime values through JDI, asks an LLM agent for a narrow code update, compiles it, and redefines the loaded class. Covered scenarios then run as plain Kotlin with no further inference call. On an adapted Spring Petclinic project, 24 of 24 scenarios completed with a 100% hot-reload success rate and roughly 1% runtime overhead.

The post JetBrains Open-Sources KotlinLLM: Smart Macros That Generate Kotlin Source Code at Runtime and Hot-Reload It Through JDI appeared first on MarkTechPost.

── more in #developer-tools 4 stories · sorted by recency
── more on @jetbrains research 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/jetbrains-open-sourc…] indexed:0 read:1min 2026-07-31 ·