Install
The current release is the v1.0.0-rc.1 GitHub pre-release (the 1.0 release candidate). It
ships no prebuilt World binaries: you build it from source, at that tag or on dev, and point
it at two pinned AILANG binaries.
Requirements
- Go 1.26.6 (the version in
go.modand CI). The build fetches the Go modulegithub.com/sunholo-data/ailangatv0.47.2, which provides the MCP and A2A wire handlers. - git, curl, python3 (the runbooks use it to build commit JSON and parse SSE).
- macOS or Linux. The tool-confinement facts were measured on macOS (APFS); CI runs on Linux.
Build the two programs
git clone https://github.com/sunholo-data/ailang-world
cd ailang-world
go build -o /tmp/ailang-worldd ./cmd/ailang-worldd
go build -o /tmp/world-publish ./cmd/world-publish
| Binary | What it is |
|---|---|
ailang-worldd | The daemon (serve), its bounded client verbs (including outcome record), setup and doctor, and session new/list/revoke/mint |
world-publish | The attended operator entrypoint: transition-registry publish, epoch nomination and the world/core package publish |
world-publish is a separate program on purpose: nothing CI or the daemon runs is one flag
away from an irreversible write.
The two pinned AILANG binaries
World uses two AILANG releases for two different jobs. Both are checked by version at startup.
| Name in the docs | Release | Used for | Passed as |
|---|---|---|---|
PIN | AILANG v0.41.0 (commit 24ee108) | The interpreter that runs every transition (plan and finish phases), type-checks transition sources at publish time, and builds/verifies world/core | serve --ailang-bin, world-publish transitions --ailang-bin |
TOOL | AILANG v0.54.15 (commit 0384450) | The binary the coding tools run inside the episode worktree (policy-tool and run --policy) | serve --tool-ailang-bin |
Why two pins.
PINis the replay pin. Its content hash is written into every log entry and every registry descriptor, so it only moves deliberately. v0.41.0 is also the compiler theworld/coregolden ready-packet names (frozenCompilerVersionincmd/world-publish), and CI verifies the.ailsources against it.TOOLis a separate, archived, hash-verified binary chosen for its confinement behaviour. The tool confinement (sandbox,.gitprotection including the macOS.GITcase-fold fix that landed in v0.50.1,--chdir,--args-json) and the fourrunoutcome shapes were measured on v0.51.0, re-proved on v0.52.1 (the pin from row 135 M0) and carried to exactly v0.54.15 (the pin since row 139, the release with World's upstream fixes ailang#1872–#1875). The daemon refuses any other release for--tool-ailang-bin: a different binary changes the measured facts, and World never widens to an unmeasured one (residual R-SE-8).
Both releases, with their per-platform tarball and binary digests, are rows of the release
manifest pins/ailang-releases.json, which is compiled into the CLIs. A superseded binary
(v0.52.1, the previous TOOL) stays there as a retired row, for history and replay.
With setup (recommended)
ailang-worldd setup installs both pins at the paths the runbooks use, verified byte for byte:
the release's .sha256, the computed tarball hash and the compiled-in digest must all agree, and
the extracted ailang must hash to the compiled-in binary digest. A file that already hashes to
the pin is left alone. setup never runs a downloaded byte. It then creates the store directory
and the workspace root, and prints the attended steps that follow.
go run ./cmd/ailang-worldd setup
go run ./cmd/ailang-worldd doctor
doctor checks the machine without changing anything: both pins, the TTY fences, the port, the
store and the workspace root. Platforms: darwin/arm64 and linux/amd64. setup --from-dir <dir>
installs offline from downloaded assets, verified the same way; exit 3 means a digest mismatch,
with nothing installed. ailang-worldd setup --help lists every flag.
By hand
Release assets are named <os>.<arch>.ailang.tar.gz, each with a .sha256 file (CI uses
linux.x64; the tool binary was measured with darwin.arm64). For example, on Apple silicon:
mkdir -p ~/.pinned-ailang ~/.pinned-ailang-tools/v0.54.15
cd "$(mktemp -d)"
base=https://github.com/sunholo-data/ailang/releases/download/v0.41.0
curl -fsSL -o pin.tar.gz "$base/darwin.arm64.ailang.tar.gz"
curl -fsSL -o pin.tar.gz.sha256 "$base/darwin.arm64.ailang.tar.gz.sha256"
echo "$(cut -d' ' -f1 pin.tar.gz.sha256) pin.tar.gz" | shasum -a 256 -c -
tar -xzf pin.tar.gz -C ~/.pinned-ailang ailang
base=https://github.com/sunholo-data/ailang/releases/download/v0.54.15
curl -fsSL -o tool.tar.gz "$base/darwin.arm64.ailang.tar.gz"
curl -fsSL -o tool.tar.gz.sha256 "$base/darwin.arm64.ailang.tar.gz.sha256"
echo "$(cut -d' ' -f1 tool.tar.gz.sha256) tool.tar.gz" | shasum -a 256 -c -
tar -xzf tool.tar.gz -C ~/.pinned-ailang-tools/v0.54.15 ailang
export PIN=$HOME/.pinned-ailang/ailang
export TOOL=$HOME/.pinned-ailang-tools/v0.54.15/ailang
$PIN --version && $TOOL --version
The first line of each --version must read AILANG v0.41.0 and AILANG v0.54.15.
/tmpmacOS clears /tmp on reboot. Older runbooks used /tmp/ailang-v0300/ailang (v0.30.0, the
pin before 2026-09-21); that path and version are retired. Use the durable paths above.
Run World against released, tagged binaries only — never a -dirty build and never whatever
ailang happens to be on PATH.
Optional: an examples corpus
The examples-search tool needs an AILANG examples corpus that the operator names. The tool
binary may embed a corpus (v0.52.1 did), but World does not fall back to it. $TOOL examples download fills ~/.ailang/examples, which serve uses by default
when it exists. See Coding tools.
Before you run anything
Unset the registry credential in the shell that runs ailang-worldd:
unset AILANG_REGISTRY_API_KEY
With it set, every ailang-worldd command, client verbs included, refuses to start (exit 2);
only --help still answers.
The registry is immutable, so an ambient key would hand unrecallable publish authority to every
process World starts. Keep the key in a mode-0600 file outside the working tree instead.
Next: Your first world.