Ax
AI-native systems language
Compact source. Native binaries. Built for agents.
Ax is a preview programming language for extreme code compression, explicit semantics, native execution, and small tools that humans and AI agents can inspect quickly.
Install Ax<br>Read Language Docs<br>View GitHub
1.7 MiB current release compiler binary in this workspace
Native LLVM backend, clang linker, small C runtime ABI
Packs filesystem, crypto, process, JSON, TCP, HTTP, and more
Start
Install, run, and ship compact Ax programs.
Prebuilt binaries are published for macOS arm64/x64, Linux x64/arm64, and Windows x64. Release binaries embed the standard pack manifests and runtime sources for standalone installation.
curl -fsSL https://raw.githubusercontent.com/axlanguage/axlang/main/dist/install.sh | sh<br>export PATH="$HOME/.ax/bin:$PATH"<br>ax version<br>ax run examples/hello.ax
Install Guide<br>Release Binaries
Compact Source Is The Surface
Ax source is authored directly in parser-checked AI-min form. The compiler, formatter, examples, tests, docs, and agent skill all treat compact `.ax` as the source of truth.
{;"hello world"}
@add(a:#,b:#):#{^a+b}<br>?"math"{:add(20,22):42}
&3000{G/ping>"pong" G/health>#{ok:!1,service:"ax"}}
Docs
Install Release binaries, source builds, checksums, platform notes, and agent skill setup.<br>Language Main blocks, functions, records, enums, async, tests, HTTP, TCP, and compact operators.<br>Packs Built-in packs for IO, filesystem, crypto, process, CLI, JSON, strings, maps, network, and time.<br>Pack Authoring Manifest layout, native C shims, effects, registry commands, and validation workflow.<br>Agent Samples Native compact tools for files, JSON, processes, HTTP, signatures, URLs, environment, and scheduling.<br>Benchmarks Local regression harness comparing Ax, C, Rust, Python, and JavaScript workloads.
Coming Up
Ax will continue opening up as an AI-native language and toolchain focused on extreme code compression, native performance, and stable agent-readable systems software.