GitHub details Agent Host Protocol behind Copilot sessions that move between devices
In an engineering blog post, GitHub describes the Agent Host Protocol (AHP), an open standard first built in VS Code that it says lets Copilot agent sessions continue across the Copilot app, VS Code, mobile and cloud sandboxes.
GitHub has published an engineering account of the Agent Host Protocol (AHP), which it says underpins session continuity in GitHub Copilot: a user can start an agent session on one device or app and resume it on another. The company calls AHP an open standard that was built first in VS Code and then adopted across GitHub. [1]
According to the post, the original Copilot design in VS Code tied agents to a single editor window. Closing the window ended the agent, and an editor update stopped every running agent. Meanwhile, the Copilot app and GitHub's iOS and Android apps were each building their own integrations with cloud agents. GitHub says a shared, independently versioned protocol was meant to replace those one-off integrations. [1]
GitHub says AHP is organised around URI-identified "channels". Every server must implement root, session and chat channels, and may add others, for example terminal support or OTel reporting. Each channel holds reducer-based state, with the server acting as the arbiter. Clients send actions, and the server reconciles and acknowledges them. GitHub says this design simplifies reconnection on poor networks. The company also says the protocol deliberately avoids encoding how agents behave. [1]
Two separate host implementations exist, according to GitHub: VS Code's, written in TypeScript, and GitHub's cloud-oriented Agent Host, written in Rust. The company says reconciling the two exposed gaps in the protocol and some bad assumptions. It adds that the previous Copilot Chat extension had grown to more than 400,000 lines of TypeScript, and that the new agentic stack builds on the Copilot SDK. [1]
GitHub says AHP libraries are available in Rust, TypeScript, Kotlin, Swift, .NET and Go. Developers can connect their own hosts through an experimental setting in the Copilot app or through VS Code's Add Remote Agent Host option. The post was written by GitHub itself, and its performance and portability claims have not been independently assessed. [1]
Sources
- GitHub: Building the Agent Host Protocol for sessions that continue across devicesSource published · TechDots found it
Statements labelled as a company's claim have not been independently confirmed by TechDots.
Get Technology stories by email
Related coverage
Spotify Engineering questions the idea of a single 'AI product manager' role
A Nov. 9 post on Spotify's engineering blog examines AI product management from three angles, starting from the observation that most coverage treats 'the AI PM' as one job. Only an excerpt was available for review.
Stripe says it moved $1B in vendor payments onto its own Global Payouts product
In a company blog post, Stripe says it began shifting its vendor payments to Global Payouts in early 2026, cutting new-market setup from six weeks to one with a 99.9% payout success rate. The figures are Stripe's own and have not been independently verified.
Stripe says users can now query their Stripe data in natural language through an agent
In a 5 November blog post, Stripe said customers can use natural language with an agent to analyse their Stripe data. Its examples include building an investor slide deck and a custom revenue dashboard. Details beyond the announcement are not available.