Agent Host Protocol
Skip to content
Appearance
Agent Host ProtocolSynchronized multi-client state for AI agent sessions<br>A portable, standalone server protocol that gives multiple clients a synchronized view of AI agent sessions through immutable state, pure reducers, and write-ahead reconciliation. This protocol is under active development and is not yet stabilized.<br>Get Started<br>View Specification<br>GitHub
📡<br>Channels All the Way Down<br>Every push-style interaction lives on a URI-identified channel — root, sessions, terminals, changesets, and more. Every command and notification carries a top-level channel URI, so any message can be routed by inspecting (method, channel).
🔄<br>Synchronized Multi-Client State<br>An immutable, Redux-like state tree per state-bearing channel, mutated exclusively by actions flowing through pure reducers. Multiple clients see the same synchronized view.
📦<br>Lazy Loading & Subscriptions<br>Clients subscribe to channels by URI and load data on demand. Large content is stored by reference and fetched separately, keeping the state tree small.
Write-Ahead Reconciliation<br>Clients optimistically apply their own actions locally, then reconcile when the server echoes them back alongside concurrent actions from other clients.
🔀<br>Forward-Compatible Versioning<br>A single protocol version number maps to a capabilities object. Newer clients check capabilities before using features, enabling graceful degradation.