Run and supervise a team of coding agents from one native Mac app.
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.
- 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 |
|---|---|
![]() |
![]() |
| Builds and resources | Phones |
|---|---|
![]() |
![]() |
The screenshots come from the app's demo mode with made-up projects (see Demo mode).
- 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.
git clone https://github.com/michaeljoiner/JoinerCode.git
cd JoinerCode
brew install xcodegen go zig
scripts/build-app.sh
open build/JoinerCode.appThe 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.
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.appscripts/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.
The iPhone app lives in Apps/iOS and is part of the same Xcode project (scheme JoinerCodeiOS), with a
notification service extension and widgets.
- Set your team ID and bundle prefix (see Configuration) and run
xcodegen generate. - Open
JoinerCode.xcodeprojin Xcode 27.1 or later, pick theJoinerCodeiOSscheme and your iPhone, and run. Automatic signing registers the app, its extensions and the App Groupgroup.<your prefix>. - 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 buildThe full walkthrough, including push notification keys, is in docs/ios/INSTALL.md.
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.apkThe 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.
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.
- 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.
- 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.
- Mac: Settings, Devices, Add phone. A QR code appears for two minutes.
- Phone: scan the code, or paste the pairing code. Both screens show the same six digits.
- 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.
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.xcconfigJC_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.
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.
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 ────┘
joinerdowns 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.appis a view on the daemon. Each terminal is a Ghostty surface runningjoiner attach <session>.joineris a small CLI:attach,hook(called by agent hooks),mcp(stdio bridge to the daemon's tools),lsand more.JoinerProtocoldefines the wire format once. The Mac, iPhone and Android apps all speak it, andTests/Fixtures/wire.tsvkeeps 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.
Issues and pull requests are welcome. Read CONTRIBUTING.md first, and report security problems as described in SECURITY.md.
MIT, see LICENSE. Bundled fonts keep their OFL licenses (Resources/Fonts/*/OFL.txt) and
Vendor/libghostty-spm keeps its MIT license.




