Skip to content

GitHub's Agent Host Protocol lets coding sessions follow you anywhere

An open standard built first for VS Code now syncs agent sessions across the Copilot app, mobile clients and cloud sandboxes, with client libraries in six languages.

Source: GitHub

GitHub has published the Agent Host Protocol (AHP), an open standard for keeping a coding-agent session in sync across whatever client you happen to be using. Sessions are built around URI-identified channels with reducer-based state, so any compliant client sees the same agent, history and state instead of every app rolling its own integration.

GitHub built AHP first inside VS Code, where the agent host now runs to around 369,000 lines of TypeScript, down from roughly 415,000 lines in the original Copilot Chat extension. It also ported the protocol to a roughly 305,000-line Rust implementation that backs the GitHub Copilot app, the iOS and Android apps, and cloud sandboxes. Client libraries ship for Rust, TypeScript, Kotlin, Swift, .NET and Go, and the post points to people already wiring up smartwatch apps, Kanban boards and even macropads as agent clients.

Why it matters: if you’re building anything that talks to a coding agent, from a custom editor integration to a status-bar widget, a shared protocol means one client works with any AHP host rather than a bespoke integration per app. It’s also how GitHub intends you to start a session on your phone and pick it up on your laptop without losing state.

The caveat: Agent Skills moved to the Linux Foundation for independent governance last month. The post doesn’t say AHP is headed the same way, so for now it’s a GitHub-controlled standard.

Share

Related reading

More from The Wire

All briefs