Where work runs
Workers
A worker is a Linux machine of yours that runs a home’s tasks: their leads, setup, tests and dev servers, there instead of on the home. The home keeps the conversation, the review and every push; the worker sends its work back as it goes. Workers are in early access.
What runs where
- 1The home sends the task’s code to a worker, as a git bundle.
- 2The lead works there: its setup, runs, tests and dev servers.
- 3Its work comes back as checkpoints, every 15 seconds and before each turn ends.
- 4Another maker’s model reviews it, on the home.
- 5The home pushes it and opens the pull request, with its own git sign-in.
- A worker
- The home
- Your code host
- 2Lead works
- 4Review
What a worker needs
| What it needs | |
|---|---|
| System | 64-bit Linux, x64 or arm64, with systemd 254 or later and a user service manager |
| Its login | Lingering, so the worker keeps running once setup’s SSH session ends |
| Network | It must reach its home on port 6770; a home on your laptop means the same network, or one such as Tailscale |
| Disk | Room for each project’s history, up to 4 GiB, and a checkout per task |
| Tools | Git for projects’ setup; its release brings Node, the agents’ adapters, and bubblewrap, ripgrep and socat for the sandbox |
Adding a worker
- In the home’s window, open Settings›Computers, choose , and type its SSH address as you would after
ssh. - Althar looks the machine over with your own OpenSSH. Logged in as root, it makes a login of its own,
althar, with your key and lingering on. Otherwise it turns lingering on wheresudoneeds no password, or shows the line for the machine’s administrator. - It installs the worker’s signed release, which the machine downloads or your computer sends, checked against Althar’s release key before anything runs.
- The release makes the worker’s own key; the home signs it and enrolls the worker under the name you gave. Althar starts
althar-worker.serviceand a timer that updates it. - In Settings›Computers, pick the projects it works on and sign its agents in: Codex with a one-time code, Claude Code in your browser. A worker takes no task until it has a project.
For a machine you can’t reach over SSH, choose With a code and run the line it shows there. The code works once, for ten minutes or until the home restarts. Sign its agents in on the machine, as the worker’s login:
program="${XDG_DATA_HOME:-$HOME/.local/share}/althar-worker-program/current"
"$program/node/bin/node" "$program/dist/althar-worker.js" sign-in --agent codex --way device
How a worker and its home trust each other
- The home
- Is its workers’ certificate authority. The first time it takes a worker, it makes the authority and its worker port’s certificate, kept in
<profile>/workers/authority.json, and opens port 6770. - A worker
- Is its key: a P-256 key that never leaves it. The home signs it as a client certificate and enrolls the worker by it. Removing the worker refuses the key.
- The connection
- Mutual TLS. The worker checks the home’s certificate names
home.althar.invalid, whatever address it dials, and tries the home’s addresses in turn. - A code
- Carries the home’s ID, its addresses, its authority’s certificate and a random token, of which the home keeps only a SHA-256 hash, in memory, for ten minutes.
- Releases
- Signed. Set up over SSH, your computer checks the release against its pinned key; from a code, the machine trusts the first release’s key, and every update must be signed by it.
Only your own window, or a window on the home over SSH, may add, change or remove workers; a device paired over the network may not.
Running a task on one
A plan’s Runs on picks a worker, or Any free worker, which prefers one that reported in lately, then the most free memory, disk and cores. The home checks the lead and the repositories again at Start, and reserves the worker in its ledger before sending anything. A task with up to eight repositories can run on a worker; its review runs on the home.
Each worker has its own Agents at once, so workers add to what a home runs. The task menu’s Runs on moves a running task, with its work, once its lead’s turn ends.
What moves between them
- Out to the worker
- A git bundle of the task’s tracked and unignored files, with the history the worker lacks. Its copy of each project’s history,
.althar-history.git, means the first task sends up to 4 GiB of it and the rest only what’s new; the conversation says how much went. Both ends check they have room first. - Back to the home
- Checkpoints: every 15 seconds while the folder is open, and before each turn ends or an Althar tool acts. A checkpoint is the agent’s new commits as a bundle, a patch of its uncommitted files and, where asked, of what it staged, up to 4 GiB each, streamed through files on both sides.
- Pushes
- Never from the worker. Its checkout’s git hook sends a push back to the home, which publishes with its own git sign-in and its own rules.
If the home’s copy changed on its own meanwhile, the home says there’s a conflict and the worker keeps its files. A send that’s too large says why: a large file that is neither committed nor ignored, the history, or an older worker, which takes sends of up to 128 MiB.
When a worker drops off
A worker that goes away keeps the task’s folder, with its changes since the last checkpoint, and they come home once it’s back. Before the home starts another run in that folder, the worker must confirm the old run’s processes stopped; it records each run’s control group before its agent starts.
A worker doesn’t keep work going on its own. If its home is this computer and it sleeps or quits, what ran on the worker stops; for work that carries on while your computer sleeps, give it a home on a server.
Its agents and servers
A worker’s agents sign in there, on accounts of their own, so what they use counts against those accounts, and a task on it offers only the models signed in there. The worker carries the programs of those agents only, under ~/.local/share/althar-worker/programs.
MCP servers reached over HTTP connect through the home, where their credentials stay. One that starts as a command must be on the worker too, under the same name, with its own configuration. Skills selected for a lead reach Codex and Claude Code leads there.
Agents on a worker run as its login and can read what that login can. On newer Ubuntu, their sandbox needs an AppArmor rule, which setup adds where it may; Check again in Settings›Computers reruns the worker’s own check of its sandbox, tools and agents.
Previews and local copies
A dev server bound to localhost on the worker, that prints its HTTP address, opens as Worker preview: in a private Althar window, through the home, with forms and WebSocket live reload. Its connections close when the run stops.
To work on a task’s files on your computer, choose Save a local copy in its Worktree part. Althar verifies the download and saves a fresh checkout with the worker’s commits, staged files and edits; offline, it offers the home’s copy. Each copy carries althar-snapshot.json, saying which one it is.
Where a worker keeps its files
| What | Where |
|---|---|
| Its key, certificate, home’s authority and addresses, journal, and task checkouts | ~/.local/share/althar-worker |
| The release it runs, and the one before | ~/.local/share/althar-worker-program |
| Its services | althar-worker.service, althar-worker-check.service, althar-worker-update.timer, in ~/.config/systemd/user |
A run’s checkout, its helpers’ copies and its scratch go once the home has recorded how the run ended. A worker that stopped mid-run keeps them until its home settles the run, and, as it starts, clears what a crash left of runs its home is done with.
Updates, and removing one
A worker checks for a newer release hourly, signed by the same key, and switches to it while it runs no task. The window offers one under the Updates glyph and in Settings›Computers; a worker set up by hand updates on its timer, or now:
systemctl --user start althar-worker-update.service
journalctl --user -u althar-worker.service # what the worker did
journalctl --user -u althar-worker-update.service # what its updates did
Remove stops the home giving it work and refuses its key, and the worker takes itself off: its services, its folder and its program. Offline at the time, it does so when it next reaches its home, or now, as its login:
"${XDG_DATA_HOME:-$HOME/.local/share}/althar-worker-program/current/althar-worker" uninstall
Its agents’ sign-ins, ~/.codex and ~/.claude, stay, since they’re the agents’ own; so do its login and its lingering.
Troubleshooting
| What you see | What to do |
|---|---|
| It never shows in Settings › Computers | Read journalctl --user -u althar-worker.service, and check the worker can reach its home on port 6770. |
| It stops when setup’s SSH session ends | Its login doesn’t linger: run the loginctl enable-linger line Althar shows, then Try again. |
| Its sandbox fails on Ubuntu | The AppArmor rule is missing: run the line setup showed for the administrator, then Check again. |
| A start says the send is too large | Commit or ignore the large file it names, or update an older worker. |
| Its changes are stuck on it while it’s offline | They come home when it’s back; meanwhile, Save a local copy offers the home’s. |