Artificial Intelligence1 min read

Building the Agent Host Protocol for sessions that continue across devices

By · Published by Everything Blog

In short

The Agent Host Protocol introduces an independently versioned language that replaces fragmented, custom integrations across various developer tools and mobile applications. By focusing on user interaction rather than internal agent mechanics, the framework remains resilient against rapid shifts in underlying artificial intelligence technology. Architecturally, the protocol relies on URI-identified channels and reducer-based state management, designating the server as the final arbiter of truth. This structure enables client applications to seamlessly queue actions, recover from network dropouts, and bind directly to UI frameworks such as React.

Key points

  • Artificial intelligence sessions can now persist uninterrupted across mobile devices, des…: Artificial intelligence sessions can now persist uninterrupted across mobile devices, desktop code editors, and cloud interfaces.
  • Decoupling user interaction patterns from underlying agent mechanics ensures the protocol…: Decoupling user interaction patterns from underlying agent mechanics ensures the protocol remains flexible as artificial intelligence models evolve.
  • Centralizing authority on the server guarantees consistent state resolution when clients…: Centralizing authority on the server guarantees consistent state resolution when clients reconnect or submit concurrent updates from multiple devices.

Sources checked by our analysis pipeline: 1

Discover how we built the open Agent Host Protocol to keep your agent sessions accessible across editors, apps, phones, and the cloud.

Models are now good enough to work for hours or even days on their own. You don’t have to watch over every thing they do, but you still need to be able to check in, no matter where you are. An agent can’t live only inside one application. The work should continue even If you close a window or switch devices.

In GitHub Copilot you can start an agent session in one place and pick it up in another. This session continuity runs on the Agent Host Protocol (AHP), an open standard built first in VS Code and adopted across GitHub. Here’s how it works, what we learned building it, and how you can use it to bring your agents into your own apps and workflows.

Why one integration per client stopped working

GitHub Copilot was first built in VS Code as an extension that bundled its own harness. This gave you access to your agents in VS…

Artificial Intelligence