Skip to content

Codex Remote Control #9224

Closed
Closed

Description

@sluongng

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 #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.

Activity

  1. added
    enhancement
    on Jan 14, 2026
  2. added
    CLI
    on Jan 14, 2026
  3. tagorr commented on Jan 15, 2026

    @tagorr

    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.

  4. ddevalco commented on Feb 3, 2026

    @ddevalco

    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?

  5. tagorr commented on Feb 3, 2026

    @tagorr

    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.

  6. z-siddiqi commented on Feb 4, 2026

    @z-siddiqi

    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.

  7. ddevalco commented on Feb 9, 2026

    @ddevalco

    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!

  8. z-siddiqi commented on Feb 9, 2026

    @z-siddiqi

    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.

  9. RebootGG commented on Feb 24, 2026

    @RebootGG

    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

  10. tagorr commented on Feb 24, 2026

    @tagorr

    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.

  11. lukaszciastko commented on Feb 26, 2026

    @lukaszciastko

    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.

  12. gonyua commented on Feb 26, 2026

    @gonyua

    want it remote

  13. azyben8 commented on Feb 27, 2026

    @azyben8

    maybe just integrated this remote control within chatgpt just like what claude app does.

  14. zbart97 commented on Mar 2, 2026

    @zbart97

    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.

  15. 40 remaining items

  16. InfinityMod commented on May 9, 2026

    @InfinityMod

    You can try my little IPC script, which I've been using recently. At least the prompt executions then also synchronize with the Codex GUI. It partially reverse-engineers the communication between the VSCode Plugin and the Codex GUI and works well on my Mac. It allows reading the agent chat messages (read-full), sending messages (sent), and listing the chats (list-all). It may also work on other platforms, but I haven't tried it yet.

    https://gist.github.com/InfinityMod/ecc1f441f7447824ff114b8a41debec2

  17. OccultScientist commented on May 13, 2026

    @OccultScientist

    +1 on this!

  18. jasmeralia commented on May 13, 2026

    @jasmeralia

    This has become an invaluable part of my Claude workflow and I really think this would be an incredibly helpful feature to use Codex more, rather than having to ssh into a tmux session from my Android tablet.

    (Please ensure that we can still upload files from the remote app if this implemented, as that makes providing screenshots much less painful than transferring them via scp/sftp and instructing the tool to look at the uploaded file.)

  19. etraut-openai commented on May 14, 2026

    @etraut-openai
    Contributor

    I'm excited to say that this feature is now available in preview! For details, refer to this announcement.

    Please give it a try! File bug reports if you run into problems and feature requests for follow-on improvements.

  20. CanRau commented on May 14, 2026

    @CanRau

    Uff amazing, just updated Codex desktop, noticed the new mobile menu entry and set it up successfully, can manage my codex sessions live from my phones ChatGPT app 🥳
    Only pinned chats would be awesome to have the same on mobile, I use them heavily for more complex tasks that I want to keep track of

  21. solomatov commented on May 14, 2026

    @solomatov

    @etraut-openai Do you plan to provide the same service to the command line app? I prefer to run codex, and other agents in VMs and on other machines. Both for security and convenience reasons.

  22. hendryyeh commented on May 15, 2026

    @hendryyeh

    @solomatov For CLI control specifically (not Desktop), the community has shipped a handful of solutions:

    • CodeVibe (iOS + Android, works with Codex CLI, Claude Code, and Gemini CLI; one-command installer; E2E encrypted)
    • pikiclaw (similar scope, open source)
    • codex-pocket (fork of zane, web-based)
    • RemCodex
    • @InfinityMod's IPC script above (reverse-engineers Codex GUI <-> CLI bridge)

    The OpenAI Desktop announcement targets the Desktop GUI app. The CLI side — relevant for VMs, SSH-only boxes, and the "agents in another machine" workflow you described — isn't covered, so first-party CLI mobile control would still be a real gap. The community tools above cover different points on the security/convenience curve.

  23. J3m5 commented on May 15, 2026

    @J3m5

    @etraut-openai Do you plan to provide the same service to the command line app? I prefer to run codex, and other agents in VMs and on other machines. Both for security and convenience reasons.

    It is already available in the alpha releases
    I didn't tested it yet but it should work

    https://github.com/openai/codex/blob/main/codex-rs%2Fapp-server-daemon%2FREADME.md

  24. J3m5 commented on May 16, 2026

    @J3m5

    It is already available in the alpha releases I didn't tested it yet but it should work

    main/codex-rs%2Fapp-server-daemon%2FREADME.md

    I can confirm that it's working
    The only issue I see is this one: #22762

  25. bdolewski-intellias commented on May 16, 2026

    @bdolewski-intellias

    Using it right now. Works like a dream, great job !

  26. t-anjan commented on Jun 22, 2026

    @t-anjan

    @etraut-openai Do you plan to provide the same service to the command line app? I prefer to run codex, and other agents in VMs and on other machines. Both for security and convenience reasons.

    codex remote-control start --json

    The above just works for me. I just ran it on the remote machine where I use the codex CLI to do all my development. Codex has two separate paths:

    1. mobile/relay remote-control and
    2. desktop SSH remote projects.

    codex remote-control start --json enrolls this server with ChatGPT remote-control relay, so same-account mobile app can discover the server through backend relay. When I open my mobile app, in the codex tab, I am able to see all the codex sessions from the server.

    To work with the same server using the Codex Desktop app running locally, you will have to do: Settings > Connections > Add/enable SSH host. That triggers the Codex Desktop app to do 2 things:

    1. Start a remote Codex app-server through SSH using remote login shell. Because I had already done codex remote-control start --json on the server, that would have already started the "codex app-server" on the server, so, this step gets skipped.
    2. Runs codex app-server proxy, which just bridges desktop stdio to remote Unix socket. Only this step gets executed and the proxy gets set up.

    Then, all the codex sessions from the server start showing up on the Desktop app as well.

  27. jeff-an commented on Jul 5, 2026

    @jeff-an

    After connecting remote codex to my Mac, I got Codex to actually generate me a pairing code that worked on my Android phone. Now my Chatgpt app shows both my mac and my remote dev box. I asked Codex to generate reproducible instructions for others, see file attached:

    instructions.md

  28. silouanwright commented on Sep 15, 2026

    @silouanwright

    [Comment moved to #33612, which more accurately tracks this request.]

  29. Engccer commented on Oct 3, 2026

    @Engccer

    Adding a follow-up request for a supported, easy-to-discover connection from an existing Codex CLI session directly to the ChatGPT mobile app, without installing or keeping the desktop app open.

    My desired workflow is:

    1. Start a session in the terminal.
    2. Enable mobile access from that session with a simple command, ideally an in-session command such as /remote-control or /rc.
    3. Pair the phone using a code or link.
    4. Continue the same live thread in the ChatGPT mobile app: read progress, send follow-ups, and handle approvals, with execution and tools remaining on the original computer.
    5. Return to the terminal and see the mobile turns in the same conversation.

    I recognize that CLI support already exists in experimental form: on macOS, codex-cli 0.160.0 exposes codex remote-control start and codex remote-control pair, and the app-server-daemon README describes the CLI path. I have verified the command help, but have not tested end-to-end phone pairing, so this is not a report that those commands fail.

    The user-facing documentation is confusing, however. The Remote connections guide currently says that mobile setup starts from the desktop app and cannot be set up from the Codex CLI or IDE extension. That appears inconsistent with the experimental CLI commands and the working CLI-only setups reported above.

    Please make terminal-to-mobile access a clearly supported and documented workflow, including how an already-running terminal session becomes available on mobile and whether any restart or resume is needed. A simple in-session pairing entry point would make this much easier to discover. If the existing commands already cover this workflow, documenting their support status and correcting the desktop-only setup guidance would address much of this request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureUser Requestappenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions