---
title: "Agent Host Protocol"
canonical: "https://canmyagentuse.com/specs/ahp"
contentKind: "specification"
locale: "en"
description: "Preview protocol for hosting, sharing, subscribing to, and resuming persistent agent sessions."
llmSummary: "AHP is a preview session host protocol in the VS Code ecosystem. Current claims require precise version and preview qualifiers."
publishedAt: "2026-08-28T00:00:00.000Z"
updatedAt: "2026-08-28T00:00:00.000Z"
verifiedAt: null
tags: ["ahp","sessions","host","protocol"]
---

# Agent Host Protocol

AHP is a preview session host protocol in the VS Code ecosystem. Current claims require precise version and preview qualifiers.

- HTML: https://canmyagentuse.com/specs/ahp
- JSON: https://canmyagentuse.com/api/v1/specs/ahp.json
- Markdown: https://canmyagentuse.com/specs/ahp.md

AHP addresses durable agent sessions and client access to those sessions. It is distinct from ACP’s editor-to-coding-agent boundary and from A2A task exchange.

The research snapshot treats AHP as preview. Compatibility claims should include a precise implementation version and feature flag or preview state until the protocol and host behavior stabilize.

## Revision identity

- Authority: Microsoft
- Revision: 0.5.x
- Maturity: preview
- Structure: Session host and client protocol
- Canonical specification: https://code.visualstudio.com/blogs/2026/08/26/agent-host-architecture
- Roles: session-host, client
