Wantzel

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 AI Studio, you can run and supervise coding agents in one workspace.

your agent writes · corrects wantzel a program compiled binary or error message in milliseconds
Fast enough to compile after every change.

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

AI-generated code can look correct while still containing mistakes. Wantzel rejects invalid programs early and 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.