Boost Your Productivity: Remotely Steer Copilot CLI Sessions from Anywhere

The world of software development is constantly evolving, with new productivity tools for software development emerging to streamline workflows and enhance efficiency. A recent announcement in the GitHub Community discussions has unveiled a significant leap forward for developers using Copilot CLI: the introduction of copilot --remote. This new capability, now in public preview, liberates your Copilot CLI sessions from your local machine, allowing you to monitor and steer them directly from GitHub on the web or mobile devices.

Developer remotely controlling CLI session from a couch with laptop and phone
Developer remotely controlling CLI session from a couch with laptop and phone

The Power of Remote CLI Sessions

Imagine initiating a complex build or deployment, then stepping away from your desk while retaining full control. That's precisely what copilot --remote offers. When enabled, your CLI activity is streamed to GitHub in real-time, providing a unique link and QR code. This allows you to:

  • Follow along with your session's progress from any device.
  • Send follow-up prompts or steering messages to guide Copilot.
  • Maintain control and oversight, even when you're away from your primary terminal.

Crucially, all interactions remain perfectly synchronized between your local CLI and GitHub, and your session is kept strictly private to you. This level of flexibility is a game-changer for developer workflows, particularly for those who value mobility and continuous oversight.

Developer managing CLI tasks on a mobile phone while walking
Developer managing CLI tasks on a mobile phone while walking

Key Capabilities at Your Fingertips

The remote session feature supports all the familiar Copilot CLI functionalities, ensuring that your remote experience is as robust as your local one:

  • Steer the AI agent mid-session or continue complex workflows after a step completes.
  • Review and fine-tune plans before execution, ensuring accuracy and alignment with your goals.
  • Effortlessly switch between plan, interactive, and autopilot modes, or halt the session at any point.
  • Approve or deny permission requests directly from your remote interface, based on your CLI settings.
  • Respond to questions from Copilot via the ask_user tool, facilitating seamless interaction.

For longer tasks, the /keep-alive command ensures your machine stays awake, preventing interruptions to your remote session.

Getting Started with Remote Copilot CLI

Diving into this new feature is straightforward. Here are a few quick tips to get you started:

  • Run /update to ensure your Copilot CLI is on the latest version.
  • Start a session with copilot --remote, or enable it anytime with /remote.
  • Important: You must be working inside a GitHub repository for this feature to function.
  • Open the provided session link to monitor and interact from your web browser.
  • For mobile access, download the GitHub app for Android (Play Store) or iOS (TestFlight).

For Copilot Business or Enterprise users, an administrator will need to enable remote control and CLI policies before the feature can be utilized. Comprehensive documentation is available for more details: GitHub Copilot Docs.

Community Reactions and Considerations

The community's initial response highlights both the excitement and some immediate considerations for this new capability. Users like avaana236-art praised the feature for its "flexibility on the go" and its potential to "make it much easier to manage tasks, monitor processes, and troubleshoot without being tied to a single machine." This underscores its value as a powerful addition to existing git productivity tools and overall developer productivity.

However, a critical limitation was quickly identified by matthewlloyd, who noted:

! Remote session disabled: not in a GitHub repository.
This restriction means that developers working primarily on private repositories not hosted on GitHub.com will find this feature to be a "non-starter." While the feature significantly boosts productivity for GitHub-centric workflows, its current scope limits its universal applicability across all development environments.

Enhancing Developer Productivity, One Remote Session at a Time

The introduction of remote control for GitHub Copilot CLI is a significant step towards more flexible and efficient software development. It empowers developers to maintain oversight and control over their AI-assisted coding sessions from virtually anywhere, truly enhancing personal and team productivity tools for software development. As this public preview evolves, community feedback will be vital in shaping its future, hopefully addressing current limitations and expanding its utility to an even broader range of development scenarios.

Track, Analyze and Optimize Your Software DeveEx!

Effortlessly implement gamification, pre-generated performance reviews and retrospective, work quality analytics, alerts on top of your code repository activity

 Install GitHub App to Start
devActivity Screenshot