Technology

GitHub unties Copilot from the editor window

GitHub built the Agent Host Protocol so Copilot sessions survive closed windows and resume across devices.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

2 min read

Developer resuming AI agent session across laptop and phone
Credit: Github Blog

GitHub built the Agent Host Protocol to keep Copilot agent sessions alive across editors, phones and cloud.

The detail that explains the rebuild is that VS Code extensions die with the window, so closing it killed the agent according to GitHub.

Copilot Chat had grown to more than 400,000 lines of TypeScript over three years tied to the VS Code extension API and window lifecycle, so GitHub says the team moved the harness into a standalone agent host built on the Copilot SDK.

AHP speaks in URI-identified channels, with root, session and chat required and extras like terminal, MCP additions or OTel reporting optional.

The server owns a reducer-based state object and clients send queued actions that mutate state or trigger side effects like sending a chat message, which makes reconnect and replay simple.

Microsoft's agent-host-protocol repo describes AHP as synchronized multi-client state for AI agent sessions served by a portable standalone sessions server.

VS Code runs its TypeScript host locally and ships it in the Server bundle for SSH, containers, WSL and Dev Tunnels, while GitHub runs a separate Rust host in the cloud for wider infrastructure and security constraints according to GitHub.

You can start a session on your phone and resume it on your laptop without a custom integration, but your client is only as capable as the channels its host implements.

Sources

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsGitHubGitHub CopilotVS CodeAgent Host ProtocolMCPOTelRustTypeScript

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.