copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Remote session support for Copilot CLI — attach from mobile / browser

Open DwainTR opened this issue 8 months ago • 3 comments

Feature request

I'd love the ability to attach to a running Copilot CLI session from a mobile device or browser — similar to how Claude Code implements its remote session feature.

Current behavior: The Copilot CLI runs as a terminal process with no external connectivity. The only way to interact with an active session is via SSH into the machine running it.

Desired behavior: When starting a session, the CLI optionally exposes a local WebSocket server (e.g. --remote flag). Combined with a tunnel (Cloudflare Tunnel, ngrok, or a built-in tunneling option), this would make the session accessible from:

  • The native GitHub mobile app (iOS / Android) — this is the most important use case
  • A browser-based UI
  • Any device, without needing SSH

Why this matters: The CLI builds up rich session state over time — checkpoints, plan.md, todo tracking. All of that context lives in the terminal session. Right now the only way to continue that work away from the desk is SSH + fighting a small phone screen.

Claude Code has shipped this as "remote sessions" — the terminal process acts as a server, a tunnel makes it reachable, and the mobile app connects directly to the running agent. The same architecture would work here.

Native mobile app integration would be the killer feature. Being able to open the GitHub app, see your active Copilot sessions, and continue the conversation — without leaving the app — would be a genuinely unique capability across all AI coding tools.

DwainTR avatar Mar 11 '26 11:03 DwainTR

Interestingly enough the 1.0.10 release adds a --server flag and references to "remote sessions"

I can't find anything documented about this though..

mnaser avatar Mar 21 '26 14:03 mnaser

This is actually supported by the CLI and the GitHub mobile app, would be worth to close it.

ilteoood avatar May 21 '26 15:05 ilteoood

This is now supported! https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely

RyanHecht avatar Jul 15 '26 16:07 RyanHecht