Pairfob
Control Claude Code, Codex and other local coding agents from your phone with one QR scan — no VPN, no open ports, no account.
- Source repo
- arronKler/pairfob
- Stars
- ★ 186
- Last updated
- 1d ago
- FARS reviewed
- Nov 28, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 66/100 · Some gaps
At a glance
- Works with
- Universal · cross-platformCodex · Claude Code
- You'll need
- Typical use
- A developer kicks off a long Claude Code refactor at the desk, then answers the agent's permission prompts and follow-ups from the phone on the commute instead of leaving it blocked.
- Main limitation
- The host side runs only on macOS and Linux; Windows can merely open the browser client as a second screen.
- Website
- pairfob.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-27
- Source review
- 66/100 · Some gaps
What does this agent do, and when should you use it?
Pairfob is a Go daemon (cmd/pairfob) plus a React + TypeScript PWA (add to Home Screen for full-screen PWA mode) that turns a phone browser into a remote console for coding agents running on your own computer. The host installs as a login service, drives the Herdr multi-session runtime over a loopback connection, and only makes outbound connections; a Cloudflare Worker with a Durable Object (workers/pairfob-origin) relays opaque ciphertext frames until the authenticated peers upgrade to a direct WebRTC DataChannel. Pairing runs SPAKE2+ with a terminal confirmation on the computer and Argon2id-hardened session keys, so the relay operator never holds keys. On the phone the same live session is viewable in three modes — Chat (structured tool steps and Markdown), Control (rendered terminal with touch keypad and dictation) and Terminal (a real xterm.js PTY for vim and full-screen TUIs) — alongside workspace file browsing, git diff review with line-level comments, a multi-pane Board, and subscription quota rings read locally from Claude, Codex, Copilot, Cursor, Grok and others. Agents keep using the logins already configured on your machine, Pairfob itself needs no account, and the relay stack is open source and one-command self-hostable on your own Cloudflare account.
After installation the host daemon runs as a login service; pairfob pair prints a QR code and fallback code in the terminal, and after the phone scans it at pairfob.com/pair you press Enter once on the computer to complete SPAKE2+ pairing and derive Argon2id-hardened session keys. The daemon drives the Herdr session runtime over loopback to list and create sessions (Claude Code, Codex, Grok, Gemini, Copilot, Cursor, OpenCode, Pi, or a plain Terminal), then dials out over WSS to a Cloudflare Worker + Durable Object room that forwards encrypted frames to the phone; once authenticated both sides upgrade to a WebRTC DataChannel and the relay drops to an encrypted fallback. The PWA renders the same session in three modes — Chat (structured tool steps and Markdown replies), Control (rendered terminal with system keyboard, dictation and a touch keypad) and Terminal (xterm.js true PTY) — and also browses workspace files, reads git status and diffs, sends a comment on any diff line straight back to the agent, manages conversations/tabs/splits and Git worktrees on the Board, switches across multiple computers, and displays locally-read subscription quota rings for Claude, Codex, Copilot, Cursor, Grok, DeepSeek, Factory, Kiro and OpenCode. The pairfob CLI itself exposes status, pair, list, forget, doctor and update for managing the service and paired devices.
- A developer kicks off a long Claude Code refactor at the desk, then answers the agent's permission prompts and follow-ups from the phone on the commute instead of leaving it blocked.
- Reviewing an agent-produced change on a tablet: browse workspace files, open the git diff, tap the offending line, and send the review note back into the running session.
- Someone running agents on a home workstation and a work laptop who wants to switch machines from one phone without building a VPN mesh or storing SSH keys on the phone.
- A developer who needs vim or a full-screen TUI over mobile — Terminal mode provides a real PTY via xterm.js rather than a chat-only wrapper.
- Users tracking weekly allowances: check the Claude, Codex, Copilot or Cursor quota rings on the phone so a task does not hit the limit mid-run.
- Teams with compliance constraints who must keep the relay inside their own cloud account and deploy the Worker, Durable Object, D1 database and web app themselves.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://pairfob.com/install.sh | sh
- Install notes cover
- macOS · Linux · Android
How do you install or deploy this agent?
On a macOS or Linux computer, run the installer — it verifies the binary, sets up the Herdr multi-session runtime automatically, and registers Pairfob as a login service:
curl -fsSL https://pairfob.com/install.sh | shIf it reports that the install directory is not on your PATH, run the one-line fix it prints, then display a pairing QR code on the computer:
pairfob pairExisting Herdr users can instead add Pairfob to Herdr's action menu via the plugin:
herdr plugin install arronKler/pairfobSelf-hosting the relay (Worker, Durable Objects, D1 database and web app on your own Cloudflare account) is documented in docs/selfhost.md; the README does not print that deployment command directly. To work from source:
(cd pwa && bun install --frozen-lockfile)
./scripts/dev-up.sh
./scripts/verify.sh
./scripts/dev-down.shHow do you use this agent?
Open https://pairfob.com/pair in the phone browser (Safari, Chrome, or added to Home Screen for full-screen PWA mode), scan the QR code or type the fallback code, then press Enter once on the computer to approve. Tap any running session in the phone's list, or choose Create, pick a project directory on the computer, and launch Claude Code, Codex, Grok or Terminal. On the computer the CLI covers the operational side:
pairfob # status: service, paired devices, runtime
pairfob pair # pair a phone, tablet or another computer
pairfob list # paired devices
pairfob forget 1 # unpair by index or name
pairfob doctor # diagnose this computer; changes nothing
pairfob update # update to the latest release and restartTo add a second computer, run the same installer there and then tap Settings → Switch computer → Add a computer on the phone. Optional native shells are a sideloaded Android 7.0+ APK and a Capacitor iOS shell still being prepared for TestFlight.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Three live views of one session — Chat, Control (rendered terminal plus touch keypad and dictation), and Terminal (xterm.js true PTY for vim and full-screen TUIs) — so you can switch between structured reading and native terminal work without restarting anything.
- Concrete transport design: SPAKE2+ pairing with terminal confirmation, Argon2id key hardening, upgrade to WebRTC P2P with the relay kept only as encrypted fallback, and outbound-only connections with no port forwarding or VPN.
- Diff review is a real loop: browse workspace files, inspect git status and diffs, tap any line to send a comment back to the agent, and attach photos, PDFs or files into the prompt.
- One console spans Claude Code, Codex, Grok, Gemini, Copilot, Cursor, OpenCode, Pi and a plain shell, with switching across multiple computers including SSH-reachable remote machines.
- Subscription quota rings for Claude, Codex, Copilot, Cursor, Grok, DeepSeek, Factory, Kiro and OpenCode are read locally on the computer and surfaced on the phone.
- Relay, PWA and protocol specs are open source under Apache-2.0, the relay is one-command self-hostable on Cloudflare, and
proto/ships frozen envelopes with cross-language test vectors.
- The host side runs only on macOS and Linux; Windows can merely open the browser client as a second screen.
- It requires a persistent login-service daemon plus an auto-installed Herdr session runtime on the development machine, which layers on top of existing tmux/screen habits.
- The docs require the computer to stay awake and online, and the default path depends on the external pairfob.com relay for pairing and fallback forwarding unless you self-host.
- Mobile distribution is beta-grade: a sideloaded Android APK and an iOS shell still in TestFlight preparation, with no app-store install path.
- Files under
proto/are frozen by design, so anyone extending the protocol must open an issue first rather than patch it directly. - Without accounts, every new device needs a return trip to the computer to run
pairfob pairand approve manually; there is no bulk or team-level authorisation.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Pairfob This agent | 66 · Some gaps | — | ★ 186 | 1d ago | TypeScript | Codex · Claude Code |
| swe-mux | 82 · Good | CLIFree | ★ 43 | 20d ago | Python | Codex · Claude Code |
| HAPI Remote Agent Console | 69 · Some gaps | CLIFree + model costs | ★ 5.5k | today | TypeScript | Codex · Claude Code |
| Reemoat | 72 · Some gaps | — | ★ 31 | 1mo ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
AGENTS.md states concrete least-privilege rules — public paths default-deny, never trust a client-claimed device_id, never expose the Herdr socket to the relay — and mutations carry an operation_id with no automatic retry; the downloads Worker also narrows CORS to a single origin and whitelists APK paths, so least privilege and external effects have real anchors (2 each). Pairing requires an Enter confirmation on the computer and updates can be disabled, so user confirmation exists but only at documentation level (2). Data-flow transparency is explained with a diagram plus the security doc: relay forwards opaque frames only, keys stay on the machine (2). Sensitive data: SECURITY.md enumerates OPERATOR_TOKEN, IP_HASH_PEPPER and the Android signing key plus the gitignored paths (2). Dependencies: CI pins actions by SHA, uses bun install --frozen-lockfile and runs a go-vuln job, but no dependency-review policy is visible (2). Rollback is deducted to 1: only `pairfob update` and a one-attempt auto-update exist, with no documented downgrade or recovery path. Attribution: Apache-2.0, NOTICE, Herdr and proto files are credited (2).
README, AGENTS.md and proto/ agree on pairfob.v1 envelope versus pairfob.v2 mux, and the directory duty table matches the code entry points (the origin Worker only forwards into handleFetch) (2). Dependency availability is deducted: go.mod declares go 1.25.0 with toolchain go1.26.11 and CI pins the same 1.26.11, a patch-level toolchain that static evidence cannot confirm is obtainable — a concrete install-time risk (1). Failure messages: there is `pairfob doctor`, an installer PATH hint, unknown_outcome that only refreshes, and 502/404 branches in the downloads Worker, but coverage is thin (1).
Audience and scenarios are strong: phone/tablet/desktop width tiers, multi-machine switching, Android sideload plus planned iOS, many agents with a plain Terminal fallback, and self-hosting (3). Capability boundaries are the best-documented area: the product is explicitly not a terminal emulator, the capabilities keys are the sole authority, absence means false, the official instance is distinguished from self-hosted relays, and a linked machine must not hold another machine's keys (3). Trigger precision: pairing via QR plus fallback code plus a terminal confirmation is clear but only lightly evidenced (2). Environment fit: macOS/Linux are first-class, Windows is browser-client only, Android 7.0+, Cloudflare dependency — stated, but scope is limited (2).
Install notes are the strongest item: one-line install, checksum verification, login-service registration, PATH fix, uninstall link and the Herdr plugin path are all present (3). LICENSE is the full Apache-2.0 text with a NOTICE reference (3). Information architecture has the README path table and the AGENTS.md duty table, but only fragments of the doc tree are in the packet (2). Naming stability: proto is frozen, /v1/ws must not return, and envelope versus mux versions are clearly separated (2). Examples are rich (commands, Live Demo, screenshot script) but there is no FAQ (2). Known limitations mention keeping the computer awake, Windows being limited and no terminal emulation, but are not systematic (2). Versioning relies on GitHub Releases, SemVer scripts and dl.pairfob.com/daemon/VERSION, with no in-repo CHANGELOG (2). Maintenance responsibility is deducted to 1: there is a private SECURITY.md channel, Discussions and good-first-issue labelling, but no maintainer list, response commitment or governance, and the publisher is unverified.
Output usability: session list, Needs-you strip, Chat/Control/Terminal modes, diff line comments and Board layout are described concretely and backed by a demo sandbox (2). Marginal value: the comparison against vendor remote control, SSH+Tailscale+tmux and cloud wrappers correctly targets true PTY, multi-agent, quota monitoring and account-free P2P, but the comparison is self-authored (2). Cost/benefit: free, no account, reuses existing logins and one-command self-hosting versus a resident daemon, auto-update and Cloudflare relay dependency; no quantified cost (2).
Claim traceability: key security claims point to proto/, docs/selfhost.md, SECURITY.md and the Live Demo, so claims can be followed to files (2). Cross-source corroboration: README, AGENTS.md, the Worker code and CI agree on protocol versions, directory duties and the verification gate (2). Fact/inference separation: the docs distinguish design intent from implementation behaviour, but statements such as E2EE, zero-knowledge relay and quota accuracy cannot be self-proved from this packet and remain assertions, so no higher score (2).
- Publisher identity is unverified; the security and protocol properties are self-described and were not independently reproduced or penetration-tested.
- The primary install path is `curl -fsSL https://pairfob.com/install.sh | sh`, which also registers a login service and enables auto-update; review the script and make an explicit decision about PAIRFOB_AUTO_UPDATE before running it.
- go.mod and CI pin toolchain go1.26.11, a patch-level release that static evidence cannot confirm is obtainable, which could break build or install; align with an actually available toolchain.
- The daemon self-updates by default; a 12h soak plus a 60s idle gate exist, but no downgrade/rollback path is documented, so recovery cost after a bad update is unknown.
- The packet contains README, AGENTS.md, a few source files and CI fragments only; internal/crypto, full proto/ and tests are not shown, so E2EE, zero-knowledge relay and quota-reading claims cannot be verified here.
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.