Repository navigation
Description
What feature would you like to see?
A supported, documented way for a local companion client (same machine, same user) to follow and act on threads owned by Codex Desktop.
Who is asking
We build SUDO, a wired USB desktop controller for coding agents: a small screen, a knob and three keys. The main key has two stages. A light press dictates a task; a deep press with haptic feedback approves a pending action. The point is that a developer can leave Codex running in the background and still see what it is doing and approve or stop work without switching windows. The hardware is at prototype stage and the Windows and macOS drivers already work with Codex.
The problem
Up to Codex Desktop 26.1111 a local client could use the codex-ipc follower connection. In 26.1117 that pipe is gone (see #62712), and there is no documented replacement for a second local client. Remote attach was requested before in #11166.
What a companion client needs
Only four things, all scoped to threads the user already has open in Desktop:
- Status subscription per thread: running, idle, waiting on approval, waiting on user input.
- Answer an approval (accept / decline) for a specific pending request, identified by request id.
- Interrupt the active turn of a specific thread.
- Send input to a specific thread (
turn/startwhen idle,turn/steerwhen running).
The app-server protocol already has all of these (thread/status/changed, the item/*/requestApproval server requests, turn/interrupt, turn/start, turn/steer, thread/resume). What is missing is a supported transport for a second local client to reach the Desktop's app-server, and a statement of how server requests are shared between connections.
Possible shapes
Any of these would work for us:
- An opt-in setting that makes Desktop's app-server also listen on a private local endpoint (per-user named pipe or Unix socket with an owner-only ACL), with documented multi-client semantics.
- A documented local "companion" API with a narrower surface than the full app-server (the four capabilities above).
- A way for third-party hardware to use the device integration that already exists in Desktop for the Codex Micro.
Hooks cover part of this, and we plan to use them: PermissionRequest for approvals and SessionStart / Stop / Interrupt for status. They cannot send input, interrupt a turn, or identify which Desktop thread the user means, so they do not cover the whole use case.
Safety
- Nothing is approved automatically. Approval needs a deliberate physical press by the user.
- The client answers only the exact request shown on the device, and never sends a decision that Codex did not offer.
- Everything stays on the local machine and inside the user's own session.
Happy to share driver source, a demo video or a prototype unit, and to adapt to whatever interface you prefer.
— SUDO team
Activity
github-actions commentedon Nov 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
xiaomizhaMt commentedon Nov 29, 2026
+1, with one more use case and two details that matter for it.
Use case. A local agent-to-agent bridge on the same machine and the same Windows user: another coding agent (for example a Claude Code session) sends a message to a specific Codex Desktop thread the user has opted in, and Codex's normal reply is returned to the sender. On Windows this worked until 26.1111 through the private follower IPC. Since 26.1117 it has not (see #62712). On the current Store build, 26.1120.6357.0,
\\.\pipe\codex-ipcis still absent while Desktop is running. We don't want to patch the signed app (its integrity checks block that, as they should), so a supported endpoint is the only way forward for us.Two details for agent-originated input:
userMessage. Then neither the model nor the UI can mistake another agent's text for the user's own words or for an approval. In our tests against the bundled app-server,turn/startwith a client tool output already does the right thing: it starts a turn when the thread is idle and joins the active turn when it is busy. It is only missing a supported way to reach the Desktop-owned thread.Approvals should stay in the Desktop UI as they are today. The opt-in, per-user endpoint with an owner-only ACL proposed above would work for us.