Use it from your phone

Harness Relay runs on your computer, with your agents, projects and sign-ins. With Tailscale, a private network of your own devices, you can open the same chats on your phone, a tablet or another computer, wherever you are, without opening Harness Relay to your Wi-Fi or the internet.

Share it with your phone

You need:

  • Tailscale on the computer that runs Harness Relay and on the phone (the Tailscale app), signed in to the same tailnet.
  • MagicDNS and HTTPS certificates turned on in Tailscale's admin console, on its DNS page.

Then, with the desktop app:

  1. Open Harness Relay's menu (the three dots in the menu bar on macOS, in the system tray on Windows and Linux) and choose Share with your phone (Tailscale)….
  2. The first time, if your tailnet does not allow sharing or HTTPS yet, the app opens Tailscale's page for it in your browser. Allow it there, then choose Share with your phone again.
  3. When sharing is ready, the app opens Settings → Connect your phone on the computer. If the phone needs Tailscale, scan the download QR code and sign in with the same account. Copy phone address in the tray menu also copies the private HTTPS address.

On a Mac, the Tailscale app is enough. On Linux, if Tailscale does not let your user change its settings, the app shows the one command to run first. Whatever else the computer already shares with your tailnet stays as it is.

Sign the phone in

With Tailscale connected, choose Settings → Connect your phone → Sign in another device on the computer. Scan the sign-in QR code with your phone. It works once, for ten minutes. You can also open the private HTTPS address on the phone and enter the code. The same guide shows how to add the home-screen icon and enable notifications.

  • The working directories are folders on the computer, not on the phone.
  • Files the agents make (a PDF, slides, a spreadsheet): tap the link in the reply, or Download in Files, and the file is saved on the phone.
  • Conversations keep running on the computer when the phone locks or you close the page. When you come back, the page catches up.
  • Signing an agent in from the phone: pick a method that shows a link or a code. Codex's ChatGPT browser sign-in opens a browser on the computer, so use ChatGPT device code instead.

Add it to the home screen

An icon on the home screen, Harness Relay's three dots, opens the chat with one tap, full screen, like an app. It works while Tailscale is on in the phone and the computer can be reached.

iPhone and iPad

  1. Open the address in Safari.
  2. Tap Share (if you don't see it, tap the button with three dots first), then Add to Home Screen.
  3. If you see Open as Web App, keep it on, then tap Add.

Android

  1. Open the address in Chrome.
  2. Tap the menu button (three dots) at the top right, then Install app (in some versions Add to home screen or Install and create shortcut).
  3. Tap Install.

Notifications on the phone

To know when the team finishes or needs you, with the phone in your pocket: on the phone, open Settings & sign-in → Notifications and sound and turn on Show notifications. On an iPhone or iPad, do it in the icon on the home screen (iOS 16.4 or later): Safari's own tabs get no notifications. Send a test notification tries it out.

The phone then gets them even when it is locked and the page is closed, as long as the computer runs Harness Relay and is online. Tailscale need not be on in the phone for them, only to open the chat.

A notification shows the start of a reply, or the command an agent asks about, so it may show on a locked screen. To keep that private, hide notification previews on the lock screen in the phone's settings.

Keep it reachable

The phone reaches Harness Relay only while the computer is awake and Harness Relay runs. In the app's menu, turn on Open at login, so it starts again after a restart, and Keep this computer awake while running. A MacBook still sleeps when you close its lid.

Without the desktop app

If you run Harness Relay from its source, or on a server without a desktop, you share it with tailscale serve yourself and start Harness Relay with the address's name. The phone guide on GitHub has the commands, and how to keep it running on a Mac or a Linux server.

Who can reach it

  • Only devices in your tailnet, over HTTPS. Harness Relay itself still listens only on the computer (127.0.0.1); Tailscale passes your devices' requests on to it.
  • Only browsers you signed in can use it. Sign out a phone you no longer use in Settings → Signed-in browsers. If other people share your tailnet, use Tailscale's access controls so that only your own devices reach that computer.
  • Never with Tailscale Funnel, which would publish the page to the whole internet.
  • Your computer's name becomes public: with HTTPS on, Tailscale records the full name, such as my-computer.tail1234.ts.net, in public certificate logs. Don't use a computer name you want to keep private.