Tools #Coding agents#AI agents Nov 18, 2026 · Originally published Nov 17

GitHub opens up the Agent Host Protocol: agent sessions continue across VS Code, the Copilot app and phones, with libraries in six languages

Close the window or switch devices and the agent keeps running, with any client able to attach to the same session. How the protocol is designed and how to connect to it, for teams building agent front ends or bringing agents into their own tools.

Image: The GitHub Blog
Primary source The GitHub Blog · github.blog Read the original ↗

// Key points

  • The Agent Host Protocol (AHP) is an open standard built first in VS Code and adopted across GitHub, letting an agent session start in one place and continue in another instead of ending when an editor window closes.
  • It is organized around URI-identified channels: every server must implement the root, session and chat channels and can add others such as terminal, MCP or OTel. Each channel holds reducer-based state; the server arbitrates and clients send actions, which makes reconnection and replay straightforward.
  • Libraries exist in Rust, TypeScript, Kotlin, Swift, .NET and Go; you can connect your own agent host in the Copilot app (Experimental > Direct Connections) and VS Code, and run code agent host to spawn a standalone VS Code agent host.

Builder's takeOur background agents keep their state scattered across logs and the database; this design, where the server owns the state and clients only send actions, is worth copying outright. Even without plugging into Copilot, I would restructure PandaClaws' publishing agent's session state as reducer-style state so a phone or board view is easy later. Read with the 11-13 always-on agent architecture item: agents are turning from one request into a long-lived session that clients attach to.

// Background · from #Coding agents

Full timeline →
  1. Nov 18 OpenAI releases GPT-6.2 Astra and GPT-6.2 Sol, with better professional outputs, coding, computer use and efficiency at lower cost
  2. Nov 18 Microsoft Ignite: MAI Code 2 and Code 2 Flash coding models, MAI Licensed Weights for trusted customers, and over 50 million agents in Agent 365
  3. Nov 18 Copilot code review adds Adaptive, which picks review effort per pull request by complexity and risk, and can flag exposed secrets during review

Every Monday, the week in AI in one email

Every Monday morning: the 6 AI stories that mattered most in the past seven days, with my take, in your inbox.

Your email is only used to send the weekly and is never shared. Every email has a one-click unsubscribe link. See the latest issue →