Blog

May 18, 2026 ยท 5 min read

Run Codex from your phone with an always-on Mac mini

Quick summary

Use an always-on Mac as the Codex host, connect your phone to that machine, and let agent work keep running even when your laptop is asleep. Hyperbox gives Codex a persistent Mac runtime instead of a laptop session that disappears.

Questions this page answers

  • How do I run Codex from my phone?
  • What always-on Mac host do I need for Codex mobile setup?
  • Can a remote Mac mini act as a persistent runtime for agents?
  • Where does Hyperbox fit in a Codex hosting workflow?

The setup

I wanted Codex to feel less like a terminal session trapped on one laptop and more like an always-available Mac runtime. The answer is blunt: put Codex on a Mac mini that stays online, then control it from ChatGPT on your iPhone or MacBook.

The video walks through the exact flow: a remote Mac mini hosts Codex, the phone connects to that host, and another Mac can pick up the same work. In the demo, a simple prompt creates and verifies a Fibonacci function, then the same thread appears across devices.

That is the whole trick. The Mac mini is the stable machine. Your laptop and phone are just controllers. You can close the laptop, walk away, and still have a real macOS workspace waiting for agent work when you come back.

How to copy it

OpenAI's Codex remote connections docs describe the official flow: connect a phone to a Codex App host, continue threads from another device, or use remote projects on SSH hosts when the code lives elsewhere.

1

Pick an always-on Mac host

Use a Mac that can stay awake, online, signed in to the same ChatGPT account and workspace, and running the Codex App. If you do not already own a Mac mini, Hyperbox is the always-on Mac runtime for this host role.

2

Start Codex mobile setup

On the host Mac, open Codex and choose the Codex mobile setup flow from the sidebar. The host shows a QR code that connects this Mac to ChatGPT on your phone.

3

Scan and confirm in ChatGPT

Scan the QR code with your phone, finish the ChatGPT setup flow, and confirm the same account and workspace. After setup succeeds, the host appears inside Codex on your phone.

4

Review connection settings

In Codex on the host, open Settings > Connections to manage connected devices, keep the Mac awake, enable Computer Use, or install the Chrome extension.

5

Pick up the same work elsewhere

From another Mac, use Settings > Connections > Control other devices to add the always-on host. From your phone, start or continue threads against the host's projects, files, credentials, tools, and active setup.

The important host settings

For mobile access, the host is the Mac running the Codex App. Keep that Mac awake and online, signed in to the same ChatGPT account and workspace, and leave Codex available while work is running. The official docs call out that mobile setup and device control currently require the Codex App for macOS on the host.

If your project lives on a separate remote development box, use the SSH-host path instead: add the host to your SSH config, confirm you can SSH into it, make sure the `codex` command is on the remote host's PATH, then add the remote project from Codex Settings > Connections.

Why Codex needs an always-on Mac runtime

Buying a Mac mini just to keep an agent online is overkill for a lot of people. Hyperbox gives you the hosted version: an always-on Mac mini you can use as the persistent home for Codex, builds, installs, browser work, and whatever other agent tasks need a real macOS desktop.

Own a Mac mini already? Use it. Want the faster path? Spin up a Hyperbox and make the remote Mac the machine your agents live on.

Frequently asked questions

Can I run Codex from my phone?

Yes. Use the Codex App on an always-on host Mac, connect your phone through the Codex mobile setup flow, and keep that Mac online while agent work runs.

Do I need my own Mac mini for this workflow?

No. You can use a Mac you already own, or use Hyperbox as the hosted Mac mini that stays awake, online, and available for Codex.

Why use an always-on Mac runtime for Codex?

An always-on Mac runtime gives Codex a persistent macOS workstation for builds, installs, browser work, and long-running tasks that should not stop when a laptop sleeps.

Always-on agent runtime

Give Codex a Mac that does not disappear when your laptop sleeps.

Hyperbox is the always-on Mac behind this workflow. Use it as the persistent desktop where your agents, tools, and projects keep living.