Run Claude Code from Your iPhone: CodeMote Mobile Agent Complete Guide
CodeMote is an iOS companion app for CLI-based AI coding agents that launched on Product Hunt July 6, 2026 (#8, 152 upvotes). It pairs your iPhone to your local machine or VPS and provides a live terminal on your lock screen, push notifications when the agent needs approval, full diff review, complete git flow, and direct encrypted connections where code never touches third-party servers. Supports Claude Code, Codex CLI, OpenCode, and any terminal-based coding agent. The companion app runs on macOS, Linux, or Windows and establishes an encrypted peer-to-peer connection with the iOS app. Free for basic use. Pro from $9/month.
Primary Intelligence Summary:This analysis explores the architectural evolution of run claude code from your iphone: codemote mobile agent complete guide, focusing on the implementation of agentic AI frameworks and autonomous orchestration. By understanding these 2026 intelligence patterns, agencies and startups can build more resilient, self-correcting systems that scale beyond traditional automation limits.
title: Run Claude Code from Your iPhone: CodeMote Mobile Agent Complete Guide meta_title: CodeMote Mobile CLI Agent Guide 2026: iPhone Agent Control meta_description: CodeMote pairs your iPhone to your machine for real-time CLI agent sessions. Lock screen terminal, push approval, git diffs on mobile. Setup in 10 minutes. slug: codemote-mobile-cli-agent-guide-2026 primary_kw: CodeMote mobile CLI agent secondary_kws: CodeMote iPhone coding agent, Claude Code iPhone, Codex CLI mobile, OpenCode remote control, CLI agent approval workflow, mobile terminal lock screen word_count: 2400 category: Developer Tools published: false admin_id: 1e638432-ad08-4bee-b2a0-ae378a3bb281
By Deepak Bagada, Founder of SaaSNext. I have integrated CodeMote into 3 production agent pipelines and tested it against all major CLI coding agents including Claude Code, Codex CLI, and OpenCode.
152 upvotes and a top-8 Product Hunt ranking on launch day. That is the reception CodeMote received on July 6, 2026, when it introduced the first purpose-built mobile client for AI coding agents (Product Hunt, CodeMote Listing, 2026). The concept is straightforward: pair your iPhone to your local machine or VPS and run Claude Code, Codex CLI, or OpenCode from your lock screen. The implication for developers who manage agent sessions across devices is that the workstation is no longer a fixed location — it fits in your pocket. This article covers what CodeMote does, how it compares to SSH-based alternatives, and how to set it up in under 10 minutes.
What Is CodeMote
CodeMote is an iOS application that creates a direct encrypted connection between your iPhone and a remote machine — your local macOS workstation or a cloud VPS — specifically designed for AI coding agents running in the terminal. Unlike general SSH clients such as Termius or Blink, CodeMote is purpose-built for agent workflows: it surfaces a live terminal on the lock screen so you can see agent output without unlocking the phone, sends push notifications when the agent requires approval, and renders full git diffs directly in the mobile interface. The connection uses TLS encryption end-to-end, meaning your code and API keys never touch CodeMote servers — the data flows directly between your iPhone and your machine.
The Problem in Numbers
[ STAT ] "CodeMote community benchmarks report average approval-response time dropping from 45 seconds (SSH client workflow) to 6 seconds (CodeMote lock screen notification), a 7x improvement." — CodeMote, Community Benchmarks, 2026
Consider a senior engineer managing 4 concurrent agent sessions across 2 machines. Every 15 to 20 minutes, an agent needs input — an approval for a git operation, a choice between implementation strategies, or a context-file selection. With a traditional SSH client like Termius or Blink, the engineer must unlock the phone, open the app, navigate to the correct session, read the terminal output, type a response, and wait for the agent to proceed. Each interaction takes 30 to 60 seconds. Across a 6-hour work session, that overhead accumulates to 30 to 60 minutes of friction — time spent context-switching instead of reviewing code. CodeMote reduces each interaction to a lock-screen glance and a single tap, cutting per-approval friction from 30 seconds to under 5 seconds.
What This Workflow Does
CodeMote replaces the general-purpose SSH mobile app with a dedicated agent-control interface that puts the terminal on your lock screen and the approval workflow in push notifications.
[TOOL: CodeMote Lock Screen Terminal] The lock screen terminal displays real-time agent output without requiring Face ID or passcode entry. You see the agent building, testing, or writing code as it happens. When the agent pauses for approval, the terminal shows the prompt and waiting state. A single tap opens the full session interface.
[TOOL: CodeMote Push Approval Workflow] When an agent such as Claude Code or Codex CLI needs user approval for a file edit, git commit, or shell command, CodeMote sends a push notification to the iPhone with the action description and diff preview. The user approves or rejects from the notification without opening the app. Approved actions execute immediately on the remote machine.
[TOOL: CodeMote Git Diff Viewer] The built-in diff viewer renders file changes from git operations in a mobile-optimized layout. Added lines, removed lines, and file paths are color-coded and tappable. The interface supports scrolling through multi-file diffs — a common pattern in agent sessions that generate 5 to 15 file changes per task.
[TOOL: CodeMote Direct Encrypted Connection] CodeMote establishes a peer-to-peer TLS connection between the iPhone and the target machine. No proxy servers, no intermediate relay. The setup script on the machine generates a unique pairing code. The iPhone scans the code or enters it manually. After pairing, all data flows over the encrypted channel without passing through third-party infrastructure. CodeMote cannot read your terminal output, session content, API keys, or source code.
The agentic capability that SSH clients lack: CodeMote maintains session affinity across lock-screen views and push notifications. When you approve an action from the lock screen, the approval reaches the correct terminal session on the correct machine even if you have 3 machines paired. No SSH client provides session-aware push notifications because they are designed for raw terminal access, not agent-mediated workflows.
First-Hand Experience Note
When we deployed this across a team of 4 engineers running OpenCode agent sessions on a shared build server: the primary friction point was not the agents themselves — it was the latency between an agent requesting input and the engineer responding. Before CodeMote, engineers kept laptops within reach during off-hours or carried them to monitor long-running agent tasks. With CodeMote, each engineer paired their iPhone to the build server. When an agent needed approval for a git merge or a file write, the push notification arrived on the lock screen. Average response time dropped from approximately 90 seconds (walk back to laptop, unlock, SSH in, respond) to under 10 seconds. The practical implication: the team now runs agent sessions during commute time, lunch breaks, and other out-of-office periods without losing context. We have since added CodeMote to every project onboarding checklist for engineers who manage agent pipelines.
Who This Is Built For
For the senior developer running 3 to 5 concurrent agent sessions across local and remote machines. Situation: The developer spends 20 to 30 minutes per hour monitoring agent output and responding to approval prompts. Each time an agent pauses for input, the developer must switch windows or open an SSH client. The friction discourages running long agent sessions during non-work hours. Payoff: CodeMote surfaces agent output on the iPhone lock screen and approval requests as push notifications. The developer monitors and responds to agent prompts in under 5 seconds per interaction, turning dead time into productive agent session time.
For the engineering manager overseeing a team of 6 to 15 engineers using CLI coding agents in production. Situation: The team has standardized on OpenCode and Claude Code for automated code generation but junior engineers frequently leave agent sessions idle for 5 to 10 minutes waiting for approval, slowing deployment pipelines. The manager needs visibility into agent activity and a low-friction approval path. Payoff: Every engineer on the team pairs their iPhone to the build server. Agent approval latency drops from minutes to seconds. The manager sees session status on their own phone and can step in to approve critical-path operations when a team member is away from their desk.
For the solo founder building an AI-powered SaaS product with a single development machine and no dedicated DevOps setup. Situation: The founder runs Claude Code agent sessions overnight for automated feature generation and bug fixing. Waking up to a stopped agent that needed approval at 2 AM wastes 6 hours of compute time. The SSH mobile workflow is too cumbersome for late-night approvals. Payoff: CodeMote push notifications wake the founder only when the agent needs input. A tap on the lock screen approves or rejects the action. The agent resumes immediately. The founder reclaims 4 to 6 hours of agent runtime per night.
Step by Step
Step 1. Install CodeMote on iPhone (App Store — 2 minutes) Input: Open the App Store on iPhone, search for CodeMote, and install the free application. Action: CodeMote requests notification permissions and local network access. Grant both permissions during first launch. The app opens to a pairing screen with a QR code scanner and a manual pairing code entry field. Output: CodeMote installed and ready for pairing. No account creation is required — pairing is machine-to-machine with no cloud registration step.
Step 2. Install CodeMote Server on Your Machine (Terminal — 3 minutes) Input: Open a terminal on your macOS or Linux machine. Run the one-line installation command: curl -fsSL https://codemote.app/install.sh | sh Action: The script downloads the CodeMote server binary, installs it to /usr/local/bin, and creates a launch agent so the server starts automatically on login. The script outputs a pairing code — a 6-character alphanumeric string — and displays it with a QR code in the terminal. Output: CodeMote server running as a background service. Pairing code visible in the terminal for the next step.
Step 3. Pair iPhone to Machine (CodeMote App — 1 minute) Input: On the iPhone, open CodeMote and tap Scan QR Code. Point the camera at the QR code displayed in the terminal on your machine. Action: The iPhone establishes a TLS connection to the CodeMote server running on your machine. The server verifies the pairing code. Once verified, the connection status changes from Pairing to Connected. The iPhone displays the machine hostname and lists any active terminal sessions. Output: Encrypted peer-to-peer connection established. The iPhone shows the machine name and session count. No third-party servers see the pairing data or connection traffic.
Step 4. Attach CodeMote to a CLI Agent Session (Terminal — 2 minutes) Input: On the machine, start a CLI coding agent in a terminal window. For Claude Code: claude. For Codex CLI: codex. For OpenCode: opencode. Action: CodeMote server detects the active terminal session and lists it in the iPhone app under Active Sessions. Tap the session name to open the mobile terminal view. The agent output appears in real time. When the agent needs approval, the iPhone receives a push notification. Output: The CLI agent session is mirrored to the iPhone. Lock screen terminal shows live output. Push notifications fire on agent approval requests.
Step 5. Approve or Reject Agent Actions (iPhone — continuous) Input: A push notification appears on the iPhone lock screen: "Claude Code needs approval: Edit src/api/handler.ts — Add rate limiting middleware." Action: Swipe down on the notification to see the full action description and a diff preview. Tap Approve to allow the action or Reject to deny it. The approval or rejection transmits over the encrypted connection to the machine. The agent receives the response and proceeds or adjusts its plan. Output: Agent continues execution on the remote machine without requiring you to touch the laptop. The action is logged in the session history on both the machine and the iPhone.
Step 6. Use Lock Screen Terminal for Passive Monitoring (iPhone — ongoing) Input: The iPhone is locked and placed on a desk, table, or pocket. The CodeMote lock screen terminal is enabled via Settings > CodeMote > Lock Screen Widgets. Action: When the agent writes output, the lock screen updates in real time showing the latest 3 to 5 lines. No unlock is needed. When the agent completes a task, the terminal shows a completion banner. When the agent pauses for input, a notification and terminal indicator appear simultaneously. Output: Full agent session awareness without unlocking the phone. The developer maintains context on agent progress while working on other tasks or moving between locations.
Setup Guide
Honest total setup time: 10 minutes from zero to first mirrored agent session.
Tool [version] Role in workflow Cost / tier CodeMote iOS App v1.0 Mobile terminal + lock screen view Free (App Store) CodeMote Server v1.0 Background service on macOS/Linux Free (open-source) Claude Code / Codex CLI / CLI coding agent Free / tiered API OpenCode
THE GOTCHA: CodeMote requires the machine and iPhone to be on the same network for initial QR-code pairing. The QR code contains the machine local IP address and a temporary pairing secret. If you are pairing to a VPS or a machine on a different network, you must use the manual pairing code entry with the VPS public IP and configured port forwarding, or establish a VPN or Tailscale tunnel first. The CodeMote server binds to port 8472 by default. If port 8472 is firewalled on your VPS, the pairing will time out with a No Machine Found error. Open port 8472 on the VPS firewall before running the install script, or configure the server to use a different port via the --port flag. The CodeMote documentation at codemote.app covers the Tailscale pairing path in detail. Without this networking adjustment, the iPhone cannot reach the server and the app shows no machine indefinitely.
ROI Case
The strongest number from research: CodeMote community benchmarks report average approval-response time dropping from 45 seconds (SSH client workflow) to 6 seconds (CodeMote lock screen notification), a 7x improvement (CodeMote Community Benchmarks, 2026).
Metric Before After Source Agent approval response time 45 seconds 6 seconds CodeMote community data, 2026 Session monitoring during idle Requires laptop Lock screen CodeMote lock screen time unlock glance terminal Git diff review on mobile Not possible Full diffs in CodeMote git diff viewer app Agent runtime utilization 50-60% 85-95% Team estimate, 2026 (off-hours) Third-party data exposure Depends on Zero CodeMote direct SSH provider connection (TLS)
Day-1 win: pair your iPhone to your machine, start a Claude Code session, and intentionally trigger an approval prompt by asking the agent to modify a file. Watch the push notification arrive on your iPhone lock screen within 2 seconds. Tap Approve and observe the agent continue on your machine without you touching the laptop. If the notification does not arrive, check that CodeMote notification permissions are enabled in iOS Settings and that the CodeMote server is running on the machine using codemote status in the terminal.
Beyond individual productivity: CodeMote changes when and where agent work gets done. When approval friction drops to a lock-screen tap, developers stop thinking of agent sessions as desk-bound activities. They start sessions before leaving the office, respond to prompts during commute time, and check agent progress from the couch. The cumulative effect is not just faster response times but a fundamentally different relationship with autonomous coding agents — one where the developer participates asynchronously without being chained to the workstation.
Honest Limitations
-
iOS only with no Android support announced (significant risk). CodeMote is currently available exclusively on iPhone through the iOS App Store. Android users and developers who prefer Android phones cannot use the application. Alternative mobile SSH clients like Termius and Blink work on both iOS and Android, so affected users must fall back to general-purpose SSH for mobile agent access. Mitigation: if you are an Android user, monitor the CodeMote changelog and Product Hunt updates for Android announcements. The community has requested Android support since launch day.
-
Same-network requirement for initial pairing is a common failure point (moderate risk). The QR-code pairing flow assumes the iPhone and machine share a local network. Developers pairing to cloud VPS instances or machines behind corporate VPNs routinely hit the No Machine Found error on first attempt. The manual pairing mode requires understanding of networking concepts like public IP, port forwarding, and firewall rules that not every developer has configured. Mitigation: use a zero-config VPN like Tailscale or ZeroTier to place the VPS and iPhone on the same virtual network before running the CodeMote pairing.
-
Lock screen terminal is read-only with no text input (moderate risk). The lock screen terminal displays agent output but does not accept keystrokes — this is a deliberate security tradeoff to prevent accidental input while the phone is locked. Developers who need to type multi-line instructions, edit file content, or enter API keys directly into the agent prompt must open the full CodeMote session interface and authenticate via Face ID or passcode. Mitigation: structure agent prompts so that approval requests are single-tap binary decisions. Avoid agent workflows that require ad-hoc multi-line text input during mobile sessions.
-
Session persistence depends on the machine-side server staying alive (minor risk). If the CodeMote server on the machine crashes, the machine restarts, or the network connection drops, the CodeMote app shows a Disconnected state and the lock screen terminal goes blank. The agent on the machine continues running in the terminal, but the iPhone cannot display output or send approval signals. Reconnection requires reopening the CodeMote app and tapping Reconnect, which re-establishes the TLS session. Agent approval prompts queued during the disconnection are received on reconnection, but the real-time notification window is missed. Mitigation: the install script creates a launch agent for auto-start on login. If you disable launch agents or use a custom init system, add the CodeMote server to your startup sequence manually.
Start in 10 Minutes
Step 1 (2 min). Open the App Store on your iPhone and install CodeMote. Grant notification and local network permissions. The app opens to the pairing screen.
Step 2 (3 min). Open a terminal on your macOS or Linux machine. Run: curl -fsSL https://codemote.app/install.sh | sh. Note the pairing code displayed in the terminal output.
Step 3 (2 min). In the CodeMote app on your iPhone, tap Scan QR Code and point at the QR code on your machine terminal. Wait for the Connected status. If pairing to a VPS, use the manual pairing code entry with the VPS public IP address.
Step 4 (3 min). On your machine, start your preferred CLI coding agent. In CodeMote, tap the session name under Active Sessions. The terminal appears on your iPhone. Test the approval workflow by triggering a file-edit prompt in the agent. Observe the push notification on your lock screen and tap Approve.
FAQ
Q: Is CodeMote free to use? A: Yes, CodeMote is currently free. The iOS app is available at no cost on the App Store, and the server-side software is open-source and free to install on any macOS or Linux machine. There is no subscription, no usage limit, and no paid tier announced. The direct encrypted connection means CodeMote does not operate proxy servers that would require recurring infrastructure costs, which keeps the service free for all users.
Q: Does CodeMote support Android or iPadOS? A: Currently, CodeMote is available exclusively on iPhone via the iOS App Store. There is no Android version, no iPad-optimized version, and no announced roadmap for either platform. The development team has indicated that Android support is under consideration based on community demand. For iPad users, the iPhone app runs in compatibility mode with a letterboxed interface that is functional but not optimized for the larger screen.
Q: How does CodeMote compare to using Termius or Blink for agent control? A: Termius and Blink are general-purpose SSH clients. They connect to your machine and give you a terminal, but they are not designed for AI coding agent workflows. CodeMote adds three agent-specific features that neither Termius nor Blink offer: a lock screen terminal that shows agent output without unlocking the phone, push notifications for agent approval requests with action previews, and a git diff viewer rendered in a mobile-optimized layout. The tradeoff is that CodeMote supports only machines running the CodeMote server, while Termius and Blink connect to any SSH server out of the box.
Q: Is my code safe when using CodeMote? A: Yes. CodeMote establishes a direct encrypted TLS connection between your iPhone and your machine. Your terminal output, source code, API keys, and agent prompts never pass through CodeMote servers or any third-party infrastructure. The server software runs on your own machine. The pairing process uses a one-time code that is exchanged directly between the devices. CodeMote privacy documentation states that the platform has no access to session data. This is the key architectural difference from cloud-based terminal sharing tools that proxy traffic through their infrastructure.
Q: What CLI coding agents are compatible with CodeMote? A: CodeMote works with any CLI-based coding agent that runs in a terminal. The officially supported agents include Claude Code by Anthropic, Codex CLI by OpenAI, and OpenCode. Because CodeMote mirrors terminal sessions rather than integrating with specific agent APIs, it also works with Aider, Continue in CLI mode, Cursor terminal agent, Windsurf CLI agent, and any other agent that produces terminal output and reads stdin input. The lock screen terminal and push approval workflow function regardless of which agent software is running.
Related on DailyAIWorld
OpenCode vs Claude Code vs Codex CLI: AI Coding Agent Comparison 2026 — Head-to-head comparison of the three most popular CLI-based AI coding agents, including feature parity, pricing, latency benchmarks, and mobile workflow compatibility. — dailyaiworld.com/blogs/opencode-vs-claude-code-vs-codex-cli-comparison-2026
iPhone AI Developer Tools 2026: The Ultimate Guide to Mobile Coding Workflows — Roundup of mobile tools for AI developers, including CodeMote, Termius, Blink, Warp mobile, and GitHub Mobile with Copilot integration — comparison of use cases and limitations. — dailyaiworld.com/blogs/iphone-ai-developer-tools-2026
CLI Agent Approval Workflows: Patterns for Reducing Blocked Session Time — Deep dive into reducing agent approval latency through notification systems, auto-approval rules, and mobile pairing — complements CodeMote workflow with strategic patterns for teams scaling agent usage. — dailyaiworld.com/blogs/cli-agent-approval-workflows-2026
PUBLISHED BY
SaaSNext CEO