Skip to main content

Crate acp_utils

Crate acp_utils 

Source
Expand description

§aether-acp-utils

Utilities for the Agent Client Protocol (ACP), handling notifications, elicitation, and protocol extensions between agents and their host UIs.

§Table of Contents

§Key Types

  • elicitation – Typed conversion between MCP elicitation and native ACP elicitation/create messages
  • SessionUsageParams – Token usage tracking notifications
  • McpNotification / McpRequest – MCP message tunneling over ACP
  • TokioAcpAgent – Tokio-native ACP transport
  • AcpClientHandle – Initialized, cloneable client for typed ACP v2 requests
  • AcpEvent – Ordered notifications, including replay updates sent before the resume response

§Feature Flags

FeatureDescriptionDefault
clientACP client (for UIs connecting to agents)yes
agentTokio-native agent subprocess and Unix stdio transportsno
websocketMessage-oriented WebSocket transportno
testingPublic in-memory ACP test peers and transport helpers (enables client)no

§WebSocket transport

Enable the websocket feature to use websocket::WebSocketTransport<S> with an already-established WebSocket connection.

§License

MIT

Modules§

agent
client
config_meta
config_option_id
content
elicitation
meta
notifications
Typed wire-format types for Aether’s custom ACP extension requests and notifications.
testing
Duplex-backed test harness for ACP connections.
websocket