Compose HotSwan Blog
Compose HotSwan Is Now Open Source
December 4, 2026 · 6 min read

Compose HotSwan is now open source. The IDE plugin, the Gradle and Kotlin compiler plugins, the runtimes for Android, Compose Desktop and the iOS simulator, the MCP server and the hotswan command line are all on GitHub at skydoves/compose-hotswan, under the Apache License 2.0.
Many companies expressed interest in acquiring the project. After careful consideration, I decided to make it free and open source instead, in the hope that it will be used more widely and benefit the community in different ways.
In this article, you'll explore what HotSwan is, why it is open source now, what is in the repository, how the command line brings hot reload to the terminal and to your AI agent, and how to contribute.
What Compose HotSwan is
HotSwan is hot reload for Android and Compose Multiplatform. You edit Kotlin in Android Studio or IntelliJ IDEA, save, and the change appears in the app that is already running on your Android device or emulator, in your Compose Desktop window, or on the iOS simulator. Structural edits apply in place: a new composable, a new branch, or a whole screen rewritten with new functions and classes. Your navigation stack, scroll position and remembered state survive the reload.
In the clip, one save redesigns the same screen on an Android emulator, an iOS simulator and a Compose Desktop window, without relaunching any of them. The same loop works for an AI agent. With the hotswan command line, an agent makes a change, sees the result on a real device within seconds, and decides its next step from what reached the screen, instead of writing the whole change blind and waiting for a build at the end.
Why open source
HotSwan became free with 2.3.0 on November 27, and the announcement explains why. Opening the source goes one step further, for three reasons.
The first is trust. Hot reload runs inside your debug app and reaches into the parts of a project you care about most: the compiler, the build, and the app at runtime. When a reload does something you did not expect, you should be able to read why. You can now follow a save from the IDE, through the Kotlin compiler plugins and the Gradle tasks, into the interpreter that runs the new code inside your app.
The second is who can fix things. HotSwan has improved most when someone ran it on a project I had never seen and reported what broke. Now the person who hits a problem can also find the cause and send the fix, and everyone with a similar project gets it in the next release.
The third is the ecosystem. Making structural hot reload work on Android's runtime and on Kotlin/Native took most of a year, and much of what it needed is not written down anywhere else. I hope the code helps library authors, tool builders, and anyone curious about how Compose, the Kotlin compiler and the runtime fit together, whether or not they use HotSwan itself.
Nothing changes in how you get HotSwan. The IDE plugin stays on the JetBrains Marketplace, the libraries stay on Maven Central under the same coordinates, and releases continue as before.
What is in the repository
Everything that makes a save reach a running app is in one repository:
- The IDE plugin for Android Studio and IntelliJ IDEA, which watches your saves, starts each reload, and hosts the tool window, snapshots and the preview runner.
- The Gradle plugin, which applies HotSwan to the compilations it can reload and adds the matching runtime to your debug app, and the settings plugin for builds with Gradle isolated projects.
- Two Kotlin compiler plugins that prepare your debug code for reload. One of them runs before the Compose compiler.
- The runtimes: an interpreter shared by Android and Compose Desktop, the Android runtime on top of it, and a separate Kotlin/Native build for the iOS simulator.
- The MCP server that connects AI tools to the IDE's reload session, the
hotswancommand line, and agent skills for Claude Code.
The README explains how a save flows through these parts, and the iOS README covers how a change reaches the simulator, which has no virtual machine to swap code into.
Hot reload from the terminal, for you and your agent
Much of the work with AI agents now happens in the terminal, so 2.4.0 added hotswan, a command line that runs the whole reload loop without an IDE. Install it with one line. It needs Java 17 or newer and adb:
1curl -fsSL https://hotswan.dev/install.sh | sh -s -- --add-to-pathWith the HotSwan Gradle plugin applied to your app, as the install guide shows, the loop looks like this:
1hotswan run # builds, installs and launches the app
2# edit a file, then:
3hotswan reload # pushes the edit and checks what reached the screenEvery reload ends with a verdict. hotswan reload checks the screen from outside the app: a before and after screenshot diff that ignores the screen's own animation, the text that appeared or disappeared, and a crash check. A compile error comes back as file:line:column, and any other failure writes an issue-ready report.md with the versions, the device, and the Gradle and device logs.
The rest of the commands are built for an agent that cannot see the screen. hotswan ui reads the screen as text and taps, types and scrolls through the app's own semantics. A journey saves the path to the screen you are working on and walks it again after a restart, and hotswan reload --restart applies a change that needs a fresh process and brings you back to the same screen. Every command has --json output and fixed exit codes, hotswan agent init writes a Claude Code skill into your project, and hotswan mcp is an MCP server that needs no IDE.
This is the loop I care most about. An agent that waits minutes for a build can only finish the whole change and hand it over. An agent that gets a verdict and screenshots in seconds can look after every step, catch its own wrong turn, and fix it before you review anything. The CLI guide lists every command and option.
Contributing
Contributions are welcome, and the most useful one is still a good bug report. If a save does not reload the way you expected, open an issue with your HotSwan, IDE and Kotlin versions and the smallest project that shows it. A pull request is even better. CONTRIBUTING.md explains how to build, test and submit a change. Please add tests with it, and check that the tests you added actually ran.
Please report security problems privately, through GitHub's private vulnerability reporting or by email, as SECURITY.md describes, rather than in a public issue.
Sponsors
Keeping HotSwan working across new Kotlin, Compose, Android Gradle Plugin and IDE releases is ongoing work, and sponsors make that possible.

Stream builds chat, video, feeds and moderation into your Android app with customizable Jetpack Compose SDKs that scale to billions of users.
Thank you to Stream for supporting HotSwan as an open-source project. If your company would like to support it too, email skydoves2@gmail.com.
What comes next
The next release brings hotswan setup, which applies the Gradle plugin to your project for you, and a Claude Code skill that takes an agent from an empty setup to a verified first reload. After that, the work continues where it always has: more kinds of change applied in place, a faster loop on the iOS simulator, and the agent toolkit growing around the command line.
Thank you to everyone who filed an issue, bought a license, or sponsored HotSwan over the past year. The open repository exists because of you. If HotSwan saves you time, a star on GitHub helps other developers find it.
As always, happy coding!
Jaewoong (skydoves)


