How Takt works
The model
You have one computer where your coding agents run: your desktop, say. It runs the fleet’s coordinator, which holds the queue, places jobs, serves the dashboard and keeps the image registry. It also runs a worker, so it takes jobs itself.
Agents type takt run (or call the MCP server) instead of running a build or a test suite in their session. The coordinator queues the job and gives it to a worker with room. The worker runs it in a container or a VM under a memory cap and streams the log back.
You can then connect other computers, a Mac mini, a home server, a Windows laptop or a rented VPS, to run more at once and to run jobs your desktop can’t (macOS, Windows, a GPU). Each one runs a worker that dials out to the coordinator and keeps one connection open. A fleet has exactly one coordinator.
One machine already helps
With that single computer and nothing else, you get:
- A queue with priorities. Jobs wait their turn instead of all starting at once,
P0(landing) beforeP1(checks) beforeP2andP3. See How scheduling works. - Admission by real free memory. A job starts only when the memory it needs, plus headroom, is free right now, as measured, not only as booked.
- A memory cap on every job. A job that grows past its size is stopped; it can’t take the memory your session needs.
- Your agent sessions survive. On Linux, each agent session gets memory that jobs can’t take. When memory runs short, jobs stop first. Start a session with
takt agent -- claude, or runtakt protect --selfin one that’s already open. - A fresh box per job. Linux jobs run in the project’s container image; macOS and Windows jobs run in VMs. See Run Takt safely.
- Interactive mode. Takt keeps cores and memory free for you while you use the machine, and runs its jobs at the lowest priority. See Sleep and wake machines.
- Learned sizing, shared runs, fail-fast groups and supersede keys. See Use Takt with agents.
More machines add room and kinds of jobs, not protection: each machine protects itself the same way.
Supported setups
| Setup | Supported | How |
|---|---|---|
| One machine: coordinator, worker and agents | Yes | The installer’s “start a fleet” |
| Agents on the coordinator’s machine, more workers (Linux, Mac, Windows) | Yes | takt join <host> from the coordinator’s machine, or the installer on each |
| A VPS or a machine outside your network as a worker | Yes | takt join <host> --tunnel, or a tailnet |
| Agents on more than one machine | Yes | Each of those machines joins the fleet; its CLI and MCP reach the coordinator |
| The coordinator on a machine where no agents run | Yes, on a machine that stays on | See below |
| Several people sharing one fleet | Yes, if they trust each other | See People and fleets |
| Several separate fleets | Yes | Each has its own coordinator; they know nothing of each other |
| One machine in two fleets | No | A machine belongs to one fleet at a time |
Agents on more than one machine
Agents on any joined machine use Takt the same way. On the coordinator’s machine the CLI and MCP server talk to the coordinator over its local socket; on every other joined machine they reach it over the network with the token that machine got when it joined, checked against the coordinator’s key pinned then. There is nothing else to configure: joining a machine, by takt join or the installer, also teaches its agents.
On such a machine:
takt runsubmits to the whole fleet. The job ships that machine’s working tree, uncommitted changes included, and runs wherever it fits.--hereruns on that machine, the one that submitted it, never elsewhere. It waits while the machine’s Run jobs here is off, so a laptop that should run only its own--herejobs keeps it on and uses Interactive mode.- Protection is local.
takt agentandtakt protect --selfwork on any Linux machine with Takt installed, joined or not. - Fleet administration stays on the coordinator’s machine.
takt join,takt join-command,takt approve,takt removeandtakt drainwork only there. Another machine changes only its own settings (takt machine set), and can see the whole fleet, wait for, read and cancel any job, and sleep or wake any machine.
A machine that never joined can’t submit. To submit from a laptop without running the fleet’s jobs there, join it with Run jobs here off (--not-used).
The coordinator on another machine
The coordinator can run on a home server or a Mac mini that stays on, with your agents on a laptop that joins as a worker. Things to know:
- Keep it on. Takt never sleeps the coordinator’s machine. When no coordinator answers,
takt runruns the command on the submitting machine, in place, under the same memory cap, and says so. - The dashboard is on the coordinator’s machine, at
http://127.0.0.1:7742, answering only that machine. From the laptop,takt statusshows the fleet, or forward the port:ssh -L 7742:127.0.0.1:7742 home-server. - Adding machines happens there too: run
takt join <host>in a shell on it (over SSH is fine), or approve an installer’s code there withtakt approve <code>. - Wake-on-LAN packets don’t cross routers: a sleeping machine on another network than the coordinator’s wakes only if an awake machine of the fleet is on its network. A coordinator on a rented VPS can’t wake your machines at home by itself.
People and fleets
Installs. On Linux and Windows Takt installs for the whole machine by default, as an account of its own, takt, from boot. On a Mac it installs for you by default, since macOS VMs run only from a login; --whole-machine starts it at boot, for Linux container jobs only. --user installs it for you alone anywhere. See Install Takt.
Several people on one machine. With a whole-machine install, everyone in the takt group uses it (sudo takt system add-user <name> adds someone), and a --here job runs as the person who owns its checkout. A per-user install is its installer’s alone.
Several people sharing one fleet. Takt has no accounts per person. Anyone who can use Takt on a joined machine can submit jobs, cancel anyone’s, and sleep or wake any machine, and the queue is ordered by priority and age only, with no quotas or fair share between people. Share a fleet with people you trust.
Several fleets. Fleets are independent: each has its own coordinator, machines, queue and history. When the installer finds more than one on your network, it asks which to join (--fleet <name> picks one without asking).
Not supported
- A machine in two fleets, or one CLI switching between fleets. A machine joins one fleet; to move it, remove it from the first.
- More than one Takt install on a machine, such as two people’s per-user installs: each worker would book the same memory and cores.
- Submitting from a machine that hasn’t joined, or reaching the coordinator with a personal token: the CLI’s identity is its machine’s.
- Per-person permissions, quotas or fair share.
- Adding or removing machines from anywhere but the coordinator’s machine.
- Session protection outside Linux. macOS and Windows have no equivalent of systemd’s slices and oomd; there the jobs’ hard limits and Interactive mode are the protection, and a
--herejob on a Mac runs with no memory cap. --hereon a Windows whole-machine install, since a service account can’t act as you. A per-user install on Windows runs them.- macOS and Windows VMs on most cloud VMs, which expose no KVM; Apple’s licence also limits macOS VMs to Macs, at most two at a time.