GitHub details the protocol behind cross-device Copilot sessions

GitHub published an engineering account of its Agent Host Protocol on November 17, explaining how Copilot sessions continue across editors, desktop apps, phones and cloud environments. The post describes an open standard developed first in VS Code and adopted across GitHub, rather than a new language model.
AHP separates the agent's lifetime from a particular application window. Clients share session history and state through a host, with the server resolving changes and acknowledging actions after interruptions or reconnections.
Every implementation must support root, session and chat channels. Additional channels can expose terminals, MCP capabilities or telemetry. GitHub says protocol libraries are available for Rust, TypeScript, Kotlin, Swift, .NET and Go.
The company describes two separate hosts: VS Code's TypeScript implementation and GitHub's Rust implementation. Developing both exposed portability problems that a single implementation could have hidden, including assumptions about session identifiers and shell output.
Developers can connect their own hosts through experimental direct connections in the Copilot app or remote agent-host support in VS Code. The design matters because session continuity becomes a shared interface, rather than a separate integration for every device.
Sources and citations
Revision history
Published .