Skip to content

Implementations

These projects implement or consume the Agent Host Protocol.

Clients

  • Swift — Add https://github.com/microsoft/agent-host-protocol as a Swift Package Manager dependency to use the AgentHostProtocol library. 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/.
  • Rust — See the Rust client crates for the ahp, ahp-types, and ahp-ws crates.
  • TypeScriptnpm install @microsoft/agent-host-protocol for the wire types, reducers, AhpClient, and WebSocketTransport. See the TypeScript client. Browser-friendly; works in any environment that exposes the global WebSocket.
  • 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.