Home / Companies / JetBrains / Blog / Post Details
Content Deep Dive

KotlinLLM is Going Open Source - The JetBrains Blog

Blog post from JetBrains

Post Details
Company
Date Published
Author
Anastasia Birillo Stanislav Sandler
Word Count
780
Company Posts That Month
58
Language
American English
Hacker News Points
-
Post removed?
No
Summary

KotlinLLM is an open-source research prototype designed to integrate large language models (LLMs) into Kotlin/JVM projects through an IntelliJ IDEA plugin, introducing Smart macros as a new language feature. This tool allows developers to delegate runtime logic to LLMs by generating Kotlin code that updates as applications encounter new scenarios, without the need for direct LLM calls at runtime, thus avoiding latency and cost issues. The Smart macros, specifically asLlm and mockLlm, facilitate the conversion of unstructured data into typed Kotlin values and create stateful test doubles, respectively. KotlinLLM addresses the challenges of using LLMs in compiled, statically typed languages by providing a system that is explicit, persistent, and portable, ensuring that generated behavior is reviewable and distributable like regular code. The prototype has demonstrated feasibility in projects like an adapted Spring Petclinic and a GitHub issue parser, and it invites community feedback and contributions to refine its capabilities.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.