• bitcoinBitcoin(BTC)$76,696.00-2.18%
  • ethereumEthereum(ETH)$2,248.92-1.31%
  • tetherTether(USDT)$1.00-0.04%
  • binancecoinBNB(BNB)$698.14-2.02%
  • rippleXRP(XRP)$1.25-0.23%
  • usd-coinUSDC(USDC)$1.00-0.04%
  • solanaSolana(SOL)$91.88-3.01%
  • tronTRON(TRX)$0.3191992.03%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.00%
  • HyperliquidHyperliquid(HYPE)$84.01-4.49%
  • zcashZcash(ZEC)$1,131.38-8.66%
  • dogecoinDogecoin(DOGE)$0.074079-2.06%
  • moneroMonero(XMR)$604.360.79%
  • USDSUSDS(USDS)$1.00-0.02%
  • whitebitWhiteBIT Coin(WBT)$73.72-1.99%
  • leo-tokenLEO Token(LEO)$9.40-0.03%
  • chainlinkChainlink(LINK)$11.11-2.55%
  • cardanoCardano(ADA)$0.188700-2.40%
  • stellarStellar(XLM)$0.162371-3.63%
  • bitcoin-cashBitcoin Cash(BCH)$275.83-2.94%
  • nearNEAR Protocol(NEAR)$3.86-10.39%
  • RainRain(RAIN)$0.00680511.79%
  • daiDai(DAI)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.00-0.05%
  • uniswapUniswap(UNI)$7.10-1.85%
  • litecoinLitecoin(LTC)$53.69-3.59%
  • USD1USD1(USD1)$1.00-0.13%
  • CantonCanton(CC)$0.094043-3.93%
  • avalanche-2Avalanche(AVAX)$8.37-3.98%
  • suiSui(SUI)$0.87-3.37%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.18-3.13%
  • tether-goldTether Gold(XAUT)$3,934.861.03%
  • hedera-hashgraphHedera(HBAR)$0.069638-2.99%
  • Global DollarGlobal Dollar(USDG)$1.00-0.03%
  • quant-networkQuant(QNT)$193.56-4.36%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • shiba-inuShiba Inu(SHIB)$0.000005-3.02%
  • BittensorBittensor(TAO)$223.13-4.68%
  • Ripple USDRipple USD(RLUSD)$1.00-0.03%
  • crypto-com-chainCronos(CRO)$0.049952-2.83%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.08%
  • okbOKB(OKB)$109.16-4.15%
  • EthenaEthena(ENA)$0.170421-7.50%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • pepePepe(PEPE)$0.000005-2.74%
  • aaveAave(AAVE)$126.13-6.49%
  • MemeCoreMemeCore(M)$0.85-0.61%
  • OndoOndo(ONDO)$0.385495-4.99%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.140.32%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

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

July 31, 2026
in AI & Technology
Reading Time: 13 mins read
A A
JetBrains Open-Sources KotlinLLM: Smart Macros That Generate Kotlin Source Code at Runtime and Hot-Reload It Through JDI
ShareShareShareShareShare

JetBrains Research Open-Sources KotlinLLM. KotlinLLM is an IntelliJ IDEA plugin for Kotlin/JVM projects that adds a language feature called Smart macros. A Smart macro is a regular Kotlin function call whose body is generated Kotlin code. The public API is deliberately small. asLlm(from, hint) converts an input of type F into a typed value T, such as a data class, enum, list, or primitive. mockLlm() generates a stateful implementation of an interface T, whose behavior depends on which methods are called on it.

val issuesApiUrl: String = asLlm(repoInput, hint = "GitHub API URL: get all issues, including closed")
val issues: List = asLlm(response, hint = "Return all beginner-friendly issues for this repository")

The runtime loop

When a project launches through the KotlinLLM run configuration, the plugin scans for asLlm and mockLlm calls, updates generated bootstrap/provider/parser/mock files, launches the run configuration under JDI, and registers breakpoints on generated regenerate hooks. If generated logic does not match a runtime scenario, execution reaches a hook. The plugin captures runtime values and type information from the suspended frame, the LLM agent submits a code update, and the plugin compiles it and redefines the loaded class before retrying the original call.

KotlinLLM targets Kotlin/JVM specifically because the runtime evolution loop depends on JVM class redefinition through JDI.

Explainer: how a Smart macro evolves

The embed below walks the macro API, animates the nine-step runtime loop, and models why covered scenarios stop costing inference calls.

Reported results

On an adapted Spring Petclinic Kotlin project with 18 asLlm call sites, 24 of 24 application scenarios completed after Smart macro evolution, with a 100% hot-reload success rate and compilation/redefinition adding roughly 1% of total runtime overhead. A synthetic “GitHub Beginner Issue Radar” parsed real issue data across 20 repositories and 30k+ issues, reaching about 0.89 recall on ground-truth beginner labels.

Setup requirements

The plugin requires IntelliJ IDEA 2025.2.x, JDK 21, and an OpenAI API key stored in the target project’s .kotlinllm file via Tools > KotlinLLM Settings. It is released under the Apache License 2.0, with runnable examples, the thesis write-up, and the KotlinConf 2026 talk recording in the repository.

YOU MAY ALSO LIKE

Oracle Kicks Off $20 Billion Capital Raise

Power On: How Will a Touchscreen MacBook Impact the iPad?

Is it deployable?

Not as a production runtime, at least not yet. JetBrains labels KotlinLLM a research prototype, and it is described it as an experimental IntelliJ IDEA plugin. The plugin is experimental, but its output is deployable. Once behavior has been generated, the target project can compile and run that behavior without another LLM request for the same scenario. You ship plain Kotlin, not a model dependency.

  • Company level: best fit today is R&D groups, platform teams at mid-size to large Kotlin/JVM entities, and startups with tolerance for prototype tooling. Regulated enterprises should treat generated sources as reviewable code, which is exactly how KotlinLLM stores them.
  • Industries: fintech and banking (heavy JVM/Kotlin estates), developer tooling, e-commerce, logistics, and any team parsing messy third-party API payloads.
  • Applications: normalizing semi-structured API responses into typed values, building evolving test doubles, adapting to upstream schema drift, and classification over noisy text fields.

Key Takeaways

  • KotlinLLM is a JetBrains Research prototype, not a production runtime.
  • Smart macros generate Kotlin source that is committed, reviewed, and run without the plugin.
  • Covered scenarios trigger no further LLM call, so no added latency or cost.
  • Petclinic evaluation: 24/24 scenarios, 100% hot-reload, ~1% overhead.
  • Apache 2.0, Kotlin/JVM only, IntelliJ IDEA 2025.2.x plus JDK 21.

Sources: JetBrains Research blog, the kotlinllm-plugin README, and InfoWorld


Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Oracle Kicks Off  Billion Capital Raise
AI & Technology

Oracle Kicks Off $20 Billion Capital Raise

November 3, 2026
Power On: How Will a Touchscreen MacBook Impact the iPad?
AI & Technology

Power On: How Will a Touchscreen MacBook Impact the iPad?

November 2, 2026
Altman Says AI Will Transform the Economics of Energy
AI & Technology

Altman Says AI Will Transform the Economics of Energy

November 2, 2026
Apple Posts 12% Revenue Growth as iPhone and Services Set Records – Unite.AI
AI & Technology

Apple Posts 12% Revenue Growth as iPhone and Services Set Records – Unite.AI

November 2, 2026
Next Post
LIVE: Trump holds news conference capping off NATO summit | NBC News

LIVE: Trump holds news conference capping off NATO summit | NBC News

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Sapan Pandya, Senior Software Engineer and IEEE Senior Member – Interview Series – Unite.AI

Sapan Pandya, Senior Software Engineer and IEEE Senior Member – Interview Series – Unite.AI

October 30, 2026
Latino voters in Texas describe ‘buyer’s remorse’ with Trump

Latino voters in Texas describe ‘buyer’s remorse’ with Trump

October 30, 2026
Pope Leo to undergo surgery to remove nodule on his lung

Pope Leo to undergo surgery to remove nodule on his lung

October 27, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!