GPU agent for the Scalattice inference network, a product of Robottik Ltd.
Install it on a machine with a GPU, connect with a provider token, and Scalattice Cloud can route inference jobs to you.
curl -fsSL https://scalattice.cloud/install/agent | sh -s -- --token slt_provider_YOUR_TOKEN
source ~/.config/scalattice/agent.env
scalattice-agent statusFull agent logs go to ~/.local/share/scalattice/agent.log (always verbose; rotated at 8 MiB with one backup). scalattice-agent logs tails that file.
Background mode uses a user systemd unit. Slot workers appear as scalattice-slot-{id} in ps/nvidia-smi/rocm-smi and die with the unit (KillMode=control-group) or when the supervisor exits (PR_SET_PDEATHSIG).
Download and run ScalatticeAgentSetup-x86_64.exe from GitHub Releases (or use Download Windows installer on the Providers dashboard).
- Run the setup wizard (approve SmartScreen if prompted)
- Paste your
slt_provider_…token when asked - Finish — PATH is configured and the background agent starts
Setup guide: https://scalattice.cloud/install/agent-setup
The agent registers a boot scheduled task (runs as SYSTEM before sign-in) plus logon Startup/Task rails. Use the notification area icon for status, token changes, and live logs. Full detail is written to %LOCALAPPDATA%\Scalattice\logs\agent.log (rotated at 8 MiB, one backup). The tray Live log can show a Simplified view; the file itself is always verbose.
Process tree (all OSes): one install binary, three roles (hardlink/symlink of the same bytes so ps / Task Manager / Activity Monitor show distinct names):
| Image name | Role |
|---|---|
scalattice-agent (.exe on Windows) |
Supervisor — Cloud WebSocket, routing, spawns kids |
scalattice-slot-{id} (e.g. cuda-0, vulkan-0, metal-0, cpu) |
Per-device inference worker (NVIDIA / AMD / Intel / Apple / CPU) |
scalattice-tray |
Tray / menu-bar control panel (Windows + macOS) |
Healthy multi-GPU box: 1 supervisor + 1 slot worker per compute device (+ optional tray). Kids are tied to the supervisor so a wedge cannot orphan GPU contexts: Windows Job Object, Linux PR_SET_PDEATHSIG + systemd KillMode=control-group, macOS tracked PID reap + LaunchAgent watchdog sweeps.
Release builds are arm64 + Metal only. Intel Macs are not supported.
Download and open ScalatticeAgentSetup-aarch64.dmg (or use Download macOS installer on the Providers dashboard).
- Open the disk image and run Scalattice Agent (approve Gatekeeper if prompted)
- Paste your
slt_provider_…token in the control panel - Finish — the agent stays in the menu bar
Setup guide: https://scalattice.cloud/install/agent-setup?os=macos
The binary is compiled and signed on GitHub’s macos-15 runners. See docs/macos-signing.md.
Background mode uses a LaunchAgent. Stay signed in (or enable auto-login) so launchd keeps the agent running. The menu bar app is the same control panel as Windows (status, token, logs). Slot workers show as scalattice-slot-metal-0 (etc.) in Activity Monitor; the tray uses scalattice-tray.
On Windows, use Settings → Apps. The wizard asks whether to delete downloaded models; logs and settings are always removed.
On Linux and macOS:
scalattice-agent uninstallThat prompts to keep or delete model weights, then asks you to type yes. Use --yes to skip the confirmation (models are kept) and --purge to delete models too.
Releases are self-contained binaries (plus bundled runtime libraries where allowed). You can also build from source with Rust/Cargo.
Release builds include CUDA (NVIDIA) and Vulkan (AMD/Intel/ARM) on Linux and Windows, and Metal on Apple Silicon Macs.
| Hardware | What the host needs |
|---|---|
| NVIDIA GTX/RTX | NVIDIA driver installed (nvidia-smi works) |
| AMD / Intel GPU | Vendor Vulkan ICD (AMD Adrenalin / Intel graphics driver). ROCm is not required. Discrete AMD/Intel are detected on Linux (lspci) and Windows (Win32 video controllers) and run through Vulkan when enabled in the Providers dashboard. |
| Apple Silicon | macOS 14+, M1 or later. Unified memory is advertised as GPU VRAM (minus OS headroom). Intel Macs are not supported. |
| CPU only | Nothing extra — the agent connects; inference uses the CPU backend |
When both NVIDIA and AMD/Intel are enabled, the agent prefers CUDA. AMD/Intel-only pools use the same load cascade as NVIDIA (gpu-full → offload → CPU). Check agent logs for Vulkan pool: pinning ggml backend device(s).
Do not redistribute vulkan-1.dll — providers get it from their GPU driver. Build machines need the Vulkan SDK (for glslc only).
NVIDIA’s libcuda.so / nvcuda.dll cannot be redistributed. Linux/Windows release builds use dynamic ggml backends: the main binary does not hard-link libcuda, so AMD-only and CPU-only hosts can start. CUDA/Vulkan modules load from ~/.local/lib/scalattice/backends (or the Windows lib folder) when the host driver is present.
- Sign in at scalattice.cloud → Providers
- Register as a provider and create an agent token (
slt_provider_…) - On your GPU machine:
curl -fsSL https://scalattice.cloud/install/agent | sh -s -- --token slt_provider_…
source ~/.config/scalattice/agent.env
scalattice-agent statusThe install script saves your token and starts the background agent. To change the token later:
scalattice-agent set-token --token slt_provider_…| Variable | Description |
|---|---|
SCALATTICE_AGENT_TOKEN |
Provider agent token (slt_provider_…) |
The agent connects to Scalattice Cloud using the built-in endpoint. Region, models, and schedule are managed in the Providers dashboard — not via local flags.
# x86_64 Linux (NVIDIA + AMD/Intel Vulkan)
cargo build --release --features gpu
# aarch64 Linux (NVIDIA + ARM Vulkan) — build natively on ARM
cargo build --release --no-default-features --features arm-gpu# x86_64 Windows (NVIDIA CUDA + AMD/Intel Vulkan) — run in PowerShell
# Requires Vulkan SDK on the build machine (glslc). Providers do not need the SDK.
.\scripts\build-release.ps1CI release binaries: CUDA + Vulkan on x86_64/aarch64 Linux and x86_64 Windows.
| Document | Purpose |
|---|---|
| CONTRIBUTING.md | How to report issues and when we accept changes |
| SECURITY.md | Responsible disclosure for security issues |
| CODE_OF_CONDUCT.md | Community standards |
See LICENSE.
You may view the code, build and run it (including modified builds) to connect to Scalattice, and help via issues or patches. You may not use it to run a competing network, or redistribute it as a substitute product.
