Update — August 9, 2026: The inverse of phone-as-client — a CMF Phone 1 as the server itself: Termux host, runit, Cloudflare Tunnel, not just an SSH remote.
Update — July 16, 2026: Claude Code on VPS + SSH — levelsio MacinCloud iOS stack documents BYO VPS + Termius + second-hop Xcode on rented macOS — the pattern pocketdev automates with Tailscale.
June 30, 2026: Mobile agent control went from DIY SSH hacks to three distinct product categories in one week:
- pocketdev — one-command Tailscale-only Hetzner dev box with Claude Code, Codex, Cursor CLI, opencode, Gemini, Grok, and Aider
- Cursor for iOS — first-party cloud agents + remote control (June 29 public beta)
- OpenClaw iOS + Android — native apps pairing to your self-hosted Gateway (June 30, 1.5M+ views)
This guide compares the coding-agent paths — pocketdev and Cursor iOS — and points OpenClaw readers to the dedicated mobile post. If you only care about Claude Code on your laptop, start with our Claude Code mobile guide instead.
TL;DR — Pick Your Mobile Agent Stack
| Question | pocketdev | Cursor iOS | OpenClaw mobile |
|---|---|---|---|
| What it is | CLI → Hetzner box on Tailscale | Native iOS app (paid Cursor) | Native iOS/Android → your Gateway |
| Primary use | Coding agents in tmux over SSH | Cloud + local agent control | Personal AI — channels, tasks, automation |
| Agents supported | Claude, Codex, Cursor, opencode, Gemini, Grok, Aider | Cursor agents only | Any model your Gateway routes |
| Server you run | Yes — Hetzner (~€5–8/mo) | Optional — Cursor cloud VMs | Yes — macOS/Linux/Windows Gateway |
| Phone client | Termius, Blink Shell + Mosh | Cursor iOS app | OpenClaw app (QR pair) |
| Public internet SSH | Never — firewall drops all inbound | N/A | N/A |
| Best if… | You want BYOK + own box + any CLI | You already pay Cursor Pro | You want WhatsApp/Telegram agents on phone |
| Deep dive | This post ↓ | Cursor iOS guide | OpenClaw mobile guide |
Path 1 — pocketdev: Your Own Cloud Dev Box
pocketdev (go install github.com/0xMassi/pocketdev@latest, v0.1.0, AGPL-3.0) answers a specific question: "How do I run the AI coding CLI I already pay for on a box I reach from my phone?"
Two commands:
# on your laptop
pocketdev
# on the box (once)
ssh dev@devbox
pocketdev setup
What pocketdev automates
The TUI walks you step-by-step:
| Step | What happens |
|---|---|
| Hetzner token | Validates Read & Write API token before proceeding |
| Box choice | Create new (Shared/Dedicated → class → region table with live prices) or adopt existing server |
| Firewall | Zero inbound rules — nothing listens on public internet |
| Tailscale | Box joins your tailnet outbound-only |
| Agents | Installs chosen CLIs: claude, codex, cursor-agent, opencode, gemini, grok, aider |
| Project | Clone GitHub repo (gh picker), rsync local folder, or start fresh |
| Mobile card | QR + pocketdev mobile for Termius SSH ID or pasted public keys |
Supported agents and auth
| Agent | CLI | Auth model |
|---|---|---|
| Claude Code | claude | Pro/Max paste-code login over SSH |
| OpenAI Codex | codex | ChatGPT Plus/Pro (codex login --device-auth) |
| opencode | opencode | Claude Pro, Copilot, ChatGPT |
| Cursor | cursor-agent | Cursor Pro/Business |
| Gemini | gemini | Google account or GEMINI_API_KEY |
| Grok | grok | SuperGrok / X Premium+ or API key |
| Aider | aider | API key only |
You log in with your own subscription — pocketdev sells the box, security, and mobile workflow, not model access. That matters post-Fable 5 suspension: consumer subs are per-seat; pocketdev's README is explicit that a hosted multi-tenant product would need bring-your-own-auth.
Phone setup — the SSH key problem
The box runs key-only SSH. A QR holds ssh://dev@<host> — not a private key. Without a trusted key on the phone, you get connection refused.
Recommended path — Termius SSH ID:
- Sign into Termius, enable SSH ID (device generates
sk-key, publishes public half atsshid.io/<handle>) - Run
pocketdev mobile, enter handle — pocketdev fetches and validates all device public keys - Install Tailscale on phone (same account, VPN On Demand on iOS)
- Termius host: MagicDNS FQDN, user
dev, Mosh enabled, startup commandtmux new -As code
Why Mosh + tmux: Mosh survives Wi-Fi ↔ cellular handoffs. tmux keeps the agent session alive when the app is killed. Reattach from phone or laptop — same code session.
Alternatives: Paste a phone-generated public key; AirDrop laptop id_ed25519 to Termius (shares one key across devices).
Publish demos without opening ports
On the box:
pocketdev publish 3000
Installs cloudflared outbound → ephemeral https://<random>.trycloudflare.com URL. Firewall stays empty. For persistent domains, pass a Cloudflare tunnel token.
Cost and teardown
| Resource | Approx cost |
|---|---|
| Hetzner CAX11 (4 GB ARM) | ~€5/mo |
| Hetzner CAX21 (8 GB ARM) | ~€8/mo |
| Tailscale personal | Free (≤6 users) |
| Agent subs | Your Claude / ChatGPT / Cursor bills |
pocketdev destroy # deletes created box + firewall; adopted servers survive
Powered-off Hetzner servers still bill — destroy when done.
pocketdev vs DIY Tailscale + laptop
Our Claude Code mobile guide covers Tailscale + mosh + Termux to your existing machine. pocketdev adds:
- Always-on cloud box (laptop can sleep)
- One TUI for Hetzner + firewall + agent installs
- Mobile onboarding card with SSH ID integration
- cloudflared publish for shareable dev URLs
Trade-off: ~€5–8/mo and AGPL if you modify and run as a network service.
Path 2 — Cursor for iOS: First-Party Cloud Agents
On June 29, 2026, Cursor shipped Cursor for iOS — 3.9M views on the announcement. This is the lowest-friction path if you already pay for Cursor.
What you get
- Always-on cloud agents in isolated dev environments
- Remote control of agents running on your Mac/PC
- Voice instructions, slash commands, Live Activities
- Review diffs, logs, demos and merge PRs from the phone
- Composer 2.5 at 75% off in-app through July 5, 2026
What you do not get (yet)
- Android — not shipped as of June 30
- Non-Cursor agents — no Claude Code or Codex inside the app
- Free tier — requires paid Cursor plan
Full breakdown: Cursor for iOS launch guide.
Cursor iOS vs pocketdev
| Cursor iOS | pocketdev + Cursor CLI | |
|---|---|---|
| Setup time | Minutes (App Store install) | ~30 min first box |
| cursor-agent on phone | Via Cursor's UI | Raw tmux + cursor-agent in SSH |
| Cloud agents | Built-in | You configure cloud yourself |
| Multi-agent | Cursor only | Claude + Codex + opencode + … on one box |
| Monthly infra | Cursor sub only | Cursor sub + Hetzner |
Choose Cursor iOS for polished UX and cloud agents. Choose pocketdev if you want one box running every CLI you already subscribe to.
Path 3 — OpenClaw Mobile (Different Category)
June 30, 2026 — 1:41 AM PT: OpenClaw announced native iOS + Android apps (1.5M views):
OpenClaw is now on iOS + Android 🦞 — Native mobile apps, finally. Agents in your pocket. Channels, tasks, replies on the go.
OpenClaw is not primarily a coding IDE. It is a local-first personal AI gateway — WhatsApp, Telegram, Signal, email, calendar, home automation — that pairs to your own Gateway server via QR code.
For coding-specific mobile workflows, pocketdev and Cursor iOS are the direct answers. For "my lobster agent everywhere", read the dedicated post:
→ OpenClaw iOS and Android apps — launch guide
Also relevant: OpenClaw + ChatGPT Plus auth and What is OpenClaw?.
Decision Matrix — Which Path Today?
Choose pocketdev if…
- You want Claude Code + Codex + opencode on one always-on box
- You prefer Tailscale-only access with no public SSH
- You code from Termius + tmux and accept ~€5–8/mo server cost
- You need
pocketdev publishfor ephemeral demo URLs
Choose Cursor iOS if…
- You are on a paid Cursor plan and want zero server ops
- Cloud agents, voice, and PR merge from phone matter more than multi-CLI flexibility
- iOS only is fine (no Android yet)
Choose OpenClaw mobile if…
- Your agent lives in Telegram / WhatsApp / channels, not a terminal
- You already run an OpenClaw Gateway and want pocket access to tasks and replies
- Privacy / self-hosted personal AI is the goal — not tmux coding sessions
Stick with Claude Code native remote if…
- Your agent runs on your laptop and you only need monitor/approve from the Claude app
- Zero new infrastructure: Claude Code mobile guide
Quick Start Commands
pocketdev:
go install github.com/0xMassi/pocketdev@latest
pocketdev # laptop: provision box
ssh dev@devbox
pocketdev setup # box: agents + login + clone
tmux new -As code
claude # or codex, cursor-agent, opencode …
Cursor iOS:
- Install from App Store (id6767085653)
- Sign in with paid Cursor account
- Launch cloud agent or connect to desktop session
OpenClaw mobile:
- Install iOS or Android
- Pair to Gateway via QR — see OpenClaw mobile guide
Related on explainx.ai
- CMF Phone 1 Termux home server — VPS replacement (Aug 2026) — phone is the box, not the remote
- Claude Code VPS + SSH — levelsio MacinCloud iOS (Jul 2026) — BYO VPS, Termius, Xcode second hop
- Claude Code from your phone — native remote, Orca, Tailscale DIY
- Cursor for iOS launch — cloud agents deep dive
- OpenClaw mobile apps — iOS + Android pairing
- What is OpenClaw? — gateway architecture
- Cline $9.99 open-weights sub — another agent billing angle
- How to Run GLM 5.2 on harnesses — opencode / OpenClaw wiring
Official: pocketdev on GitHub · pocketdev.cloud · Cursor iOS · OpenClaw on X
pocketdev v0.1.0, Cursor iOS public beta, and OpenClaw mobile reflect June 29–30, 2026 announcements. Pricing and feature availability may change — verify in-product. Last updated: June 30, 2026.
