Connecting a computer

Connecting a computer

Pair a Mac or Linux computer with Harmony so your coding agents can run on it, with the logins and files already there. It takes one command and about a minute.

The Connect a computer dialog showing the install command and the runner connecting

Connect a computer

  1. Open your profile from the menu under your name, then choose the External agents tab. Computers belong to you, not the workspace.
  2. In the Computers card, choose Connect a computer.
  3. Under 1. Run this on that computer, copy the command with the copy button. Treat it like a password: it pairs a computer with your account.
  4. Open a terminal on the computer you want to use and paste the command. It needs macOS or Linux with Node 20 or later. It installs the Harmony runner, saves the computer's token in your home folder and keeps the runner going in the background.
  5. Watch 2. Connection. It shows Waiting for the runner… and turns green with Connected as and your computer's name a few seconds after the command finishes. You can close the dialog and come back; the command stays valid until it's used.
  6. Choose Add an agent to set one up on this computer straight away, or Done.

The computer now shows Online in the Computers card, with how many agents Harmony found installed on it, for example 3 agents found.

How the runner works

The Harmony runner is a small program on your computer. It only reaches out to Harmony to collect work; nothing connects in. When you ask an agent, the runner picks up the request, starts the agent with your own login, and sends back its steps and answer.

  • It starts by itself. The runner starts again when you log in to the computer, so you don't need to keep a terminal open.
  • It keeps itself up to date. The runner compares itself with the version Harmony serves and updates itself, so fixes reach your computer without reinstalling.
  • It reports what's installed. It tells Harmony which coding agents it finds and their versions, and which local model servers are running. See Model provider keys and local models.
  • It checks sign-ins. When you choose Check its sign-in on an agent, the runner asks that agent whether it's signed in. See Adding an external agent.

What you'll see

Status What it means
Online The runner checked in recently and is ready.
Offline The runner hasn't checked in. The computer may be asleep or off, or the runner is stopped.
Waiting for the runner You created the computer but haven't run the command yet.

Pair again or remove

  • Pair again shows a fresh command for the computer. Use it when you move to a new machine, if the runner needs updating by hand, or if you think the old command was shared.
  • To remove a computer, open its menu (the vertical three dots) and choose Remove, then Remove again to confirm. Harmony stops sending work to it and its runner can no longer connect. Files on the computer aren't touched. Agents set up on it stop working until you move them to another computer.

Example

Sam Okafor wants Claude Code to work on the team's repository while they review designs. Sam opens Profile → External agents, chooses Connect a computer and pastes the command into Terminal on their MacBook. A few seconds later the dialog says Connected as the MacBook's name, and the card shows 3 agents found, because Claude Code, Codex and Cursor CLI are already installed.

FAQs

What does the runner need? macOS or Linux, with Node 20 or later. Windows isn't supported.

Does the runner open a port or let Harmony into my computer? No. It only makes outgoing requests to Harmony to collect work and send results, and it only runs the agents you set up.

Can I connect more than one computer? Yes. Connect each one, then choose which computer each agent runs on.

What happens if my laptop sleeps while an agent is working? The request stops. Harmony notices the computer went quiet after a few minutes and marks the work as failed, so you can ask again when it's back.

How do I stop the runner? Remove the computer in Harmony to cut it off at once. Then delete the runner's folder in your home folder; the Connect a computer dialog shows where it is.