🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

wolfpack-bridge

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wolfpack-bridge

Mobile command center for tmux-based AI agent sessions

Source
npmnpm
Version
1.6.4
Version published
Weekly downloads
86
-79.72%
Maintainers
1
Weekly downloads
 
Created
Source

Wolfpack

CI License: MIT Platform Version

        ...:.
           :=+=:
       . .-*####+-
      .- :++**####*=.
       -  :+***#####*=:.
       :   .+**######*+==++++++=:..
       ..   .=*#######*++++====+=--=-.
       .:.-    -+**######**+*#*+=-:-===:
     -.  ..     -++++***#**++*#*--:---===:
     -.:--==+=--=*++*+**********+==------++-
     .:----=++*++##########******+=====--=+#=-.
       .::-----=+*#%%%%%%#***###*+===--==+*=++=:.
         ...::::-=+*#%%############*+-----===+****+=:.
          :--=-====+******++****##***-.::--++*######**
         .++-+++++***********#*+*#***=.:---=+**=--=+==
         -**++*++****+***##*++*****++=. ----=+=.  ..:-
        .+##***+*+*****##*#=-=**=-=-::. -**-::-==+++++
        :*%%*+=+=+****##**++****+**+-.. -*=-   .::::-=
        .-#%#*+*+**#***+++**+****+*++=--+=::-:..:...-+
         =###***=*+++++-=*=+++++-====-=:-=--:=---==---
        .:-+***+=*+++**+++===*++++=--:=  ::=::-=----++
          .+****+++++*##+***++=+*-.:--:..-===---=-:-++
          .-+###**+++*#****+=---:--==.--=:==-==:::-=++
            :####*****+++======:.. :...:::---:.=------
            .=###***+++*++++--:.:::.   :-=::.:..-:---:
             :+**++++++*++*+=-:: .. ...... ..   .:..::

Drive AI coding agents (Claude, Codex, Gemini, any shell command) from your phone or browser. Sessions live in a Rust PTY broker that outlives the web server, so restarts don't kill your agents. Designed to ride on top of Tailscale — no ports to open, no DNS to wire up.

Desktop — multi-terminal grid view

Mobile — session list across machines

Install

curl -fsSL https://raw.githubusercontent.com/almogdepaz/wolfpack/main/install.sh | bash

Downloads the right pre-built binary for your platform, runs the setup wizard, and optionally installs as a login service. No runtime deps — broker is bundled.

Alternative: install via Bun / npm
bunx wolfpack-bridge      # or: npx wolfpack-bridge

Supported: macOS (arm64/x64), Linux (x64/arm64).

First Run

wolfpack walks you through:

  • Install Tailscale (recommended — you almost certainly want remote access)
  • Pick a projects directory and port
  • Detect your Tailscale hostname and run tailscale serve for HTTPS
  • Install as a login service (optional)
  • Print a QR code

Scan the QR with your phone, tap Add to Home Screen, done.

What It Does

  • Multi-machine — one phone manages sessions on every machine on your tailnet. Online/offline status per machine, cross-machine session list.
  • Session triage — color-coded states (running / idle / needs-input), live output preview on cards.
  • Agent-agnostic — Claude, Codex, Gemini, or any custom command. Configure per-session in Settings → Agents.
  • Survives restarts — the broker daemon owns every PTY. Redeploy the server, agents keep running.
  • Desktop grid — view up to 6 sessions side-by-side. Add via +, remove via ×, Cmd+ArrowLeft/Right to navigate.
  • Mobile-first terminal — ghostty-web (WASM) emulator. Keyboard accessory bar (arrows, Esc, git, copy). On-screen keyboard suppressed until you ask for it. Long-press to select.
  • PWA — install on home screen. Notifications + vibration when sessions need attention. Reconnects on drop.
  • Ralph loop — autonomous task runner. Hand it a markdown plan, it iterates through tasks with an agent, committing along the way. Ralph controls are hidden until you enable Settings → Ralph Loop → Enable Ralph Loop. See docs/ralph-macchio.md.

CLI

wolfpack                 Start the server (runs setup on first launch)
wolfpack setup           Re-run the setup wizard
wolfpack ls              List active broker sessions
wolfpack kill <name>     Kill a session
wolfpack doctor          Diagnose broker, binaries, JWT, Tailscale
wolfpack service ...     install / start / stop / restart / status / uninstall (add --broker to include broker)
wolfpack uninstall --yes Remove everything

Agent Skills

Wolfpack exposes repository-local agent skills in skills/:

  • wolfpack-plan — plan-file task header conventions that Ralph can parse.
  • wolfpack-ralph — Ralph loop response contract, notifications, and sandbox/socket caveats.
  • wolfpack-tailnet-control — discover, inspect, and control Wolfpack terminal sessions across Tailscale hosts.

Copy or symlink these skill directories into an agent's skill path when you want that agent to opt in.

Architecture

┌─────────────┐    ┌───────────┐    ┌──────────────────────────────────────────┐
│   Phone /   │    │ Tailscale │    │              Your Machine                │
│   Browser   │◄──►│  (HTTPS)  │◄──►│                                          │
│   (PWA)     │    │  mesh VPN │    │  ┌──────────┐  unix   ┌──────────────┐  │
└─────────────┘    └───────────┘    │  │ wolfpack │ socket  │  wolfpack-   │  │
                                    │  │  server  │◄───────►│   broker     │  │
                                    │  │ (Bun)    │         │  (Rust, PTY) │  │
                                    │  │ HTTP/WS  │         │  owns agents │  │
                                    │  └──────────┘         └──────────────┘  │
                                    └──────────────────────────────────────────┘
  • PWA — vanilla JS, no framework. ghostty-web renders the terminal.
  • Server — Bun HTTP + WebSocket. Pure broker client; owns no PTYs.
  • Brokerwolfpack-broker, Rust daemon. Owns every PTY, keeps per-session output rings. One Unix-domain socket per host ($XDG_RUNTIME_DIR/wolfpack-broker.sock, fallback ~/.wolfpack/broker.sock). Wire protocol in docs/broker-protocol.md.

Optional: JWT Auth

Tailscale already gates who can reach the server. If you want an extra auth layer on top — useful if you share your tailnet with others, or for defense-in-depth — set a JWT secret:

export WOLFPACK_JWT_SECRET="$(openssl rand -base64 48)"

Tokens are HS256; the server validates, it does not issue — sign them with any JWT library using the same secret.

Optional: WOLFPACK_JWT_AUDIENCE, WOLFPACK_JWT_ISSUER, WOLFPACK_JWT_CLOCK_TOLERANCE_SEC (default 30s).

Config

~/.wolfpack/config.json (mode 0600):

{
  "devDir": "/Users/you/Dev",
  "port": 18790,
  "tailscaleHostname": "your-machine.tailnet-name.ts.net"
}

Per-server agent settings in ~/.wolfpack/bridge-settings.json. The broker socket's filesystem permissions are the auth boundary.

Contributing

See CONTRIBUTING.md for dev setup, the asset pipeline, and PR conventions.

Bugs and feature requests: GitHub Issues. Questions and ideas: Discussions.

License

MIT

Keywords

tmux

FAQs

Package last updated on 22 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts