Allow Codex CLI/TUI users to connect their computer to a dot without the desktop app
What variant of Codex are you using?
Codex CLI / interactive TUI on macOS. Locally checked version: codex-cli 0.164.0. I use my dot through ChatGPT on the web.
What feature would you like to see?
Please provide a supported CLI/TUI flow to explicitly authorize a dot to use the computer where Codex is already running, without requiring installation or a running instance of the ChatGPT desktop app.
I want to keep using Codex in my terminal and ask my dot to start or continue work against the same machine's project files and development tools. This matters to macOS users who prefer the CLI as well as Linux users and headless-server users.
A pairing experience similar to Codex Remote Control would fit this workflow:
- Start the connection from the CLI or an equivalent TUI action.
- Complete a short-lived pairing/device-code flow and explicitly choose which dot may access the host.
- Show the authorized host in the dot's Computers list with clear online/offline and authorization status.
- Let the dot start local Codex tasks and continue eligible existing CLI/TUI tasks, with an explicit handoff when another client owns the active session.
- Keep local execution available while the CLI-managed service is running, without a desktop app as a relay.
- Provide status, disconnect, and revoke controls. Preserve applicable host permissions, sandboxing, and approval checks; ordinary Codex sign-in or Remote Control pairing must not silently grant dot access.
The request is for local code, filesystem, and shell execution. Desktop mouse/keyboard automation is not a prerequisite.
Additional information
On this machine, codex remote-control --help lists experimental start, stop, and pair commands. This illustrates the kind of terminal-based connection experience requested; it is not evidence that those commands already authorize a dot.
The official dots computer-access documentation describes authorization through the desktop app and explicitly distinguishes dot permission from a Codex connection. I could not find a documented CLI-only dot enrollment flow.
Related requests/reports:
- #49491 — direct dot access to a headless Linux server.
- #50095 — a CLI-paired Linux host appears connected to Codex but is unavailable to a dot.
This overlaps the existing headless-Linux request. I am adding the macOS CLI/TUI use case and asking for a common terminal-based authorization flow across supported platforms; please consolidate with #49491 if that is the intended tracker.
This is a feature request, not a claim of a reproduced pairing failure. No dot-specific enrollment or remote-control startup was attempted for this report. Prepared with Codex assistance at my request; no private paths, task IDs, credentials, or logs are included.
Agreed, this would be very useful. The electron UI is a resource hog. I managed to find a way for my dot to use codex server via using an OpenAI tunnel and MCP server connector. Not ideal, but it works.
Totally agree, spent so long tonight trying to figure out some way to link the two other than allowing chatgpt desktop to ssh to the linux vm running codex.
I agree. If dot cannot connect to cli and delegate work there, then it is practically useless for me. I don't need astra to power hotel booking for me. The electron app is a pain, and I would stay away from it whenever I can.
If you just want to chat with your dot from the terminal, I made dot-tui. It uses your existing Codex login.
I’d really like to see this supported. I mostly use Codex from the terminal on my Mac, and I don’t want to keep the ChatGPT desktop app running just so my dot can start a coding task. My use case is to ask my dot from my iPhone to start a Codex task in an existing local repo, using the files and tools already on the Mac. I don’t need desktop UI control for that.
A CLI-only way to explicitly authorize my dot, with the usual permissions and approval checks, would make a big difference for my workflow. Thanks for considering it.
For the iPhone → local Mac workflow described above, I built dot-bridge. I’ve used it to reach my Mac from my dot without the ChatGPT desktop app running. It runs from a terminal or the menu bar and exposes local tools as a custom MCP plugin, including starting a codex exec task in a project folder. Pairing requires approval on the Mac, and you can revoke the connection there.
The distinction for this request: it shows up under Plugins, not Computers, and it starts new CLI tasks rather than attaching to existing TUI sessions. It requires custom MCP support on your ChatGPT account; available actions depend on your plan. Native CLI enrollment would still be useful.