r/codex • u/Far-Investment-9888 • Oct 18 '26
Question Best way to use codex away from the computer?
I want to avoid having to turn to my PC just to run Codex. Is there a native way to set it up to a mobile app?
Or run it easily on a VPS and connect to it simply whenever I am on my phone?
I want to code or ask AI from my laptop/phone not just my PC, that way I can avoid having to get out of bed
Things like AGENTS.md need to be considered too, can I tfr them from my PC
All of my code is on my GitHub repository, so need to know about how to access it using Codex from not on the computer.
Thanks, looking for a huge productivity BOOM because I'm not limited by location, would definitely love to hear from people who have made the move
5
u/No_Quarter_7644 Oct 19 '26
I'm sorry but how are you competent enough to understand a VPS connection into Codex remotely, but not smart enough to Google "Does Codex have an app?"
One might reasonably assume the $2Trillion Software company has a working companion App? I'm just a bit flabbergasted that you jumped to Reddit instead of simply figuring this out.
2
u/Maximum-Touch-9294 Oct 19 '26
You can use codex on the mobile app and you can even select environments and create tasks from the phone by going to the website on desktop mode to set up the task then connect to it from the mobile app
3
u/t_mikaelvincent Oct 19 '26
Yes, you can access Codex remotely through the mobile app, as long as your computer is supported and stays on and connected.
If you’d rather keep your computer off, Codex Cloud is another option. It needs some setup and may not suit projects that depend on local apps or hardware.
Personally, I’d suggest just using remote access. Everything’s already set up on your computer, so there’s less hassle.
7
u/Anti-Hero25 Oct 19 '26
Doesn’t codex cloud work directly with your GitHub repo? Cloud costs more tho
1
u/kaijurules Oct 19 '26
On the AGENTS.md part: if it sits in the repo root and you commit it, every place that clones the repo gets it, Codex Cloud included. The one that won't travel is your personal file in ~/.codex/AGENTS.md, which lives only on the PC. Copy that one to the VPS by hand, or move what matters from it into the repo version.
2
u/TNThung Oct 19 '26
t3 code is genuinely the best solution out there IMO.
1
u/nateccs Oct 19 '26
Just install the app on your phone and then configure your computer at home to allow the connection in ChatGPT desktop application
1
u/Cor3nd Oct 19 '26
Codex Cloud. You create your environment (what they call now a computer in the cloud) and that it.
1
u/radim11 Oct 19 '26
A VPS with tmux/herdr is probably the simplest starting point. You can SSH in, start Codex inside tmux and reconnect later without losing the running session.
Probably good idea to run it inside a container, especially if you're planning to leave it running unattended. That way you can limit what files and services it can access.
Are you looking to keep one long-running Codex session alive, or start new coding tasks remotely?
1
u/Cheap-Journalist-222 Oct 19 '26
Use cloudroom by David Ondrej with codex and then you can run agents in the cloud
1
u/Techngro Oct 20 '26
I have a SFF always-on pc running Proxmox. I have Codex and Claude running in a VM. I access it anywhere via tailscale/ssh. That is probably the best setup. When you need to work, you just open up your terminal/desktop app and start a task. The task runs on the remote machine, so you never have to worry about shutting anything down.
1
u/Own_Responsibility84 Oct 20 '26 edited Oct 20 '26
I have a Linux machine running 24h. In the past, I used terminus on iPhone to access the machine in tmux sessions. I use three CLI tools, Claude, Codex and Agy. The problem is the display on Terminus in mobile device is too small, hurting my eyes quite a bit after long hours. After 20+ projects with agents in Termius, I created a chat based tool. It is similar to Claude Remote control feature but more flexible with any agent.
Here is the repo: https://github.com/LowellWinston/mobile_tmux_public.git
1
u/St-CB Oct 20 '26
yeah vps the best solution for always on device
1
u/iammienta Oct 20 '26
I got an old $50 mini pc and installed claude and codex to have them always on. Folders are syncthing to my mac
1
u/Stanthewizzard Oct 20 '26
I have a windows 11 VM inside 1 proxmox node (all you can eat VM)
Codex is on it
always on with opencodex
./codex is on nextcloud sync
sync wiht another windows
Using at 90% the VM with either RDP or iOS remote
1
u/TheKillerScope Oct 18 '26
VPS or any server and Termius.