A programming language built for AI-written code
Wantzel compiles in milliseconds to small, dependency-free binaries. Strict checks and clear errors help agents correct mistakes after every change.
View the source on GitHub. With Wantzel Studio, you can run and supervise coding agents in one workspace.
- the loop
Fast enough to compile after every change
Your agent writes a program. Within milliseconds Wantzel returns a compiled binary or an error message; the agent corrects, and the loop repeats.
Try it
curl -fsSLo wantzel \
https://github.com/wantzel/wantzel/releases/latest/download/wantzel-linux-x86_64
chmod +x wantzel
printf '%s\n' 'import io; begin io.puts(STDOUT, "hello\n"); end.' > hello.wz
./wantzel hello.wz hello && ./hello
That is the whole installation: one file, nothing to build.
Why Wantzel
AI-generated code can look correct while still containing mistakes. Wantzel rejects invalid programs early and reports the file, line and reason.
- fast feedback
Fast feedback
Compiles its own 8,100 lines in about 10 ms.
- nothing to install
No dependencies
The compiler and generated programs are static binaries. No packages or runtime to install.
- errors an agent can act on
Clear errors
Rejected code reports the file, line and reason.
Explore
Read the language reference or browse complete examples, including MCP and HTTP servers, an HTTPS client and server, a file server and an OAuth flow. TLS 1.3 is written in Wantzel itself, without OpenSSL.
Wantzel is MIT licensed. Questions: floris@wantzel.com.