broski
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 11 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Native iOS and Android remote for Claude Code and Pi running on your Mac. End-to-end encrypted, free, and open source.
Broski
Your AI coding agents, in your pocket.
Native iOS and Android remote for Claude Code and Pi running on your Mac.
broskiapp.com · iOS TestFlight · macOS & Android Downloads · MIT License
Independent open-source project. Not affiliated with Anthropic or the Pi authors.
What Broski is
Broski is a native phone remote and inbox for the AI coding agents already installed on your Mac. The iOS app (SwiftUI) and Android app (Jetpack Compose) share one Rust core (BroskiCore) and talk to your Mac over an end-to-end encrypted Noise link (hybrid X25519 + ML-KEM-768) — directly over your LAN when on the same network, or through a self-hosted blind relay when away.
On your Mac, Broski drives the exact claude and pi binaries you already use, inheriting your own config, permissions, models, and extensions. It bundles no agent and locks you into no vendor workflow. Every agent plugs in through an open backend contract, so adding new agents requires zero changes to the mobile apps.
iOS app (SwiftUI) Android app (Compose)
└─────────────┬─────────────────────┘
BroskiCore (Rust, UniFFI)
│ Broski Link: Noise (X25519 + ML-KEM-768), LAN or blind relay
broski-link daemon (Rust, launchd)
│ Unix socket ~/.broski/link/bridge.sock
bridge (Bun / TypeScript)
│ SDK / RPC
Claude Code · Pi · any AgentBackend
Platform support
- Desktop host: macOS only (Apple Silicon and Intel, running as a
launchduser service). Windows and Linux are not supported. - Phones: iOS 26+ and Android 8.0+ (API 26+).
Quickstart
1. Install the Mac bridge and daemon
Download the latest release binaries from GitHub Releases with the installer (verifies SHA256SUMS):
curl -fsSL https://raw.githubusercontent.com/humblemuzzu/broski/main/packages/bridge/scripts/install.sh | sh
broski install # registers broski-link + bridge as a macOS login service
broski-link pair # prints the pairing QR code and broski:// link
Prefer building from source? You need Bun 1.4.4+ and a stable Rust toolchain:
git clone https://github.com/humblemuzzu/broski && cd broski
(cd packages/link && cargo build --release --locked -p broski-link-daemon)
cd packages/bridge && bun install
bun bin/broski.ts install
../link/target/release/broski-link pair
2. Install the phone app
- Android: Download the APK from GitHub Releases, or build locally with JDK 17 and the Android SDK:
export ANDROID_HOME="$HOME/Library/Android/sdk" JAVA_HOME="$(/usr/libexec/java_home -v 17)" scripts/build-android-core.sh scripts/build-android-terminal.sh (cd apps/android && ./gradlew :app:installDebug) - iOS: Join the public TestFlight beta, or build from source on your own Mac and iPhone:
Seecp apps/ios/Broski/Local.xcconfig.example apps/ios/Broski/Local.xcconfig # edit Local.xcconfig with your DEVELOPMENT_TEAM and BROSKI_BUNDLE_PREFIX scripts/install-ios-wifi.shCONTRIBUTING.mdfor Xcode/XcodeGen details and simulator builds.
3. Pair and go
Scan the QR code (or paste the broski://pair?... link) in the app. On the same Wi-Fi/LAN, your phone connects directly with zero extra setup.
Away from home (Tailscale, Amphetamine & Relay)
- Keep your Mac awake with the lid closed:
broski-linkholds a macOS stay-awake assertion while an agent is actively running, and installing Amphetamine (free on the Mac App Store, with "Allow system sleep when display is closed" unchecked) keeps your MacBook reachable even when idle or with the lid closed. - Reach your Mac over cellular with Tailscale (easiest): Turn on Tailscale on your Mac and phone.
broski-linkadvertises your Mac's Tailscale IP directly as a local route, so Broski connects end-to-end encrypted from anywhere without hosting a relay. - Self-hosted blind relay (optional, adds lock-screen pushes): If you want remote access without Tailscale or want APNs/FCM push notifications while the app is closed, run your own blind
broski-relay(packages/link/relay/README.md).
Diagnostics
Broski ships with built-in diagnostics on your Mac:
broski doctor # checks Bun, login-shell env & provider keys (names only), Claude/Pi CLIs, TLS, launchd service, and connectivity
broski-link status # shows paired machine id, relay state, LAN/Tailscale addresses, bridge health, and live phone sessions
broski-link devices # lists paired phones (revoke any lost phone with `broski-link revoke <id prefix>`)
Updates
The bridge checks GitHub Releases once on startup (and daily in daemon mode) using a lightweight /releases/latest redirect — no GitHub API token or rate limits. It only notifies you when a new version is available and never auto-updates.
broski update # downloads, verifies SHA256SUMS, updates broski + broski-link, and restarts
To turn off update checks completely, set "updates": { "check": false } in ~/.broski/config.json or export BROSKI_NO_UPDATE_CHECK=1.
To uninstall cleanly:
curl -fsSL https://raw.githubusercontent.com/humblemuzzu/broski/main/packages/bridge/scripts/install.sh | sh -s -- --uninstall
Features
- Unified inbox across all paired Macs: approvals, questions, running agents, and finished turns, with Approve/Deny right on the row and lock-screen actions when paired with a push-enabled relay.
- Full chat experience: live streaming answers, thinking blocks, collapsible "Worked for" turn summaries, custom Markdown formatting, syntax highlighting (
@pierre/highlights), word-level diffs, prompt cache timer, and steer-by-default (tap Send to steer mid-run, long-press to queue). - Terminal handoff: follow sessions started in your Mac terminal and answer Claude Code terminal permission prompts from your phone.
- Workspace tools: browse, read, and search project files; inspect git status, diffs, staging, commits, branches, and log; open a native
libghosttyterminal inside the session folder. - Voice dictation: transcribe with your own xAI key (
api.x.ai/v1/stt) seeded with workspace/session names, or fall back to on-device speech recognition with no key. - Live Activity (iOS) and Live Update (Android) while agents work, daemon-synced notification switches that hold with the app closed, plan usage tracking, and local token/cost stats.
- Bridge MCP tools: authenticated loopback
/mcpendpoint giving Claude Codebroski_notify, Pi nativebroski_ask, and plugin/future adaptersbroski_ask,broski_propose_plan, andbroski_notify(docs/bridge-mcp.md).
Supported agents & extensibility
- Claude Code — drives your installed
claudethrough@anthropic-ai/claude-agent-sdk, inheriting your settings, permissions (permissions.defaultMode), hooks, and MCP servers. - Pi — drives your installed
pioverpi --mode rpcinside a detached holder so runs survive bridge restarts, inheriting your models, extensions, andsteeringMode.
Want to add Codex, OpenCode, Gemini CLI, Cursor, or your own agent? See docs/adding-an-agent.md.
Repository structure
packages/
bridge/ TypeScript/Bun bridge, backend contract, Claude Code & Pi adapters, MCP server, stats, workspace
link/ Rust workspace: Noise crypto, protocol, daemon (broski-link), blind relay (broski-relay),
mobile client (broski-client), markdown/code/diff renderer, dictation, UniFFI facades
apps/
ios/ Native SwiftUI app (iOS 26+) + NotificationService & Live Activity / Usage widget extensions
android/ Native Jetpack Compose app (Material 3) + :core (UniFFI) + :terminal (libghostty-vt JNI)
docs/ Adding an agent, Bridge MCP, architecture specs, and legal docs
scripts/ Dev daemon manager, mobile core/app build scripts, Wi-Fi/TestFlight helpers, workspace checks
Security model
Broski is a personal tool for hardware you own. A paired phone can do what you can do at your Mac's terminal.
- One-time QR pairing: carries the Mac's key fingerprint, a one-time secret, and an expiry. Consumed on first use.
- End-to-end encryption: Noise hybrid X25519 + ML-KEM-768 with the Mac's fingerprint pinned from pairing.
- Blind relay: forwards ciphertext only; never sees prompts, code, or files (
relay-protocol.md). - Per-device revocation:
broski-link devicesandbroski-link revoke <id prefix>. - No public bridge port: the bridge serves a key-guarded Unix socket (
~/.broski/link/bridge.sock) and a loopback-only127.0.0.1listener (TLS + bearer token).
See SECURITY.md for vulnerability reporting and docs/architecture/connectivity-v2/ for the link specifications.
Documentation
ARCHITECTURE.md— system map and crate/layer boundariesCONTRIBUTING.md— prerequisites, build/test commands, iOS/Android signing, and PR rulesdocs/adding-an-agent.md— complete guide to building a new built-in or plugin agent adapterdocs/bridge-mcp.md— how Broski's loopback/mcptools work across agentspackages/link/relay/README.md— self-hostingbroski-relay(Docker or Cargo)AGENTS.md— full engineering and testing reference for this repositorydocs/legal/PRIVACY_POLICY.mdanddocs/legal/TERMS_OF_SERVICE.md
License
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found