Key takeaways
- MoonBit's compiler became stable on November 26, 2026, in a 1.0 release candidate that will get bug fixes only.
- The full MoonBit 1.0, with a stable core library, is set for February 18, 2027.
- The language targets AI agents that write short sandboxed scripts, and compiles to native code, WebAssembly and JavaScript.
The MoonBit team declared its compiler stable on November 26, 2026, in a release candidate for MoonBit 1.0. From now until the full release, the compiler gets bug fixes only. The finished MoonBit 1.0, with a stable core library, is set for February 18, 2027.
MoonBit is a young programming language that now pitches itself as a language for AI coding agents. That is the unusual part. Most languages are designed for people and get agent support later. MoonBit's team says it changed its focus to agentic coding in 2024, two years after it first designed the language for fast, large-scale static analysis in October 2022.
What the release candidate freezes
The compiler is the piece that is done. The team says its behavior will not change through 1.0 except to fix bugs. The core library packages are stable too, with two exceptions: the newer moonbitlang/core/async and moonbitlang/core/archive packages may still get small API changes.
The team is asking package authors to build against the release candidate now and report regressions with small reproductions. The moon fix command applies the compiler's suggested fixes when a package needs updating.
Built for scripts an agent writes
The idea MoonBit is betting on is what its post calls "code mode": instead of calling a chain of tools, an agent writes a short single-file script, a .mbtx file, to answer a question, and runs it in a sandbox that limits what it can touch. The post's examples are the kind of small jobs agents do all day: pulling a pull request title out of a JSON event, collecting issue references from text, reading fields from a binary network header.
Two design choices support that. Macros run inside WebAssembly, so the toolchain can limit what a dependency's macro is allowed to access, which the team presents as supply-chain safety. And an experimental moon prove command checks contracts, such as a binary search that requires sorted input and promises the right index back.
Backends and speed
MoonBit compiles to two tier-one targets, native code and WebAssembly, plus a JavaScript backend meant for browsers and user interfaces. It borrows from OCaml, Rust, Swift and ReScript. The team says it is "quite competitive" with Rust and C on zlib benchmarks, but the post gives no figures in its text, so that claim rests on the team's own tests. Its package registry, Mooncakes, holds nearly 36,000 packages.
What comes next
Before February 18, the team lists documentation and books on the language and core library, tooling that makes contracts easier to write and shows what still needs a proof, and multithreading for CPU-heavy work. It gave no dates for those. For developers, the release candidate is the point to try it: code written against this compiler should keep building after 1.0.




