Client
Sub classes¶
| Name | Children | Inherits |
|---|---|---|
| DefaultACPClient aclientp.client.implementations.default_client Default implementation of ACP Client interface for basic operations. |
||
| HeadlessACPClient aclientp.client.implementations.headless_client Headless ACP client with real filesystem and terminal operations. |
||
| NoOpClient aclientp.client.implementations.noop_client Minimal client that returns default responses for all operations. |
||
| AgentSideConnection aclientp.agent.connection Agent-side connection. |
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| Protocol typing Base class for protocol classes. |
|
⋔ Inheritance diagram¶
graph TD
95970858218656["protocol.Client"]
95970836711072["typing.Protocol"]
95970835676112["typing.Generic"]
125067848591872["builtins.object"]
95970836711072 --> 95970858218656
95970835676112 --> 95970836711072
125067848591872 --> 95970835676112
🛈 DocStrings¶
Bases: Protocol
Base client interface for ACP.
Methods with a default body are optional and gated by a capability the client
advertises (or by an acp MCP server the client declared).
Source code in src/aclientp/client/protocol.py
auth_status_update
async
¶
auth_status_update(params: AuthStatusUpdateNotification) -> None
mcp_message
async
¶
mcp_message(params: MessageMcpRequest) -> MessageMcpResponse
UNSTABLE: Inner MCP request to an acp MCP server the client declared.
mcp_notification
async
¶
mcp_notification(params: MessageMcpNotification) -> None
UNSTABLE: Inner MCP notification for an acp MCP server the client declared.