To use Claude Code and Codex from your iPhone, you either reach the terminal on your Mac remotely or use an app built for agents. The DIY route is ssh into a tmux session over Tailscale with a client like Termius, which is free and works with any agent but is a terminal on a small screen. Remote desktop shows the whole Mac but is slow to drive by thumb. The Synapse Agents iPhone app (a TestFlight beta) shows every agent on your Mac in rooms by project, with screenshots inline, localhost links that open on the phone, and end to end encryption.
The problem
You start a long task in Claude Code, a review in Codex, and then you leave the desk. Twenty minutes later you want to know: did it finish, is it stuck on a question, did the tests pass? Using Claude Code and Codex from your iPhone means reaching the real terminal, mirroring the screen, using the vendor's own options, or using an app made for agents. The right choice depends on whether you want to read progress, answer a question, or start new work.
The options at a glance
| Option | Works with Claude Code and Codex | Setup | Phone experience | Sees agents you already started | Screenshots and localhost previews |
|---|---|---|---|---|---|
| ssh + tmux + Tailscale (Termius, Blink and similar) | Yes, any CLI | Enable ssh, install Tailscale, run agents inside tmux | Raw terminal, small keyboard | Only if they run in tmux | No |
| Remote desktop (Screen Sharing, Chrome Remote Desktop and similar) | Yes | Enable sharing, install a client | Full Mac screen, lots of zooming | Yes | You see the Mac's screen |
| Anthropic's own mobile and web options | Claude Code only | Claude account | Native app | Depends on the feature | Varies |
| Synapse Agents app (TestFlight beta) | Yes, plus Gemini, OpenCode and others | Mac app, Synapse account, allow the phone once | Chat view, rooms by project | Yes, nothing to relaunch | Yes |
1. ssh + tmux + Tailscale
This is the classic setup. You turn on Remote Login on the Mac, put the Mac and the phone on the same Tailscale network so you can reach it from anywhere, and start every agent inside tmux. From the phone you open an ssh client such as Termius or Blink, connect, and run tmux attach.
# on the Mac, before you leave
tmux new -s agents
claude # or: codex
# later, from the phone's ssh client
tmux attach -t agents
- Good: free, private, works with any agent CLI, and you get the real session.
- Bad: it is a terminal on a phone. Wide output wraps badly and typing is slow. Agents started outside tmux are out of reach. Images the agent made and its localhost dev server need extra port forwarding.
2. Remote desktop
macOS Screen Sharing (VNC) or a tool like Chrome Remote Desktop shows the entire Mac on the phone.
- Good: you see everything, including browser previews and every terminal window, however they were started.
- Bad: a 27 inch layout on a 6 inch screen. Reading a reply means pinch and pan, and it needs a good connection. Fine for an emergency check.
3. Anthropic's own options
Anthropic offers ways to use Claude Code from the Claude mobile app and from the web. Details change often, so check Anthropic's current docs for what each one covers, whether it runs on your machine or in a cloud environment, and which plans include it.
- Good: native, made by the vendor, nothing extra to install for Claude.
- Bad: Claude only. A Codex or Gemini session on your Mac is not part of it.
If all your agents are Claude Code, look here first.
4. The Synapse Agents iPhone app
Synapse is what we build, so weigh this section accordingly. Synapse is a free, MIT licensed app that connects coding agents to each other, to your iPhone, and to your friends' agents. The phone part is the "Synapse Agents" iPhone app. You can read more on the phone page.
How it works:
- Install the Mac app and sign in on the phone with your Synapse account. Allow the phone once on the Mac.
- Every agent on the Mac shows up, grouped into rooms by project. Synapse finds Claude Code sessions from Claude Code's own session registry and other agents by process scan, so agents you started in a plain terminal, in tmux or in another tool appear too. Nothing to wrap or relaunch.
- Follow replies and progress, message an agent, or start a new one remotely. Forks nest under their parent session.
- Screenshots and videos an agent takes or renders show up inline in the chat.
- Localhost links and files (PDF, Markdown, HTML, images) open on the phone, 15 minutes at a time. You can extend or stop that from the Live screen. The tunnel helper ships inside the Mac app, needs no Cloudflare account, and the first open takes about 10 seconds.
- Everything between phone and Mac is end to end encrypted. The Mac does the work, the phone only shows it.
Honest limits
- The iPhone app is a beta on TestFlight. There is a public TestFlight link, but it is not on the App Store yet.
- The Mac app is Apple Silicon first. A Windows build exists but is not code-signed yet.
- Your Mac must be on and running Synapse. The phone is a remote, not a cloud runner.
- Messages to agents you did not start in the Synapse app are pull, not push: the agent sees them on its next prompt or inbox check. Prompts sent to sessions the app owns go straight in.
- The phone features need a Synapse account. Local use on the Mac does not.
Synapse quick start
- Download the Mac app from app.heysynapse.dev/signup and open it from Applications. On first launch it adds its MCP server, hooks and skill to the agent CLIs you have installed. Restart agents that were already running.
- Create a Synapse account and join the iPhone TestFlight beta.
- Sign in on the phone and allow it once on the Mac.
- Start an agent, leave your desk, and open the room for that project.
Which option should you use?
- You already run everything in tmux and like terminals: ssh + tmux + Tailscale.
- You need to see the whole Mac once in a while: remote desktop.
- Only Claude Code, and you want the vendor's path: Anthropic's own mobile and web options.
- A mix of Claude Code, Codex and others, and you want a chat view with screenshots and localhost previews: the Synapse Agents app.
These combine: Synapse finds agents running in tmux too. See also how to get notified when Claude Code finishes and the Synapse CLI.
FAQ
Can I use Claude Code from my iPhone?
Yes. You can ssh into a tmux session on your Mac, use remote desktop, use Anthropic's own mobile and web options, or use an agent app like Synapse Agents. Each one trades setup against how readable it is on a small screen.
Can I use Codex from my iPhone?
Yes, through ssh and tmux, remote desktop, or the Synapse Agents iPhone app, which shows Codex sessions on your Mac next to Claude Code ones. Vendor options for Claude do not cover Codex.
Is the Synapse iPhone app on the App Store?
Not yet. Synapse Agents is a beta on TestFlight with a public link. It needs a Synapse account and the Mac app running.
Is my code sent to a cloud server when I use Synapse from my phone?
The Mac does the work and the phone shows it. Everything between phone and Mac is end to end encrypted.
Can I open my localhost dev server on my phone?
With Synapse, yes. Localhost links and files open on the phone for 15 minutes at a time, and you can extend or stop that. With ssh you would need to set up port forwarding yourself.