GitHub makes Agent Host Protocol available for cross-device agent sessions

  • GitHub developer libraries
  • Agent Host Protocol
  • GitHub
  • Session continuity

GitHub has made the open Agent Host Protocol (AHP) available to let agent sessions continue across editors, apps, phones and cloud environments. Users can start a session in one place and pick it up in another, rather than having the session depend on a single application window.

The protocol addresses the problem of building a separate integration for every client. With AHP, compatible clients can access the same agents, conversation history and session state. The GitHub Blog says this approach supports continuity across VS Code and GitHub products, including sessions running locally in the Copilot app, in cloud sandboxes and in VS Code.

AHP organizes functions into URI-identified channels and uses a reducer-based state object to synchronize changes. The server maintains the authoritative state, while clients send actions that change it or trigger tasks. The design also supports reconnecting after network interruptions and reconciling queued actions.

GitHub has separate implementations for VS Code, written in TypeScript, and GitHub Agent Host, written in Rust. Libraries are available in Rust, TypeScript, Kotlin, Swift, .NET and Go, allowing developers to build compatible clients and servers.