How to run Codex from your iPhone in 2026
Learn how to run OpenAI Codex from your iPhone with Cawide: terminal streaming, question banners, push alerts, voice prompting, and git diffs.
The fastest way to run OpenAI Codex from your iPhone is to execute the agent on your workstation and connect through a native mobile terminal with dedicated approval hooks.
Cawide pairs your iPhone with your macOS, Linux, or Windows computer over an encrypted QUIC tunnel. You get a real 120 Hz PTY terminal, prompt editing with touch-friendly controls, question banners, push alerts with Cawide Pro, Voice Prompting, a single-column git diff viewer, and an in-app browser preview for your dev server.
What is the fastest way to run Codex on your iPhone?
To start running Codex from your phone today, you only need Node.js 18 or later on your computer and the Cawide app on your iPhone.
First, install the Cawide CLI globally on your workstation:
npm install -g cawideNext, generate an encrypted pairing QR code:
cawide pairOpen the Cawide app on your iPhone (iOS 17 or later), sign in with a free Cawide account (Apple, Google, or email), scan the QR code, and open a terminal session. Launch Codex with cawide agent codex in your project folder for live phone status (or run codex directly and let Cawide observe its server). The agent begins running directly on your computer, using your local repository files, compilers, and environment variables.
How does Cawide handle tool approvals while you are away from the computer?
When Codex decides to edit a file, run a build script, or execute a terminal command, it pauses execution and waits for user confirmation.
When you launch Codex with cawide agent codex (or via Codex server observation), the host CLI captures this lifecycle transition immediately. Cawide updates the session status from working to waiting for input.
If you are currently looking at another terminal session, inspecting repository files, or reviewing a diff, Cawide displays an alert banner at the top of your screen:
- The banner quotes the exact question or tool command Codex wants to execute.
- A Switch button takes you straight to the active session.
- You can tap an option such as Allow or Deny, or answer directly in the real terminal by tapping Enter (↵), Esc, or the arrow keys on the Smart Action Bar.
If you step away from your desk to grab coffee or take a walk, you do not have to leave your laptop screen open. With Cawide Pro, a push alert reaches your phone the moment Codex reaches a decision point, even when Cawide is closed (in-app Live Activities work on iOS 17.0+, and Push-to-Start Live Activities require iOS 17.2+).
Can you dictate prompts to Codex?
Yes. Tap the mic key in the Smart Action Bar to dictate your prompt instead of typing on a software keyboard. AI Prompting removes filler words, understands self-corrections, and pastes a clean prompt into the terminal in any mix of languages. Learn more on the Voice Prompting feature page.
How do you review git diffs and commit code from your phone?
Codex frequently generates multi-file diffs across dozens of project files. Reading standard terminal diffs on a narrow smartphone display is painful because lines wrap awkwardly and context markers get jumbled.
Cawide solves this with a native, single-column git diff viewer built specifically for iPhone screens:
- Single-column layout: Deletions and additions are presented in a unified vertical stream optimized for vertical scrolling.
- Stage and unstage files: Review modified files one by one and tap to stage or unstage changes directly from your phone.
- Commit with message: Enter your commit message and commit staged changes without typing complex git syntax.
- Comment to Agent: When an agent introduces a bug or misses an edge case, you can select the hunk and tap Comment to Agent. Cawide feeds your feedback directly back into the Codex prompt so the agent can self-correct.
- Safe inspection: Viewing status or diffs inside Cawide never executes repository hooks, filters, custom pagers, or external diff binaries.
How do you inspect localhost dev servers?
When Codex runs your local application, you can preview the results directly on your iPhone. The in-app browser accesses any local dev server over the encrypted tunnel, or you can run cawide open <port> on your computer as a shortcut. No port forwarding, public DNS configuration, or external tunnels are required. The in-app browser includes a built-in console log viewer, network inspector, and DOM tree inspector.
Run coding agents from your pocket
Install the Cawide CLI on your computer and control your AI agents from your iPhone with a real terminal and instant approval alerts.