Skip to content

Implementations

These projects implement or consume the Agent Host Protocol.

Clients

The five clients shipped from this repository are released to the package registry idiomatic for each ecosystem. See Clients for install snippets and per-language entry points.

  • Rust — three crates on crates.io (ahp-types, ahp, ahp-ws). See the Rust client crates.
  • TypeScriptnpm install @microsoft/agent-host-protocol for wire types, reducers, AhpClient, MultiHostClient, and WebSocketTransport. See the TypeScript client. Browser-friendly; works in any environment that exposes the global WebSocket.
  • Kotlin / JVMcom.microsoft.agenthostprotocol:agent-host-protocol on Maven Central. Pure Kotlin/JVM (Java 8 bytecode) so it works unchanged on Android, server-side JVM, and KMP/JVM targets. See the Kotlin client.
  • Swift — add https://github.com/microsoft/agent-host-protocol as a Swift Package Manager dependency for the AgentHostProtocol and AgentHostProtocolClient libraries. See the Swift client for an example iOS client. The Package.swift manifest lives at the repository root because SwiftPM only resolves manifests at the root of a remote git repo; the actual Swift sources live under clients/swift/AgentHostProtocol/.
  • Gogo get github.com/microsoft/agent-host-protocol/clients/go@latest for the ahptypes, ahp, and ahpws packages, mirroring the Rust three-crate split. See the Go client.
  • AHPX — A command-line and Node.js client for connecting to AHP servers, managing sessions, and sending prompts.
  • VS Code — VS Code includes Agent Sessions client code for working with AHP hosts.

Servers

Released under the MIT License.