Handby

Get started

From nothing to your first spoken answer: install on your computer, pair your iPhone, say hello. Handby 0.1.8 is pre-release software.

Before you start

  • A computer: Windows 10 or 11 (x64), or a Mac with Apple Silicon (M1 or newer) on macOS 15 or newer. Intel Macs are not supported.
  • An iPhone on iOS 18 or newer.
  • A coding agent, installed and logged in on the computer: Claude Code or Codex CLI (tested), or Gemini CLI, Aider or opencode (experimental). Check it in a terminal: claude --version or codex --version must print a version.
  • A network between them: Tailscale (free for personal use, works away from home), logged in with the same Tailscale account on the computer and the phone. Or the same home Wi-Fi, for a trusted home network only.
  • About 1 GB of free disk. The install downloads about 400 MB (voice models and Python packages) and takes 5 to 15 minutes.
  • Windows: one admin (UAC) prompt near the end installs the safety helper. Click Yes. If you decline, Handby still works, and the setup page says “safety helper: not isolated”; running the installer again adds it.
  • Mac: the download is the same zip as for Windows for now. A notarized Mac installer (.pkg) comes later, and only that installer adds the safety helper, so for now a Mac install is “not isolated”. Testers have run the Mac install end to end; a voice call on a real Mac has not been confirmed in testing yet.

Optional: a free Deepgram key makes speech-to-text faster. Without it, speech-to-text runs on your computer.

Tip: install Tailscale and TestFlight on the iPhone before you start (step 4). The pairing code on the setup page works for 10 minutes; if it runs out, the page shows a new one.

1. Install on your computer

One line (recommended)

It downloads Handby 0.1.8, checks its SHA-256 against the one on this page and refuses to install if they differ, installs Handby with the defaults (your name from the computer's account, the agent it finds, Tailscale), installs Tailscale if it is missing (on a Mac without Homebrew it opens Tailscale's download page instead) and opens the Tailscale login.

Windows · paste into PowerShell (not as admin)

$env:HANDBY_RELEASE_URL = 'https://github.com/Peeyushmeher/handby/releases/download/v0.1.8'
$env:HANDBY_SHA256 = '9c2bfe299301c04e8c99995fb05d6d6c176ab7faf65379b65655b7ca05540303'
irm "$env:HANDBY_RELEASE_URL/get.ps1" | iex

Mac · paste into Terminal

export HANDBY_RELEASE_URL=https://github.com/Peeyushmeher/handby/releases/download/v0.1.8
export HANDBY_SHA256=9c2bfe299301c04e8c99995fb05d6d6c176ab7faf65379b65655b7ca05540303
curl -fsSL "$HANDBY_RELEASE_URL/get.sh" | sh

On a Mac for now: no safety helper (it comes with the notarized Mac installer, later), so the setup page says “not isolated”. A voice call on a real Mac has not been confirmed in testing yet.

Other ways to install: download the zip, or let your agent do it

Download the zip

The zip's installer does the same as the one line, Tailscale included.

Download Handby 0.1.8 (zip)

File
handby-v0.1.8.zip, 2.3 MB, one zip for Windows and Mac
SHA-256
9c2bfe299301c04e8c99995fb05d6d6c176ab7faf65379b65655b7ca05540303

Check the hash before you run anything. It must match the line above.

Windows

Get-FileHash "$HOME\Downloads\handby-v0.1.8.zip"

Extract the zip, then double-click Install Handby.cmd. The file is not signed yet, so Windows may ask “Do you want to run this file?”: click Run.

Mac

shasum -a 256 ~/Downloads/handby-v0.1.8.zip

Double-click the zip to extract it, then double-click Install Handby.command. It is not signed yet, so the first time macOS says it can't check it: click Done, open System Settings › Privacy & Security, click Open Anyway, then double-click it again. Same Mac notes as above: no safety helper yet, Mac voice call not confirmed in testing yet.

Let your agent do it

Paste this into Claude Code or Codex on the computer:

Clone https://github.com/Peeyushmeher/handby and follow its SETUP_AGENT.md to set up Handby on this computer.

The agent asks you a few things first (which agent, which folder it works in, Tailscale or home Wi-Fi), runs the installer, checks each step and stops for what only you can do: the Tailscale login, the admin prompt, the phone app and the QR code. If it asks for a Deepgram key, that is optional: you can skip it. Never paste a key into the chat; the setup page has a field for it.

Where your agent works

By default your agent works in the folder ~/.handby/agent; Handby writes its voice rules into that folder's CLAUDE.md or AGENTS.md, between markers, and keeps the rest of the file. The setup page shows the folder under Agent folder. To use another folder, run handby init --agent-dir "<folder>".

2. Log in to Tailscale

A browser window opens with the Tailscale login. Log in with the account you will also use on your iPhone. Computer and phone must be on the same Tailscale account.

Home Wi-Fi instead? The one line and the zip set up Tailscale. To use only your home Wi-Fi, switch afterwards with handby init --network lan, then pair with handby pair. Handby then works only while the phone is on the same network, and only on a network you trust. See Tailscale or Wi-Fi.

3. The setup page

When the install finishes, the setup page opens in your browser. It shows a big QR code and whether Tailscale, the agent and the phone are OK. Open it again any time with the Handby icon on your Desktop, with handby pair, or at http://127.0.0.1:8787/setup (only on that computer).

Handby starts by itself each time you log in to the computer (a logon task on Windows, a login item on a Mac), so after a restart there is nothing to do.

Optional: click make a free key for Deepgram and paste the key into the page. It never goes through your agent's chat.

4. Your iPhone

  1. Tailscale: install the Tailscale app and log in with the same account as the computer. (Skip this on home Wi-Fi.)

  2. The Handby app: install Apple's TestFlight app, then open the beta link and install Handby Voice.

    Open the TestFlight beta

  3. Pair: point the iPhone Camera at the QR code on the setup page and tap the banner. Allow the microphone, and allow Local Network if iOS asks (needed on home Wi-Fi). The code works once and for 10 minutes. Code expired? Click Show a new code on the setup page.

5. Say hello

Tap the mic in the app and say “hello”. Your agent's answer is spoken on the phone.

To stop it at any time: the red Stop button in the app, or say “stop stop stop”.

Before you rely on it, read Security: voice access is your agent's access to your computer.

If something is off

Run handby doctor first

It checks everything and every failed check says how to fix it. Right after an install, handby may not be on the PATH of the window you installed from: open a new terminal, or use the full path, %USERPROFILE%\.handby\bin\handby.cmd on Windows or ~/.handby/bin/handby on a Mac.

After a restart, or handby is not found

Handby starts again by itself when you log in. To open the setup page: the Handby icon on the Desktop, or http://127.0.0.1:8787/setup in a browser on that computer. If a terminal says handby is not found, use the full path: %USERPROFILE%\.handby\bin\handby.cmd pair (Windows) or ~/.handby/bin/handby pair (Mac).

Nothing comes back when I talk

Run handby doctor again, then read the log at ~/.handby/relay.log (on Windows, %USERPROFILE%\.handby\relay.log). Check that your agent works on its own in a terminal, logged in.

The phone can't reach the computer
  • Tailscale: both devices must be logged in to the same account and Tailscale switched on, on both.
  • Home Wi-Fi: the iPhone must be on the same network with no VPN on. Allow Local Network for the app in Settings › Privacy & Security › Local Network; without it nothing works. On Windows, mark the network Private (Settings › Network). Guest Wi-Fi, client isolation and most office or hotel networks won't work.
  • If the computer's address changed on home Wi-Fi, pair again with handby pair. A DHCP reservation on your router prevents it.
The Mac drops the call

Handby keeps the Mac awake while the phone is connected, but closing the lid on battery still puts it to sleep. Keep the lid open, or plug it in with an external display.

A port is already in use

Handby uses TCP 7880, 8787 and 8788 and UDP 50000 to 50100. If another program holds them, handby doctor says so; pick others with handby init --ports 22880,28787,28788.

Adding the Deepgram key later

Paste it on the setup page (handby pair opens it), or run handby key in your own terminal (hidden input). Saving restarts Handby by itself.

Lost phone

Run handby devices to see its device id, then handby revoke <device id>, or use Remove on the setup page. A phone with Face ID set up is asked first, and again every hour; if it never answers, it is removed after 24 hours.

Uninstall

Double-click Uninstall Handby.cmd (Windows) or Uninstall Handby.command (Mac) in the release folder. It asks what to remove: Handby only, or Tailscale and Claude Code too; ~/.claude is kept. Or run handby uninstall; handby uninstall --purge also deletes ~/.handby.

Still stuck? Open an issue on GitHub with the output of handby doctor. Don't paste keys.