1. Install the SDK
macOS and Linux:
curl -fsSL https://ailang.codes/install.sh | sh
export PATH="$HOME/.ailang/bin:$PATH"
Windows PowerShell:
irm https://ailang.codes/install.ps1 | iex
2. Verify the Toolchain
ailang --version
aivm --version
aivm-debug --version
aivectra help
ailang is the compiler and SDK command, aivm
is the native C runtime, and aivectra is the UI toolkit.
3. Create an Agent-Ready Project
ailang init ./hello-ai --template cli --agent codex
cd ./hello-ai
find . -maxdepth 3 -type f | sort
The generated project includes the manifest, source files, and agent instructions needed for Codex to continue work in the same repository a human reviews.
4. Build and Run
ailang build .
ailang run .
ailang test
AiLang compiles to deterministic AiBC bytecode, which is executed by AiVM.
5. Add a Package
ailang package add aivectra
ailang package list
ailang template list projects
ailang template list files
Packages can provide libraries, tools, and templates. AiVectra uses that shape so a UI package can bring project templates and package tools with it.