A synchronized, multi-client state protocol for AI agent sessions.
The Agent Host Protocol (AHP) defines how a portable, standalone sessions server communicates with its clients. Multiple clients can connect to the server and see a synchronized view of AI agent sessions through immutable state, pure reducers, and write-ahead reconciliation.
- Swift — Add
https://github.com/microsoft/agent-host-protocolas a Swift Package Manager dependency to use theAgentHostProtocollibrary. Seeclients/swift/for an example iOS client. ThePackage.swiftmanifest lives at the repository root because SwiftPM only resolves manifests at the root of a remote git repo; the actual Swift sources live underclients/swift/AgentHostProtocol/. - Rust — See
clients/rust/for theahp,ahp-types, andahp-wscrates.
# Install dependencies
npm install
# Start local dev server
npm run docs:dev
# Build for production
npm run docs:build
# Preview production build
npm run docs:previewMIT