Hmob for Herdr: Answer Coding Agents from iPhone and iPad

Overview

Running multiple coding agents—such as Claude Code, Codex, or OpenCode—inside herdr makes it easy to parallelize work across repositories on a Mac or cloud server. The bottleneck shifts from typing code to unblocking agents: stepping away from your desk for ten minutes often means returning to a session stalled on a single y/n command approval.

Hmob for Herdr solves that gap without reducing your phone to a raw SSH terminal or routing sessions through a vendor cloud. It pairs a free native iOS and iPadOS app with a self-hosted hmob gateway binary running beside herdr on your own host, reachable over Tailscale or WireGuard.

Hmob connects iPhone, iPad, and iPhone Duo to herdr agent sessions via a self-hosted gateway

Verified on December 1, 2026 against Hmob documentation (hmob 1.2.1; 1.2.0+ for image uploads, host slash commands, and agent launch), herdr TUI documentation (herdr 0.9.5), and the App Store listing. Hmob is an independent project and is not affiliated with Herdr.

Why a herdr-native mobile client matters

Most remote-agent workflows on mobile fall into two camps: general-purpose SSH terminal apps that drop you into a plain shell, or cloud remote-control wrappers tied to a single vendor's relay. Herdr's own official mobile app bridges part of that gap over SSH for herdr-core (the desktop app runtime), but it explicitly does not support herdr TUI sessions.

Hmob is built around herdr's workspace model and supports both runtimes:

  • Works with both herdr TUI and the Herdr desktop app: Connect to agent sessions whether you run the standalone herdr TUI over SSH/local terminal or the Herdr desktop app.
  • Triage by attention state, not pane hunting: herdr tracks agent states including blocked, done, working, and idle. Hmob surfaces Needs you and Done agents at the top of Spaces across all workspaces so you can tap straight into the blocking prompt, type y (or a follow-up instruction), and watch it finish.
  • Built for touch screens: Instead of fighting a virtual keyboard inside a cramped terminal pane, Hmob provides a dedicated key bar (Esc, Ctrl, Tab, /, arrows, and herdr shortcuts), swipe navigation between tabs and panes, a compose panel for longer prompts, and project file browsing and review views.
  • Send screenshots and photos: Pick an image from Photos (without granting photo library permission) or capture one with the camera while composing. Before leaving your iPhone, Hmob shrinks the image and strips metadata including location, saves it on the host, and inserts the host file path into the prompt where Claude Code and Codex can read it.
  • Slash-command autocomplete: Typing / suggests built-in commands for Claude Code and Codex alongside custom commands and skills installed on your host, narrowing as you type.
  • Start a new agent from your phone: In herdr TUI sessions, pick an agent installed on the host, choose a folder, and launch it in a new tab or pane split—Hmob opens the pane and takes you straight to it.
  • Adaptive across Apple form factors: One free app on the App Store (requiring iOS/iPadOS 17.0+, available in 10 languages) runs on iPhone, iPad (with Split View, Stage Manager, and a spaces rail beside panes), and iPhone Duo—where the inner display uses the roomier iPad layout and the key rows split clear of the fold.
  • Offline built-in demo: Before touching your host, tap Try the demo (no host needed) on the pairing screen to test the triage, terminal approval, and completion flow locally with no network connection.

Per the support FAQ, sending images, host-sourced slash commands, and starting new agents require hmob 1.2.0 or later on the host (and herdr 0.9.5 or later to start agents). Any app version still works against older gateways—prompting to update hmob when you tap the image button, showing built-in slash commands only, and hiding the new-agent launcher.

Based on Hmob's own comparison, here is how it differs from generic SSH clients and cloud relays (note that Herdr's official SSH app is a herdr-core-aware exception among SSH clients):

CapabilityHmob for HerdrGeneric SSH Terminal AppsCloud Remote-Control Apps
Native herdr spaces, tabs, and statusYes (TUI and Herdr app)No (plain terminal)Vendor's own agent only
Third-party terminal relayNoneNoneVendor's relay
Account or subscriptionNoneOften subscription-basedRequired
Host setupSingle binary + QR scanSSH daemon + keysVendor CLI + sign-in
Internet-exposed portsNone on Tailscale; WireGuard UDP onlyPort 22 unless behind VPNNone

If you already use SSH-based workflows such as sharing a Codex session with ChatGPT mobile, Hmob fills a complementary role: it focuses on multi-agent triage across herdr workspaces without storing SSH keys on your phone.

Architecture and security model

No Hmob account or third-party session relay sits between your phone and your host; traffic stays inside your Tailscale tailnet (direct or DERP-relayed when NAT traversal requires it) or your WireGuard tunnel.

flowchart LR
    App[Hmob iOS and iPadOS app] <-->|QR-pinned TLS 8443| Tunnel[Tailscale or WireGuard]
    Tunnel <--> G[hmob gateway]
    subgraph Host[Mac or Linux host]
        G --- H[herdr TUI or app sessions]
    end

Four properties define the security boundary:

  1. Private-interface binding only: The hmob gateway (latest release v1.2.1) ships as a single binary—darwin-arm64 for Apple silicon Macs, and linux-x86_64 (static musl) or linux-aarch64 for Linux servers. Binding exclusively to your Tailscale IP (100.x.y.z) or WireGuard address (for example 10.8.0.1) keeps TCP port 8443 off the public internet and your local LAN.
  2. QR-pinned self-signed TLS: Running hmob pair --url "https://<private-ip>:8443" displays a one-time QR code (valid for 5 minutes) containing a pairing code and the SHA-256 fingerprint of the gateway's self-signed TLS certificate. The app pins that exact certificate rather than relying on public CAs or manual address entry.
  3. Treat paired devices and QR codes like shell access: Because the gateway can open terminals as your host user (falling back to a plain shell if herdr is missing), never share a pairing QR code or link. Pairing credentials—gateway address, certificate fingerprint, and device token—stay in the iOS Keychain and do not transfer across device backups or restores. If you lose a phone, run hmob devices and hmob devices --revoke <id> so the revoked device can no longer connect.
  4. Local-first image cache and stated privacy posture: Per the Hmob privacy policy (updated December 1, 2026), the app collects no personal data, has no accounts, analytics, advertising, or tracking, and includes no third-party SDKs. Camera access is used only to scan pairing QR codes or take a photo when you choose to send one, while picking from Photos requires no photo library access; uploaded images are shrunk with metadata (including location) stripped on the phone, stored in a private host cache (~/.cache/herdr-mobile/uploads on Linux or ~/Library/Caches/herdr-mobile/uploads on macOS), and pruned after 24 hours when the next upload arrives. Note that these are the developer's stated practices rather than an independent audit—source code for the app and gateway is not published, and the linked GitHub repository (hmob-app/support) serves as a support issue tracker.

Quick setup with Tailscale (Mac or Linux)

The hmob installer itself needs no root privileges. If you prefer WireGuard without Tailscale, follow the separate WireGuard guide, which requires root for WireGuard keys, wg-quick, and nftables rules.

1. Install the hmob binary

Install herdr on the host first—if hmob cannot find herdr when the service starts, mobile terminals open a plain shell—and verify ~/.local/bin is on your PATH. Then run the official install script:

1curl -fsSL https://hmob-app.github.io/install.sh | sh

The script verifies the downloaded tarball against SHA256SUMS from the same GitHub Pages site, which catches download corruption rather than a compromised origin. Security-conscious users can download the archive and SHA256SUMS from the Download page, verify the digest locally, and install offline with sh install.sh --file ./hmob-<version>-<platform>.tar.gz.

2. Bind and register the background service

Resolve your host's Tailscale IPv4 address (100.x.y.z) and register hmob as a launchd user agent (macOS) or systemd user service with lingering (Linux):

1# Resolve Tailscale IP (falls back to the macOS app bundle CLI if not on PATH)
2TS=/Applications/Tailscale.app/Contents/MacOS/Tailscale
3command -v tailscale >/dev/null && TS=tailscale
4TS_IP="$("$TS" ip -4)"
5
6# Listen only on the Tailscale interface and start at login/boot
7hmob install-service --bind "$TS_IP"
8hmob status

On a Linux server, ss -ltn | grep 8443 confirms the gateway listens only on 100.x.y.z:8443, requiring no inbound firewall rule for hmob.

3. Pair your iPhone or iPad

With Tailscale enabled on your iPhone or iPad, generate a pairing QR code on the host and scan it in Hmob:

1hmob pair --url "https://$TS_IP:8443"

Two operational notes from the Mac setup guide:

  • Always scan the QR code rather than typing the address by hand; manual entry lacks the certificate fingerprint and fails TLS verification against the self-signed certificate.
  • Keep a Mac host awake: Your phone can only reach the gateway while the Mac is awake and online. Enable prevent-sleep on power in System Settings, or run caffeinate -s during long agent runs.

Pairing with rule-based VPN clients

Hmob's install guide pairs by private IP because iOS applies extra system trust checks to hostnames (and not to IP addresses). If you run WireGuard inside a rule-based VPN client such as Stash or Clash—which often bypasses RFC 1918 ranges like 10.0.0.0/8—the WireGuard guide describes using a .test or .internal hostname (such as hmob.wg.test) served by dnsmasq on the server's WireGuard address (10.8.0.1, permitting TCP/UDP 53 in hmobwg.nft). Hmob relaxes iOS hostname trust checks only for those reserved suffixes while still enforcing the QR fingerprint.

When to adopt Hmob (and current constraints)

Hmob is a compelling fit if you run coding agents inside herdr—especially herdr TUI—on an Apple silicon Mac or Linux server and want fast, native approval triage on iPhone, iPad, or iPhone Duo without exposing SSH or paying for a cloud relay.

Before adopting it, keep three practical constraints in mind:

  • Built only for herdr: Hmob targets herdr workspaces rather than arbitrary tmux or zellij sessions.
  • Host architecture limits: Prebuilt gateway binaries target Apple silicon macOS (darwin-arm64), Linux x86_64, and Linux aarch64; Intel Macs are not supported.
  • Host must stay reachable: A Mac laptop that sleeps drops the gateway until it wakes.

To evaluate the touch ergonomics before touching your host setup, install Hmob from the App Store and try the built-in offline demo first.

Resources