Codex Remote Control
What feature would you like to see?
The ability to remotely control codex cli running on my desktop PC from my phone with ChatGPT app -> Codex tab.
Additional information
More context available here https://github.com/openai/codex/discussions/9200
I'm basically doing this already today with a combination of Tailscale (VPN) + Terminus (SSH client).
Being able to use a proper mobile app UI would be much better for me than having to access the sessions through ssh + tmux.
It would be great if ChatGPT web and the mobile app could send tasks to Codex CLI. In Claude Code, it implemented via MCP servers, but in ChatGPT, unfortunately, enabling Developer Mode disables memory.
It would be great if the developers did one of two things: either allow memory to work in Developer Mode, so this kind of functionality could be achieved via MCP, or directly add a native connector in ChatGPT to connect to a local remote terminal. That would be a killer feature.
This is what I've been hoping and looking for. I typically use codex via vs code. However now with Codex clienbt out for Mac I'm giving that a shot. Either way, ideally if I start a codex session up on my mac and i'm happily coding away and leveraging helpful agents in side conversations. All works great, agents have the access to the cli and all code and can knock out all sorts of tasks.
The problem, is when I'm not at my desk. Leave to go to a meeting, lunch or any other number of reasons and my only option is to note an idea down or wait till I get back to my desk. I can't be in the moment while away.
Ideally, I should be able to open up the ChatGPT app on iPhone, go to Codex and see the conversation that I started on my Mac and be able to continue the conversation while the actual work continues to be done on the Mac. I just need to be able to monitor things and continue the conversation regardless of being at the Mac. Right now I don't see a way to do this?
That scenario is actually pretty easy to cover. Tmux on your work machine and termux on your phone. Not sure if it exists on iPhone, but it does on Android. Then via SSH I can check what’s going on in my terminal where Codex CLI is running and even able to give it new tasks.
I mean something else though - I want ChatGPT Web, which uses a slightly different model and thinks differently about generalized problems, to have access to my disk, or at least some kind of sandbox on my work computer where my repo files live. That would be way more convenient than manually updating the project files in GPT Projects every time there are serious changes in the repo.
Built something along these lines as a side project. A web client that connects to a local Codex app-server instance and relays events to any device. Execution stays local and connection is outbound only.
Repo is here if anyone's curious: https://github.com/z-siddiqi/zane
The app-server JSON-RPC interface made this pretty straightforward to build on top of.
Built something along these lines as a side project. A web client that connects to a local Codex app-server instance and relays events to any device. Execution stays local and connection is outbound only.
Repo is here if anyone's curious: https://github.com/z-siddiqi/zane
The app-server JSON-RPC interface made this pretty straightforward to build on top of.
Thank you for sharing this and your work on it. I kinda forked it (probably not the right way) and made a bunch of tweaks and changes the more I played with it. I feel I simplified it in a way and yet still secure'ish I think. You can check it out here: https://github.com/ddevalco/codex-pocket
It's already become a big help for me!
Built something along these lines as a side project. A web client that connects to a local Codex app-server instance and relays events to any device. Execution stays local and connection is outbound only. Repo is here if anyone's curious: https://github.com/z-siddiqi/zane The app-server JSON-RPC interface made this pretty straightforward to build on top of.
Thank you for sharing this and your work on it. I kinda forked it (probably not the right way) and made a bunch of tweaks and changes the more I played with it. I feel I simplified it in a way and yet still secure'ish I think. You can check it out here: https://github.com/ddevalco/codex-pocket
It's already become a big help for me!
Cool! Glad it helped.
As of today, Claude Code has just shipped this feature: https://code.claude.com/docs/fr/remote-control
It would be really nice and convenient to add this to Codex as well
Yes, it would be perfect to have a lightweight app made specifically by OpenAI that allows you to connect to your local machine's terminal from an Android or iOS mobile device. That would be just ideal.
It would be great to have this feature - since I started using AI, I often leave my laptop at home and work from my table or the phone on the go. I can start a task and go to the gym and monitor the task remotely. I usually use a Remote Desktop, but being able to do it directly from a plugin or app would be so much easier.
want it remote
maybe just integrated this remote control within chatgpt just like what claude app does.
A major reason advanced users value Clawdbot and OpenClaw is the flexibility to work on our own terms, rather than being constrained by vendor-locked workflows.
Because of that, adding a secure remote control capability would be a high-impact improvement. It would let users continue managing development while away from their desk—during lunch, between meetings, or whenever they are not directly at their machine. For users running longer agentic workflows, that kind of continuity would be extremely valuable.
If this is explored, I believe the strongest implementation would be through the CLI, not only through the Codex Mac app. The CLI is where many of the most technical and workflow-heavy users already operate, especially those coordinating sub-agents, automation, and GitHub-based development. That audience is especially well positioned to benefit from tighter remote orchestration.
I also think there would be meaningful trust advantages in having this capability provided through an OpenAI-owned and primarily OpenAI-maintained solution, rather than relying mainly on third-party implementations. For many of us, the work being handled involves client responsibilities, sensitive code, and operational risk, so trust, accountability, and long-term reliability matter as much as the feature itself.
Connecting Codex App to my remote Dev Codex CLIs would be amazing..
We solved a version of this for Claude Code using IDE Agent Kit. It polls chat rooms (Ant Farm, Discord) and relays messages to a running Claude Code session via tmux. So you can message from any device with a chat client and Claude Code responds.
Not as polished as a native mobile UI, but the architecture (external message source -> relay -> IDE agent session) works for the core use case of "I am away from my desk and need to steer the agent." The main limitation is latency: polling-based relay adds ~2 min round-trip vs. real-time with websockets.
We need this ASAP)
I built an open-source tool called pikiclaw that solves this for Codex CLI (and Claude Code / Gemini CLI as well).
It runs on your local machine and bridges Codex CLI to Telegram (or Feishu). You chat with your agent through Telegram — prompts go to Codex running locally, and output streams back to the chat in real-time. No remote server, execution stays local.
Key things relevant to this thread:
- Full conversation support — not just monitoring, you can send follow-up prompts, steer the agent, switch sessions
- Codex human-loop support — when Codex asks for approval mid-task, it forwards the prompt to Telegram and waits for your response
- File exchange — attach files in Telegram and they get staged in the workspace; the agent can send files/screenshots back
- Runs as a daemon with watchdog/auto-restart, so you can leave it running
Compared to the web-based solutions shared above (zane, codex-pocket), the main trade-off is that it uses Telegram instead of a custom web UI — which means no extra port to expose, and you get native mobile push notifications for free.
(Disclosure: I'm the author. MIT licensed.)
Connecting Codex App to my remote Dev Codex CLIs would be amazing..
Claude lets you do exactly that even from iPad: https://code.claude.com/docs/en/remote-control That's what I need - an official way to use my iPad as a remote controller for my Mac at home.
This is an urgently needed feature. Upvoted
Please!
RC it!