1
Lid open
Everything works. The phone is a second screen for the session on your
computer: run claude remote-control and it shows up in the Claude
app's Code tab. The ChatGPT app does the same for Codex, and Happy does both.
2
Lid shut, on the train
Relay apps stop. Both makers say so:
"…your computer has to stay on and the claude process has to keep running." Anthropic
"If that computer sleeps, loses network access, or closes the app, remote access stops." OpenAI
What keeps going is anything in the cloud: Claude's cloud sessions, Codex cloud tasks, or a cloud workspace like Cosyra, where the agent runs on a Linux machine nobody has to keep awake.
3
No signal
On a flight or in a tunnel, your phone and laptop are offline, so an agent on either one stops: Claude Code and Codex need the internet to reach their models.
This is why cloud workspaces exist. The agent runs in a data center, and the data center doesn't lose signal. Start the task before you board, and it keeps working while you have no connection. The result is waiting when you land.
Which app for which case: pick in three taps.
Our founder's own setup, one leader agent and five machines: How to run coding agents from your phone in 2026 (dev.to).
Questions
What is the best way to run AI coding agents on a phone?
Run the agent off the phone and decide whether it should keep going with your laptop shut. If it should, use a cloud workspace such as Cosyra. If your computer stays on anyway, a relay app such as the Claude app's Remote Control, the ChatGPT app or Happy is enough.
Do I need to keep my computer on to code from my phone?
Only with relay apps, which drive an agent on your computer. Anthropic's and OpenAI's docs both say remote access stops when the computer sleeps. Cloud workspaces, Claude's cloud sessions and Codex cloud tasks keep running with it off.
Can my AI coding agent keep working when I have no signal?
Yes, if it runs in the cloud. An agent on your phone or laptop stops when they go offline, because Claude Code and Codex reach their models over the internet. In a cloud workspace like Cosyra the agent runs in a data center that stays online, so it keeps working while you have no connection, and the result is waiting when you reconnect.
Keep the agent going with the lid shut. Install Cosyra and
type claude.