Install on Linux
The quickest way is one command, which installs a node without an account (science only; link it
later with sudo aisathome-node link):
curl -fsSL https://aisathome.org/node.sh | shIt does steps 1 and 2 below for you and asks before it installs: see Run a node. This page is the same install step by step, with the prebuilt bundle (no compiler, no CUDA toolkit, only the NVIDIA driver), and building llama.cpp yourself. Both end with the same services.
Prebuilt bundle
Section titled “Prebuilt bundle”What the machine needs: what you need.
1. Download and check
Section titled “1. Download and check”base=https://github.com/aisathome/aisathome/releases/latest/downloadcurl -fLO $base/aisathome-node-bundle-linux-amd64.tar.xz && curl -fLO $base/SHA256SUMS \ && grep ' aisathome-node-bundle-linux-amd64.tar.xz$' SHA256SUMS | sha256sum -c - \ && tar -xJf aisathome-node-bundle-linux-amd64.tar.xz && cd aisathome-node-bundle-linux-amd64The bundle (about 0.5 GB) holds the installer, the node agent and llama-server with
llama.cpp b12342, built with CUDA 12.8 for the RTX 30, 40 and 50 series, plus the NVIDIA
CUDA runtime and cuBLAS libraries it needs (see THIRD_PARTY_NOTICES.md). If the latest
release has no bundle yet, use build it yourself.
2. Check, then install
Section titled “2. Check, then install”./install.sh --dry-run # checks driver, GPU, free GPU memory and disk; installs nothingsudo ./install.shWhen it asks Link this node to your account? [Y/n], answer y: the install then ends by
linking the node to your account (step 3). Add --link to skip the question. (Installers before
v0.7.0 ask for a node token instead: press Enter there.)
Without an account (science only): answer n, or run sudo ./install.sh --anonymous: the
node registers with no sign-in instead of step 3. It does science work only, never people’s chats, and earns no credit
until you link it (sudo aisathome-node link). You must be 18 or older; running it means you
accept the terms. The one-line install above does steps 1 and 2 this way. The node
first answers a few test prompts and gets work once they pass (more).
The installer then:
- checks the NVIDIA driver, the GPU and the free disk space, and stops with a clear message if one is not right;
- picks the tier from the card’s size (16 GB: standard,
UD-Q3_K_XLwith 80k context; 24 GB and more: big,UD-IQ4_XSwith 192k) and checks that the card has enough free memory for it. If a screen or other programs use too much, it stops and says what to do; it never picks a smaller context; - downloads the tier’s model file (Qwen3.8 27B:
UD-Q3_K_XL, 13.1 GB, orUD-IQ4_XS, 14.3 GB) from Hugging Face, pinned to one exact file, and checks its SHA-256. An interrupted download resumes when you run the installer again. On a 24 GB card with 21,000 MiB free it also downloads the 1.4 GB MTP draft model, which makes the node write about 1.7-1.9x faster (model settings;--speculation offleaves it out); - writes
node.jsonfor the tier and the gatewaywss://api.aisathome.org/v1/node/connect(--gateway-urlfor another); - creates the users
aisathome(the node agent) andaisathome-llama(the engine), the two services, the uninstaller/usr/local/sbin/aisathome-node-uninstall, a watchdog that restarts a hungllama-server, and a hook that stops the node around suspend, and waits until the model is loaded; - runs a speed test (a minute or two): a 32,000-token prompt, then it measures how fast the card writes. Below 20 tokens/s it stops the node and says so. Pause BOINC GPU work and games during the install, or the test measures them too.
Add --enable-at-boot to start the node at boot. On a slow connection, download the model
first without root: ./install.sh --download-only ~/models picks the file for this
machine’s card (on another machine, add --tier standard for a 16 GB card or --tier big
for 24 GB and more), then install with --model ~/models/<file> as it prints, for example
--model ~/models/Qwen3.8-27B-UD-Q3_K_XL.gguf (the file is moved). --model takes only the
exact file of the card’s tier; the other tier’s file is refused with a message.
3. Link it to your account
Section titled “3. Link it to your account”The installer’s last step prints a link and a code:
Link this node to your AIs@home account:
1. Open this link in your browser:
https://aisathome.org/link?code=KXQT-4821 ...Open the link in your browser (on a server without a screen, any other device works), sign in, check that
the page shows the same code and approve. The node gets its own node token, which the installer
keeps in /etc/aisathome-node/token.env (readable by root only), and starts. Approving creates the
node on your account like Add a node does, and running it means you accept the
operator terms (§6). The code works for 10 minutes;
if it runs out, the node stays off and sudo aisathome-node link starts a new link (it also links
the node to another account later). Then press This is my machine on the node under Your
nodes on your account page: until then it is not one of your own nodes and gets none of your
personal data.
Advanced: paste a node token. Create a node on your account page (Add a node)
and run sudo ./install.sh --token-stdin, which asks for it (input is hidden; installers before
v0.7.0 take it at their token question). On a machine you reach over SSH you can put the token in
a file and pipe it in: cat token.txt | sudo ./install.sh --token-stdin, then delete the file. A token from your account page carries the node’s id; if we gave you a node id
with your token, add --node-id <id>.
4. Check
Section titled “4. Check”aisathome-node statusYou should see CONNECTED, the model, the tier and your GPU. For details, read the log (it needs
sudo unless you are in the adm or systemd-journal group):
sudo journalctl -u aisathome-node -u aisathome-llama -n 20To remove the node later: sudo aisathome-node-uninstall (installers before v0.7.0: keep the
unpacked bundle directory, whose uninstall.sh does it; day to day). Then tell us, and we check that requests reach you. For a
new release, see Update your node.
Build it yourself
Section titled “Build it yourself”For other GPUs, other distributions, or if you prefer to compile. Tested on a fresh Ubuntu 22.04 machine with an RTX 3090 (driver 535) and on an RTX 4090.
1. Build tools and llama.cpp
Section titled “1. Build tools and llama.cpp”llama-server must be built with CUDA. You need the CUDA toolkit that matches your driver
(nvidia-smi shows the highest CUDA version it supports), cmake, ninja and a C++
compiler. On Ubuntu 22.04 with driver 535:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.debsudo dpkg -i cuda-keyring_1.1-1_all.deb && sudo apt-get updatesudo apt-get install -y cuda-toolkit-12-2 cmake ninja-build build-essential gitexport PATH=/usr/local/cuda/bin:$PATH # nvcc is not on PATH by default
git clone --depth 1 --branch b12342 https://github.com/ggml-org/llama.cpp && cd llama.cppcmake -B build -G Ninja -DGGML_CUDA=ON "-DCMAKE_CUDA_ARCHITECTURES=86;89" -DCMAKE_BUILD_TYPE=Releasecmake --build build --target llama-servercd ..86;89 covers the RTX 30xx and 40xx series. A build for one of them only fails on the
other with no kernel image is available for execution on the device. The RTX 50 series
needs CUDA 12.8 or newer (cuda-toolkit-12-8, with driver 570.26 or newer) and 120 in the
list: "-DCMAKE_CUDA_ARCHITECTURES=86;89;120".
2. The node agent and the installer
Section titled “2. The node agent and the installer”git clone https://github.com/aisathome/aisathome && cd aisathomeThe installer downloads the agent from the latest release with --node-release latest and
checks it against the release’s SHA256SUMS. To build it yourself instead, you need Go 1.27
or newer from go.dev/dl (distribution packages are usually older):
go build -o aisathome-node ./node/cmd/aisathome-nodeand pass --node-bin ./aisathome-node in place of --node-release latest below.
3. Install
Section titled “3. Install”sudo ./node/packaging/linux/install.sh --llama-build ../llama.cpp/build \ --node-release latestAs with the bundle, the installer picks the tier, downloads and checks the model, writes
node.json, runs the speed test and ends by linking the node to your account (or takes a pasted
token). To use the model file you already
downloaded, add --model <file.gguf> (it must be the pinned file, and it is moved to
/var/lib/aisathome-node/models/model.gguf). To write node.json yourself,
pass --node-config node.json:
{ "node_id": "your-node-name", "gateway_url": "wss://api.aisathome.org/v1/node/connect", "upstream": "http://127.0.0.1:8000", "models": [{ "name": "qwen3.8-27b", "roles": ["deep", "agent"], "slots": 1, "ctx": 196608 }]}Don’t put the token in the file: the installer links the node, or asks for a token. Keep name, slots and ctx as
the installer would write them for your tier (--dry-run prints them): this is the big tier;
on a 16 GB card the name is qwen3.8-27b-q3 and ctx is 81920. Add --dry-run to see the
llama-server command without installing.