Pairfob is an open-source project for remotely controlling local coding agents from your phone. Its core purpose is to let users keep Claude Code, Codex, Grok, or other local coding agents running on their computer, and connect to the same set of real-time sessions from a phone, tablet, or another browser via QR-code pairing, so they don't have to stay at the computer.
Main capabilities include:
- QR-code pairing: Run pairfob pair on the computer to display a QR code and a backup code; open pairfob.com/pair on the phone to scan the code or enter the code, then press Enter once on the computer to approve.
- Dual modes of true PTY and chat: Automatically choose among Control (rendered terminal, system keyboard/dictation, touch keyboard), Terminal (full PTY via xterm.js, suitable for vim and full-screen TUIs), and Chat (structured tool steps and Markdown replies).
- Session management: On the phone, you can view the list of running sessions, or select Create and specify a project directory on the computer to start Claude Code, Codex, Grok, or Terminal. Sessions are managed by the automatically installed Herdr runtime.
- Alerts and notifications: The Needs you strip and optional push notifications alert you to blocked or waiting agents; tap to answer prompts or approve commands.
- Code review and attachments: Browse workspace files, view git status and diffs, tap any diff line to write a review comment, and attach photos, PDFs, or files to prompts.
- Board workspace layout: Create conversations, tabs, split screens, and Git worktrees, and view the live multi-pane layout of tabs on the Board.
- Multi-computer control: Switch between work and home computers from a single phone, including remote machines accessible via SSH.
- Quota monitoring: Read and monitor the remaining quota of subscriptions such as Claude Code, Codex, Copilot, Cursor, Grok, DeepSeek, Factory, Kiro, and OpenCode locally on the computer.
How to use: On a macOS or Linux computer, run the installation command curl -fsSL https://pairfob.com/install.sh | sh, the installer verifies the binary, automatically configures the Herdr multi-session runtime, and registers Pairfob as a login service. If it reports that the install directory is not in PATH, fix it with the one-line command shown in the output. Then run pairfob pair to pair your phone, and open or create a session on the phone. On the phone you can use Safari or Chrome directly (add to Home Screen to run as a full-screen PWA), or optionally install the sideloaded APK beta for Android 7.0+; the native iOS Capacitor shell is being actively prepared for TestFlight.
Security and self-hosting: pairing uses SPAKE2+ with confirmation in the computer terminal, and session keys are hardened with Argon2id; the relay is a zero-knowledge relay, keys remain only on the computer and paired devices, and the relay only forwards opaque ciphertext frames; after authentication the session upgrades to a direct WebRTC DataChannel, with the relay serving only as an encrypted fallback; the computer only makes outbound connections, with no port forwarding, VPN, or exposed local sockets required. A single command can deploy the Worker, Durable Objects, D1 database, and web app to your own Cloudflare account.
Use cases: developers who need to keep supervising or operating a local coding agent while away from the computer, especially users who want to quickly approve commands, reply to prompts, review diffs, or monitor subscription quotas from their phone.
Limitations: the computer side currently supports macOS and Linux; Windows can only open the browser client as a second screen; the computer must stay awake and online during use; the phone side requires a browser, and the native app is still in testing or preparation; the full availability of some features (such as push notifications and the native iOS shell) is subject to the official release status. The project is licensed under the Apache License 2.0.