Your Mac's agent, in your pocket.
The phone half of Superagent: follow the agent running on your Mac, send it work, and answer what it asks — from anywhere. Pair once by scanning a code. No account, no sign-in, end-to-end encrypted.
⬇ Join the TestFlight · Website · free & open source
desktop · iOS (this one) · relay
The agent is on your Mac. You are not always at it. This app is the other end of that conversation: the transcript as it streams, the tool steps folded up, the diffs, the questions it needs answered — and a composer to send it somewhere new from the sofa or the train.
Nothing runs here. The phone is a window onto the Mac, so it is the Mac's Claude subscription, the Mac's files, the Mac's browser. Between the two there is only a blind relay that forwards ciphertext it cannot read.
- The whole conversation, live. Streaming Markdown, code blocks you can copy, tool runs folded into one line you can open, diffs as cards, and the agent's questions as buttons you can answer — the same rows the Mac draws, at a size your thumb can hit.
- The sidebar is the Mac's. Computer at the top with its own conversations, then one Projects section — open browser tabs first, then your projects, with New tab and Add project buttons on its header. Each project shows its own icon; conversations and routines sit underneath, with a spinner while the agent works and the git branch where you expect it. A project holding several repos folds them under a caret on its own row, and a repo that is still cloning says "cloning…".
- More than one Mac. Switch between paired Macs from the title at the top of Projects or Activity. The app reopens on the Mac you picked last.
- Pinned in the Mac's order. Pinned chats appear in the order you dragged them into on the Mac, with Move up and Move down in the long-press menu to reorder them.
- The Mac's model list. The model picker shows the Mac's current Claude models, so a new one appears here when it appears there.
- Approve from the lock screen. When the agent asks permission in Ask mode, the notification carries Approve and Deny. Answer without opening the app.
- Unread, where you would expect it. A dot on any conversation that moved while you were away — the same dot the Mac draws, in the same place.
- Readable with the Mac asleep. The sidebar, your conversations and recent transcripts are cached on the phone, so it opens to something even when the other end is off.
- Sending is optimistic. Your message appears immediately, queues if the Mac is unreachable, and delivers when it comes back — with Retry or Discard if it is refused.
- Files, PDFs and pictures. Browse the project, read source, rendered Markdown, images and PDFs; when the agent opens a file for you, it opens here too. Images in the agent's replies show as previews that open full screen, with zoom.
- Search that shows where things are. Each conversation in the search results carries its project's icon.
- Talk instead of typing. Hold the mic and speak; transcribed on the phone.
- Scales with your text size. Every size follows Larger Text, all the way up through the accessibility sizes.
Where the phone still differs from the Mac is tracked in PARITY.md.
- The Mac keeps one outbound WebSocket to a relay; the phone connects to the same room by the Mac's id. The relay (superagent-relay) only forwards opaque frames — it never holds a key that could read one.
- Pairing: the Mac shows a QR (or a link); the phone shows the same 6-digit code; you accept on the Mac. That hands the phone a per-device secret; keys are derived from it (HKDF-SHA256), frames are AES-256-GCM.
- Push notifications (done / needs you / approvals with Approve & Deny) come through the relay, which holds the APNs key for the App Store build. A self-hosted relay works without push.
- With the Mac asleep the app still reads: sidebar, conversations and recent transcripts are cached on the phone.
brew install xcodegen # once
make open # generates SuperAgent.xcodeproj and opens it
make test # Swift Testing, on the first iPhone simulatorThe .xcodeproj is generated from project.yml and git-ignored — edit project.yml, not the
project. To run on a device, set your own DEVELOPMENT_TEAM in project.yml (or in Xcode →
Signing & Capabilities) and change the bundle id; the default id belongs to the App Store build.
make build compiles without signing, which is fine for a syntax check but produces an app that
cannot read the Keychain — install one over a signed build and it will look unpaired. Build from
Xcode, or with signing on, for anything you intend to actually use.
- iOS 26+, SwiftUI, Swift 6 strict concurrency
- Layout:
App/(state, theme from the desktop's CSS),Protocol/(wire frames, shared with the desktop'scompanion-protocol.ts),Connection/(crypto, relay transport, connection),Store/(paired Macs, offline cache),Pairing/,Push/,Features/(sidebar, chat, files, board, routines, browser mirror) SuperAgentTests/Fixturesare copies of the desktop's wire fixtures (make fixturesrefreshes them); both test suites decode the same files.
Run the desktop from source with a scratch profile and a local relay, then pair the simulator by pasting the link the Mac's Settings → Phone offers:
# relay
cd ../relay && PORT=8790 npx tsx src/node.ts
# desktop
cd ../desktop/app && COVE_USER_DATA=/tmp/superagent-dev COVE_RELAY_URL=ws://127.0.0.1:8790 npx electron-vite dev-scrollHarness as a launch argument opens a synthetic transcript, so the chat can be exercised
in the simulator without pairing anything.
MIT — see LICENSE.




