Skip to content

About

Native macOS app to run and supervise many coding agents (Claude Code, Codex and others), with iPhone and Android remotes over Tailscale

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

JoinerCode

Run and supervise a team of coding agents from one native Mac app.

JoinerCode overview with several projects and agents

JoinerCode runs Claude Code, Codex, OpenCode and any other terminal agent side by side, each in a real terminal, grouped by project. A coordinator agent can plan the work, split it into tasks and hand them to other agents in their own git worktrees. The app keeps builds, simulators and emulators from overloading the Mac, and your iPhone or Android phone works as a remote for all of it, anywhere, over Tailscale.

It's built for people who already run several agents at once and spend too much time switching terminals, answering permission prompts and restarting a Mac that ran out of memory.

Features

  • Real terminals. Every agent gets a Ghostty terminal rendered on Metal. Agents run in a background daemon (joinerd), so they keep working when the app quits, crashes or updates.
  • Any agent. Claude Code, Codex, OpenCode, Antigravity, Pi, or a plain shell. Several accounts per agent, with usage and reset times for each.
  • One view of what needs you. Each agent shows working, waiting for input, done or blocked. Permission prompts and questions collect in one place and can be answered without hunting for the right tab.
  • Coordinator and task board. A coordinator agent breaks a goal into tasks with dependencies, starts agents for them and reviews their work. Agents claim tasks and files, message each other and finish tasks with a summary that a verifier checks.
  • Worktrees and changes. Agents can work in their own git worktree and branch. The app shows each agent's diff, pull request and check status.
  • Resource control. A build lock and admission control based on measured RAM, CPU, disk and heat. Builds, test runs, encodes and simulator boots wait their turn instead of crashing the machine. Builds can also go to other Macs over ssh.
  • App development tools. iOS simulators (booted in a slim mode that uses about a third of the memory), Android emulators, a device window, a browser panel the agent can drive, and App Store Connect and Google Play listing tools.
  • MCP tools for agents. Agents get JoinerCode's tools over MCP: the task board, messages, device leases, the build slot, simulators, the browser and more.
  • Phone remote. Pair an iPhone or Android phone over Tailscale with end-to-end encryption. See agents, answer prompts, read terminals and start new agents from the phone, with push notifications on iOS.
Coordinator and task board Context and usage per agent
Coordinator board with tasks and dependencies Context inspector with cache, compactions and account windows
Builds and resources Phones
Build queue and machine resources Settings, Devices, with paired phones

The screenshots come from the app's demo mode with made-up projects (see Demo mode).

Requirements

  • macOS 26 or later on Apple silicon
  • Xcode 27 (27.1 or later for the iOS app)
  • XcodeGen
  • Go, for the embedded Tailscale, and Zig to build the terminal engine
  • At least one agent CLI, such as Claude Code or Codex
  • For the Android app: JDK 17 and the Android SDK
  • For phones: a Tailscale account

You build the Mac and iPhone apps yourself. A signed Android APK is on the Releases page; check its SHA-256 and signing certificate against the release notes before you install it.

Quick start

git clone https://github.com/michaeljoiner/JoinerCode.git
cd JoinerCode
brew install xcodegen go zig
scripts/build-app.sh
open build/JoinerCode.app

The first scripts/build-app.sh also fetches and builds the terminal engines, which takes a while. On first launch the app installs and starts its daemon, finds the agent CLIs you have installed and walks you through adding a project. Pick a folder, start an agent, and it opens in a terminal tab.

Building

Mac app

The terminal engine (GhosttyKit, libghostty-vt) and TailscaleKit are prebuilt binaries that git ignores. scripts/build-app.sh builds the missing terminal engines on its own; you can also run the steps by hand:

scripts/fetch-ghostty-vt.sh        # libghostty-vt
scripts/build-ghosttykit.sh        # GhosttyKit, needs Zig and a few GB of disk
scripts/build-tailscalekit.sh      # embedded Tailscale for the daemon and the iPhone app, needs Go
scripts/build-app.sh               # joinerd, joiner and build/JoinerCode.app

scripts/build-app.sh signs with your first Apple Development certificate if you have one, so macOS remembers the app's permissions between builds. Set JOINER_SIGN_IDENTITY=- to sign ad hoc.

Tests: scripts/test.sh (the daemon's socket tests run serially). For a single target, use swift build --target JoinerSystem or similar.

If agents build on the same Mac, wrap heavy commands in scripts/with-build-lock.sh <command> so only one runs at a time.

iOS app

The iPhone app lives in Apps/iOS and is part of the same Xcode project (scheme JoinerCodeiOS), with a notification service extension and widgets.

  1. Set your team ID and bundle prefix (see Configuration) and run xcodegen generate.
  2. Open JoinerCode.xcodeproj in Xcode 27.1 or later, pick the JoinerCodeiOS scheme and your iPhone, and run. Automatic signing registers the app, its extensions and the App Group group.<your prefix>.
  3. The first time, turn on Developer Mode on the phone (Settings, Privacy & Security).

From the command line:

xcodebuild -project JoinerCode.xcodeproj -scheme JoinerCodeiOS \
  -destination 'platform=iOS,name=<your iPhone>' -allowProvisioningUpdates build

The full walkthrough, including push notification keys, is in docs/ios/INSTALL.md.

Android app

The Android app lives in Apps/Android (Kotlin, Jetpack Compose). With JDK 17:

cd Apps/Android
./gradlew testDebugUnitTest assembleDebug
adb install app/build/outputs/apk/debug/app-debug.apk

The application ID defaults to com.joinercode.android. To publish your own build, pass -Pjoinercode.applicationId=com.yourname.joinercode. Release signing reads keystore.properties (copy keystore.properties.example). More in Apps/Android/README.md.

Pairing phones

Phones connect to the Mac daemon's gateway on port 7651 over your tailnet. The link uses a Noise IK handshake, so traffic is end-to-end encrypted between the phone and the Mac.

  1. Mac: in Settings, Devices, click Sign in once. The daemon runs its own Tailscale node, so the Tailscale app isn't needed on the Mac. In the Tailscale admin console, turn off key expiry for that node.
  2. iPhone: the app embeds Tailscale too and asks you to sign in on first launch. Android: install the Tailscale app and sign in to the same tailnet.
  3. Mac: Settings, Devices, Add phone. A QR code appears for two minutes.
  4. Phone: scan the code, or paste the pairing code. Both screens show the same six digits.
  5. Mac: check that the digits match and click Pair.

Revoke a phone any time in Settings, Devices, or with Disconnect all phones in the menu bar.

Push notifications on iOS go through APNs with your own key: in Settings, Devices, Notifications, enter the Key ID and your Team ID and choose the .p8 file. Android gets notifications from the live link while the app runs, or always with the app's Stay connected setting.

Configuration

Nothing in the repository is tied to a developer account. Signing and identifiers come from a local file that git ignores:

cp Config/Signing.example.xcconfig Config/Signing.local.xcconfig
JC_DEVELOPMENT_TEAM = ABCDE12345            // your Apple team ID
JC_BUNDLE_PREFIX = com.yourname.joinercode  // bundle IDs, App Group and push topic derive from this

Run xcodegen generate after editing it. The Mac app uses the same prefix for the iPhone app's push topic, so rebuild both after changing it.

Agents, accounts, resource limits, build Macs and notifications are set in the app's Settings window.

Demo mode

build/JoinerCode.app/Contents/MacOS/JoinerCode --demo starts the app on built-in sample data without a daemon, which is handy for UI work. Add --demo-screen=coordinator (or split, devices, settings and the others in AppModel.applyDemoScreen) to open a specific screen.

Architecture

JoinerCode.app (SwiftUI, AppKit)       joinerd (login agent)              phones
  Ghostty terminals        ◀─ unix ─▶  PTYs, sessions, hooks,  ◀─ Noise ─▶  iOS, Android
  projects, board, builds              MCP tools, resources,   Tailscale
                                       phone gateway, SQLite
             ▲                               ▲
             └──── joiner (CLI): attach, hook, mcp, ls ────┘
  • joinerd owns every agent process (one PTY each), the session state machine, agent hooks, the MCP tool server, resource admission and the phone gateway. Agents survive the app quitting.
  • JoinerCode.app is a view on the daemon. Each terminal is a Ghostty surface running joiner attach <session>.
  • joiner is a small CLI: attach, hook (called by agent hooks), mcp (stdio bridge to the daemon's tools), ls and more.
  • JoinerProtocol defines the wire format once. The Mac, iPhone and Android apps all speak it, and Tests/Fixtures/wire.tsv keeps the Kotlin side in step.
Swift target Role
JoinerProtocol Wire models, commands and events (also builds for iOS and watchOS)
JoinerCore ClientStore, the client mirror of daemon state, and transports
JoinerDaemonKit, joinerd PTYs, sessions, hooks, persistence, socket server
JoinerSystem Resource monitor, admission control, device leases, build lock
JoinerHarness Agent registry, accounts, hook injection, version checks
JoinerAppDev simctl, adb, xcodebuild, build Macs, App Store Connect
JoinerMCP MCP server for agents
JoinerTerminal Ghostty terminal surface
JoinerMacUI The Mac app's UI

docs/architecture.md has the longer version.

Contributing

Issues and pull requests are welcome. Read CONTRIBUTING.md first, and report security problems as described in SECURITY.md.

License

MIT, see LICENSE. Bundled fonts keep their OFL licenses (Resources/Fonts/*/OFL.txt) and Vendor/libghostty-spm keeps its MIT license.

About

Native macOS app to run and supervise many coding agents (Claude Code, Codex and others), with iPhone and Android remotes over Tailscale

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages