# GitHub Details Protocol That Keeps Copilot Sessions Connected Across Devices

By Simon Yoon

Canonical URL: https://www.tokenpost.com/news/technology/60166
Published: 2026-11-18T05:46:02.000Z
Updated: 2026-11-18T05:46:02.000Z
Section: Technology

> The protocol’s specification reached version 1.1 on Nov. 12, after earlier releases in August and October.

GitHub detailed how its Agent Host Protocol (AHP) connects coding-agent sessions across Visual Studio Code and other Copilot interfaces, allowing clients to reach the same session as users switch devices or apps.

AHP separates a session from the application window where it began. The Agent Host owns the session, and clients connect to it to send actions. That gives different interfaces access to one authoritative session state instead of tying the session to the client where it started.

Visual Studio Code introduced the Agent Host and AHP on Aug. 26. The specification reached version 1.0 on Oct. 2 and version 1.1 on Nov. 12. For local sessions, Visual Studio Code must remain open to keep the host running.

The protocol requires root, session and chat channels. During an interruption, clients can hold actions and submit them when the connection returns; the host then reconciles them. The protocol defines how clients interact with sessions; it does not define how an agent reasons or uses tools.

Separate implementations helped expose areas the protocol needed to address. The Visual Studio Code host is written in TypeScript, while GitHub’s cloud host uses Rust. The implementations revealed gaps including how to represent shell output produced without a pseudo-terminal and assumptions about the structure of session addresses.

“A protocol with only one implementation isn’t truly portable; as we taught our clients and servers to talk to each other, AHP became portable in practice, not just in theory,” wrote Connor Peet and Rob Lourens, coauthors of GitHub’s engineering post.

GitHub made its connected Copilot cloud experience generally available on paid Copilot plans on Oct. 28. The experience spans web, mobile, the Copilot app, Copilot CLI, Visual Studio Code, Slack and Microsoft Teams.

AHP libraries are available for Rust, TypeScript, Kotlin, Swift, .NET and Go. The implementations give developers ways to build compatible hosts and clients, while the protocol focuses on session communication.


