Skip to content

Supported local interface for companion devices to follow and act on Desktop threads #62919

Open

Description

@ggl003614-tech

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:

  1. Status subscription per thread: running, idle, waiting on approval, waiting on user input.
  2. Answer an approval (accept / decline) for a specific pending request, identified by request id.
  3. Interrupt the active turn of a specific thread.
  4. Send input to a specific thread (turn/start when idle, turn/steer when 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

  1. added
    enhancement
    app
    app-server
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. xiaomizhaMt commented on Nov 29, 2026

    @xiaomizhaMt

    +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-ipc is 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:

    1. Source labelling. A message from another agent should not arrive as a 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/start with 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.
    2. Acceptance result. The call should return the turn it started or joined, or a clear rejection. That way the integration can record that the message was delivered exactly once and never resend it.

    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.

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

    appapp-serverenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions