Guide
Codex remote control from your phone
Codex can run in the cloud or on your own computer, and OpenAI's ChatGPT app can follow both. For a Codex CLI session that needs one decision from you, HiBoss sends that question to your iPhone and Mac. This page covers each route.
Codex in the ChatGPT mobile app
The official way to remote control Codex is the ChatGPT mobile app. OpenAI describes two kinds of task: Codex runs tasks in the cloud or on a connected computer.
- Cloud tasks. Each task has its own workspace and can keep working while your computer is asleep. You start and follow them from the web, the mobile app or the desktop app.
- A connected computer. In the ChatGPT desktop app on a Mac or PC, open Settings, then Connections, then Control this Mac or PC, and scan the QR code with your phone signed in to the same account. Keep the computer awake and online.
Setup for a connected computer starts in the desktop app. If you work in the Codex CLI in a terminal, the two options below apply.
Notifications from the Codex CLI
The CLI can run a program when a turn completes. In ~/.codex/config.toml:
notify = ["python3", "/path/to/notify.py"]
Codex passes one JSON argument that includes the event type and the last assistant message. The only event today is agent-turn-complete, so your script learns that a turn ended. The terminal UI has its own setting, tui.notifications, which can also signal approval-requested.
As with a Claude Code hook, this tells you something happened. It does not let you answer.
HiBoss: Codex asks, you tap
With HiBoss, Codex runs a command when it needs you:
hiboss ask "Run the migration on staging?" \
--option "Run" --option "Wait" --default "Wait"
The question shows on your iPhone, on the Lock Screen and at the top of your Mac. Your answer returns to the Codex session and it continues.
hiboss senddelivers results and blockers; progress posts and live panels stay quiet.- Codex and Claude Code sessions share one inbox, each with its project, branch and machine.
- A timeout default is reported as automatic, so the agent cannot mistake it for approval.
- The server runs in your own Cloudflare account. HiBoss is open source under the MIT License.
To set it up:
- Deploy the server to your own Cloudflare account with
npm run setup. The self-host guide covers every step. - Install the CLI on the machine where your agents run:
curl -fsSL https://hiboss.org/install.sh | sh - Run
hiboss setup --server <your-server-url>and pair the iPhone or Mac app with the QR code it prints. - Setup installs guidance and hooks for the agents it detects, so Claude Code and Codex know when to use
hiboss askandhiboss send. If you add an agent later, runhiboss setup agentsandhiboss setup hooks --global.
What HiBoss does not do
- You run the server. There is no hosted HiBoss account, so the first setup takes longer than installing an app.
- HiBoss does not forward the agent's built-in permission prompts. It carries what the agent sends with
hiboss askandhiboss send. - It is not a remote terminal. You can follow a session and reply to it, but you do not type into the agent's terminal or approve its tool calls.
- The iPhone app is in TestFlight beta. The Mac app is a notarized download.
Which one to use
- The task can run without your machine: a Codex cloud task.
- You want the whole local session on your phone: connect the computer in the ChatGPT app.
- You want the CLI to work alone and reach you only for a decision, alongside your other agents: HiBoss.
HiBoss does not remote control Codex. It carries the decisions Codex brings you. For Claude Code, see Answer Claude Code from your phone.