Saltar al contenido principal

Add a second machine

You end with your second machine listed as reachable and allowed to run workers.

Recorded on SpecWithCode 1.0.47 with SpecWeave 3.0.23, 18 October 2026, added 18 October 2026. The current release is SpecWithCode 1.0.191.

Before you start: SpecWithCode on both machines (Mac, Windows 10 or 11 on x64, or Linux); A SpecWithCode Connect account on the new machine; the main machine does not need one.

Length 1:13Captions

Steps

  1. On the new machine, sign in to SpecWithCode Connect at the bottom of the Settings sidebar and turn on Enable SpecWithCode Connect under Settings, Connections. On a server, run specwithcode connect.
  2. On the new machine, open Settings, Connections, and choose Invite this machine. Paste your main machine's environment ID, give it a name and choose Make the line.
  3. Copy the line. It works like a password, so paste it only on your main machine. A Connect line works once, within an hour.
  4. On the main machine, open Settings, Connections, paste the line under Add a machine and choose Add machine. It checks the address answers as that machine before saving it.
  5. Choose Allow workers on the card and pick the most a worker there may do. Coordinators can now start threads there, and each one uses that machine's own sign-ins for Claude Code, Codex and the other agents.

Transcript

Built from the caption file of the narration.

0:00 What you need

Add a second machine. Both machines need Tailscale, signed in to the same account, with MagicDNS and HTTPS certificates turned on.

0:11 Make the line on the new machine

On the new machine, here a Mac mini, open Settings, then Connections. Choose Invite this machine, give it a name, and choose Make the line. SpecWithCode publishes itself on the Mac mini's private Tailscale name, never on the public internet. The line works like a password, so it stays blurred here.

0:32 Add it on the main machine

On your main machine, open the same Connections page. Paste the line under Add a machine, and choose Add machine. The main machine checks that the address answers as that Mac, then lists it as reachable. Its address is blurred too.

0:49 Allow workers

Pick the most a worker there may do. Version 1.0.47 also asks for a one-time pairing code from the Mac mini, made there beforehand with specwithcode pair. Then choose Allow workers. The card now reads Allowed: Full access.

1:07 Next: a Linux server

Next: add a Linux server you rent, with the Linux worker guide.

Download SpecWithCode for MacRead the reference

Learning path

All tutorials