Getting Started with AILANG
For AI Agents: Plugin Installation (Recommended)
AILANG is designed to be used with AI coding agents. The easiest way to get started is via your agent's plugin/extension system:
Claude Code
/plugin marketplace add sunholo-data/ailang_bootstrap
/plugin install ailang
Gemini CLI
gemini extensions install https://github.com/sunholo-data/ailang_bootstrap.git
What the Plugin Provides
- AILANG binary - Auto-installed for your platform
- MCP tools -
ailang_prompt,ailang_check,ailang_run,ailang_builtins - Slash commands -
/ailang:prompt,/ailang:new,/ailang:run,/ailang:challenge - Teaching prompts - Current syntax rules loaded automatically
- Coding challenges - Learn AILANG by building real programs
- Full stdlib docs -
ailang builtins list --verbose --by-module
See ailang_bootstrap for source code and detailed setup.
Using AILANG with Your Agent
Once the plugin is installed, ask your agent:
Write an AILANG program that reads a file and counts the lines.
The agent will:
- Load the teaching prompt via
ailang prompt - Check stdlib functions via
ailang builtins list --verbose - Write correct AILANG code
- Type-check with
ailang check - Run with
ailang run --caps IO,FS --entry main
Manual Installation
For standalone CLI usage or if you prefer manual installation:
# macOS (Apple Silicon)
curl -L https://github.com/sunholo-data/ailang/releases/latest/download/ailang-darwin-arm64.tar.gz | tar -xz
sudo mv ailang /usr/local/bin/
# macOS (Intel)
curl -L https://github.com/sunholo-data/ailang/releases/latest/download/ailang-darwin-amd64.tar.gz | tar -xz
sudo mv ailang /usr/local/bin/
# Linux
curl -L https://github.com/sunholo-data/ailang/releases/latest/download/ailang-linux-amd64.tar.gz | tar -xz
sudo mv ailang /usr/local/bin/
# Verify
ailang --version