Installation
Kairos Substrate is distributed as a native package for Linux and macOS. The installer places only the kairos binary on your system PATH — no configuration files, services, or databases are created.
Native Package Install
Section titled “Native Package Install”Linux (.deb)
Section titled “Linux (.deb)”Download kairos-substrate_<version>_amd64.deb from the release artifacts, then install:
sudo dpkg -i kairos-substrate_<version>_amd64.debVerify:
kairos --helpUninstall
Section titled “Uninstall”sudo dpkg -r kairos-substratemacOS (.pkg)
Section titled “macOS (.pkg)”Download kairos-substrate-<version>-arm64.pkg from the release artifacts.
The package installs the binary to /usr/local/bin/kairos.
Verify:
kairos --helpUninstall
Section titled “Uninstall”macOS packages do not include a native uninstall mechanism. Remove the binary manually:
sudo rm /usr/local/bin/kairosTo also remove the package receipt (optional):
sudo pkgutil --forget dev.anankelabs.kairos-substrateVerify Download Integrity
Section titled “Verify Download Integrity”Each release includes a SHA256SUMS file listing all release artifacts. To verify a specific download, extract its line from the manifest:
grep kairos-substrate_<version>_amd64.deb SHA256SUMS | sha256sum -c -Starter Kit
Section titled “Starter Kit”The starter kit is a separate versioned archive containing reference configuration files and quick-start documentation. It is not required for CLI usage but is useful for coordinator deployments.
Download kairos-substrate-starter-kit-<version>.tar.gz from the release artifacts:
tar xzf kairos-substrate-starter-kit-<version>.tar.gzContents:
| File | Purpose |
|---|---|
README.md | Quick-start guide |
coordinator.example.toml | Reference HITL coordinator config (template only) |
deployment-policy.reference.json | Reference policy schema (not valid for evaluation) |
These files are illustrative. A real signed deployment policy must be obtained from Ananke.
Build from Source
Section titled “Build from Source”For development, integration targets (native library, Python, WASM), or platforms without a native package, build from the kairos-engine workspace.
Prerequisites
Section titled “Prerequisites”| Tool | Version | Purpose |
|---|---|---|
| Rust | 1.94+ (edition 2024) | Core toolchain — pinned via rust-toolchain.toml |
| wasm-pack | Latest | WASM builds only |
| maturin | Latest | Python wheel builds only |
Build Profiles
Section titled “Build Profiles”Two release profiles exist because WASM and native targets have opposing optimization goals:
| Profile | opt-level | Use case |
|---|---|---|
release | z (size) | WASM only |
release-native | 3 (speed) | CLI, FFI, Python |
CLI Binary
Section titled “CLI Binary”# CLI with the observe TUI dashboardcargo build -p kairos-cli --features tui --profile release-nativeThe built binary is at target/release-native/kairos.
Native Library (C FFI)
Section titled “Native Library (C FFI)”# Shared + static librarycargo build -p kairos-ffi --profile release-native
# With fly-by-wire session supportcargo build -p kairos-ffi --profile release-native --features fly-by-wirePython Wheel
Section titled “Python Wheel”cd crates/kairos-pylibmaturin build --releaseWASM Module
Section titled “WASM Module”wasm-pack build crates/kairos-wasm --releasePlatform Matrix
Section titled “Platform Matrix”| Platform | Architecture | CLI | Native lib | Python | WASM |
|---|---|---|---|---|---|
| Linux | x86_64 | Yes | Yes | Yes | Yes |
| Linux | aarch64 | Yes | Yes | Yes | Yes |
| macOS | x86_64 | Yes | Yes | Yes | Yes |
| macOS | aarch64 (Apple Silicon) | Yes | Yes | Yes | Yes |
| Windows | x86_64 | Yes | Yes | Yes | Yes |
WASM builds are platform-independent — wasm32-unknown-unknown produces identical output on any host.
Next Steps
Section titled “Next Steps”After installing, you need to activate a license before running evaluations.