GitHub and VS Code adopt Agent Host Protocol for cross-device session continuity

·2026.11.18 03:20

Key point

The Agent Host Protocol (AHP), an open standard built in VS Code and adopted by GitHub, allows agents to run for hours or days with state preserved across different clients and devices.

1 / 3

Details

  • Agent Host Protocol (AHP) is an open standard that decouples agent sessions from specific applications, allowing work to continue across VS Code, the GitHub Copilot app, mobile devices, and custom clients.
  • The protocol uses URI-identified channels and a reducer-based state object to manage agent interactions, ensuring that reconnections, network interruptions, and concurrent client mutations are handled reliably.
  • The protocol is supported by two distinct host implementations: VS Code’s host written in TypeScript and GitHub’s cloud-based host written in Rust, demonstrating the protocol’s portability across different infrastructure and security constraints.
  • Libraries are available in Rust, TypeScript, Kotlin, Swift, .NET, and Go, enabling developers to build custom clients, such as smart watch apps or Kanban tools, and connect them to agent hosts via the Copilot app or VS Code.
  • The protocol focuses on interaction mechanics rather than agent behavior, allowing it to remain stable while the underlying agent capabilities evolve rapidly.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.