Your Mac writes the code.
Your phone holds the leash.
Go for OpenCode connects your iPhone to the coding agent running on your own Mac — so you can start work, watch it happen, and approve what it wants to do from anywhere.
Free and source-available. Requires a Mac and OpenCode.
No networking homework
No VPN, no port forwarding, no IP addresses. Your devices find each other through your own iCloud account and talk directly.
No servers, including ours
Traffic is end-to-end encrypted between your two devices. There is nothing in the middle, because there is nothing to be in the middle.
Approvals that vary with risk
A git status and an rm -rf should not look
the same. Destructive commands get a louder card and no blanket allow.
Plan mode
Switch the agent to Plan and it cannot edit anything at all. Explore and get a plan back, guaranteed nothing changed.
Review before you sign off
Every accumulated change, per file, against your last commit or your default branch — the way a reviewer would see it.
Your credentials stay put
The agent uses the model providers you configured on your Mac. Their keys never leave it and the phone never sees them.
How it works
Install OpenCode and the free Mac companion. Open both apps and confirm the six-digit code they show each other. That's the setup.
The companion keeps opencode serve running bound to
localhost — it is never exposed to your network — and acts as the only
gateway to it. Every connection is authenticated and encrypted before a
byte of protocol flows.
When you background the app, iOS drops the connection but the agent keeps working. Come back and the turn picks up where it left off.