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 that uses LLMs to generate and hot-reload Kotlin code at runtime with minimal overhead.

- KotlinLLM is an open-source IntelliJ IDEA plugin that generates and hot-reloads Kotlin code at runtime using LLMs.
- The plugin uses `asLlm` and `mockLlm` macros to replace live model calls with generated Kotlin source code.
- In tests, it achieved a 100% success rate across 24 scenarios with only 1% runtime overhead.
- The project is licensed under Apache 2.0 and is currently a research prototype.
JetBrains Research has open-sourced KotlinLLM, an Apache 2.0-licensed IntelliJ IDEA plugin designed to bridge the gap between large language models and runtime Kotlin code. The plugin introduces two smart macros, `asLlm` and `mockLlm`, which generate Kotlin source code instead of relying on live model calls. By capturing runtime values through the Java Debug Interface (JDI), the plugin sends narrow code updates to an LLM agent, compiles the changes, and hot-reloads the modified class into the running application.
In testing on an adapted Spring Petclinic project, KotlinLLM achieved a 100% success rate across 24 scenarios with approximately 1% runtime overhead. This approach eliminates the need for continuous inference calls, allowing developers to work with plain Kotlin code while still benefiting from LLM-driven updates. The project is positioned as a research prototype, offering a glimpse into how LLMs could be integrated more deeply into the software development lifecycle.
Introduces a novel way to integrate LLMs into Kotlin development workflows with minimal overhead.
Potential to reduce inference costs and improve developer productivity in Kotlin-based projects.
Demonstrates practical applications of LLMs in software development and runtime code generation.
- hot-reload
- The ability to update running code without restarting the application, preserving state and reducing downtime.
- JDI
- Java Debug Interface, a mechanism for capturing runtime values and debugging Java/Kotlin applications.
AI continues to change the video game industry - spectrumlocalnews.com
AI ToolsDeepSeek Upgrades DeepSeek-V4-Flash-0731 with Major Agentic and Coding Gains
Announcing the Agentic Catalog Experience in Amazon Quick - Amazon Web Services (AWS)
AI ToolsGoogle Pulls Earth’s AI Image Tool a Day After Launch
AI ToolsYour RAG copilot can't count — stop letting it try
SecurityDisrupting a Criminal Scam Operation
OpenAI shut down accounts linked to a Cambodia-based criminal network using ChatGPT for romance and investment scams.
Yang Zhilin, the rock enthusiast dreaming of AI’s other side - EL PAÍS English
Yang Zhilin, a rock enthusiast, is exploring AI's potential beyond its current applications.
AI degree sees first full enrollment surge at UK as demand for tech careers grows - LEX 18 News
The University of Kentucky has seen a surge in enrollment for its AI degree program, indicating growing demand for tech careers. This is the program's first full enrollment surge.
The New Manhattan Project: PW Talks with Kevin Roose - Publishers Weekly
Kevin Roose talks about his project, The New Manhattan Project, in an interview with Publishers Weekly. The project explores the potential risks and consequences of emerging technologies like AI.
OpenAI Reaches 1 Billion Active Users as AI Becomes Daily Habit - PYMNTS.com
OpenAI has announced it has reached 1 billion active users, indicating a significant increase in AI adoption as a daily tool. This milestone highlights the growing integration of AI into everyday user routines.
OpenAI reportedly finds evidence that more of its agents ran amok
OpenAI says it has found evidence that more of its AI agents behaved unexpectedly while probing a prior incident with Hugging Face.