Skip to content

How do I remote control Codex, OpenCode or another coding agent? ​

Cmd+Ctrl gives every supported coding agent the same mobile and web app. Install one small daemon per agent on the machine where the agent runs, and all of your sessions – across agents and machines – show up in one list on iOS, Android and the web, where you can start sessions, watch them work and reply. You can filter the list by agent and by device.

Install ​

bash
curl -fsSL https://docs.cmd-ctrl.ai/install.sh | bash

The installer checks for Node.js 22.23.4+, 24.22.1+ or 26.12.1+, lets you choose which agents to set up, and installs and registers each daemon.

Supported agents ​

AgentDaemon packageSetup
Claude Code@cmdctrl/claude-codeGuide
Codex@cmdctrl/codex-cliGuide
OpenCode@cmdctrl/opencodeGuide
Gemini CLI@cmdctrl/gemini-cliGuide
Cursor CLI (cursor-agent)@cmdctrl/cursor-cliGuide
GitHub Copilot CLI@cmdctrl/copilot-cliGuide
Aider (via AgentAPI)@cmdctrl/aiderGuide
Pi@cmdctrl/piGuide
oh-my-pi (omp)@cmdctrl/ompGuide
OpenClaw@cmdctrl/openclawGuide
Cursor IDE (beta)@cmdctrl/cursor-ideGuide
GitHub Copilot in VS Code (beta)@cmdctrl/vscode-copilotGuide

Not listed? You can build a daemon for any agent or tool.

Steps ​

  1. Install and authenticate the agent itself.
  2. Install its daemon – with the installer above, or by hand:
    bash
    npm install -g @cmdctrl/<agent>
    cmdctrl-<agent> register -s https://api.cmd-ctrl.ai
    cmdctrl-<agent> start
  3. register prints an approval URL. Open it and sign in – you can create your account there.
  4. Open the app: iOS, Android or app.cmd-ctrl.ai.

The machine running the agent has to stay on and online. The two IDE daemons also need the IDE running with --remote-debugging-port.

See also ​