microsoft/agent-host-protocol spec/v0.5.0
microsoft/agent-host-protocol
Captured source
source ↗AHP Spec v0.5.0
Repository: microsoft/agent-host-protocol
Tag: spec/v0.5.0
Published: 2026-06-26T23:22:30Z
Prerelease: no
Release notes:
[0.5.0] — 2026-06-26
Spec version: 0.5.0
Added
chat/activityChangedaction for updating a chat's current activity
description independently of the session summary.
root/progress(ProgressParams) generic host→client progress notification,
correlated by a progressToken the client supplies on the originating request (today createSession.progressToken) rather than a domain object. Lets the host report long-running work — e.g. the lazy first-use download of an agent's native SDK — so clients can show an indicator instead of a silent multi-second hang. Carries monotonic progress and optional total; complete when progress === total.
createSession.progressTokenoptional opt-in token for receivingroot/progress
notifications about a session's bring-up.
SessionModelInfo.maxOutputTokensandSessionModelInfo.maxPromptTokens
optional fields for communicating model token limits.
SessionSummary._metaoptional provider metadata field for lightweight
session-list presentation hints.
JsonPrimitivetype alias (string | number | boolean | null) intypes/common/state.ts.session/activeClientRemovedaction to release a single active client from a
session by clientId.
Changed
ConfigPropertySchema.enumnow acceptsJsonPrimitive[]instead ofstring[], allowing numeric, boolean, and null enum values.ModelSelection.configvalues are nowJsonPrimitive(string | number | boolean | null) instead ofstring, allowing numeric, boolean, and null configuration values.SessionState.activeClients(a required array, keyed byclientId) replaces
the single optional SessionState.activeClient. A session may now have multiple concurrent active clients.
session/activeClientChangedis renamed tosession/activeClientSetwith
upsert-by-clientId semantics. It no longer accepts null to unset the active client — dispatch session/activeClientRemoved instead.
Removed
session/activeClientToolsChanged. An active client now updates its published
tools by re-dispatching session/activeClientSet with its full, updated entry.
Fixed
- Corrected the
ACTION_INTRODUCED_INentries forannotations/set,
annotations/removed, annotations/entrySet, and annotations/entryRemoved from 0.3.0 to 0.4.0. The annotations channel first shipped in the 0.4.0 spec release (it is absent from spec/v0.3.0), so version negotiation must not advertise it to peers speaking 0.3.0.
Notability
notability 5.0/10Protocol spec release from Microsoft, moderate impact.