Skip to main content

Add a second machine

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

  • SpecWithCode
  • 1:13
  • Codex
  • Narrated, with captions

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.44.

Before you start: SpecWithCode for Mac on both machines; Tailscale on both machines, signed in to the same account, with MagicDNS and HTTPS certificates on.

Length 1:13Captions

Steps

  1. Install Tailscale on both machines, sign in to the same account, and turn on MagicDNS and HTTPS certificates for the tailnet.
  2. On the new machine, open Settings, then Connections, and choose Invite this machine. Give it a name and choose Make the line. SpecWithCode publishes itself on that machine's private Tailscale name, never on the public internet.
  3. Copy the line. It works like a password, so paste it only on your main machine.
  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 and lists it as Reachable.
  5. Pick the most a worker there may do. In 1.0.47, also run specwithcode pair --scope orchestration:read --scope orchestration:operate on the new machine and paste its one-time code into the pairing code field.
  6. Choose Allow workers. The card reads Allowed: Full access.

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

Run SpecWithCode

Understand the setup, run a project through its coordinator, then add plans, memory and a second provider.

  1. See how SpecWithCode runs your agents

    2:54, SpecWithCode

  2. Start SpecWithCode with a coordinator and two workers

    1:48, SpecWithCode

  3. Run a project with a coordinator and workers

    1:29, SpecWithCode

  4. Plan, verify and schedule project work

    1:35, SpecWithCode

  5. Keep project memory and read honest usage

    1:06, SpecWithCode

  6. Continue a thread on Codex at a usage limit

    1:01, SpecWithCode

  7. Keep working when a provider runs out

    1:39, SpecWithCode

  8. Add a second machine (this guide)

    1:13, SpecWithCode

  9. Finish a thread with a pull request and auto-merge

    1:19, SpecWithCode

  10. Let agents use a browser

    1:10, SpecWithCode

One more guide is planned for this path.

All tutorials