protocol
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| Agent aclientp.agent.protocol Base agent interface for ACP. |
🛈 DocStrings¶
Agent protocol.
Agent
¶
Bases: Protocol
Base agent interface for ACP.
Methods with a default body are optional and gated by a capability the agent
advertises. Their defaults reject the call with method not found.
Source code in src/aclientp/agent/protocol.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | |
archive_session
async
¶
archive_session(params: ArchiveSessionRequest) -> ArchiveSessionResponse
auth_status
async
¶
auth_status(params: AuthStatusRequest) -> AuthStatusResponse
disable_provider
async
¶
disable_provider(params: DisableProviderRequest) -> DisableProviderResponse
list_providers
async
¶
list_providers(params: ListProvidersRequest) -> ListProvidersResponse
mcp_message
async
¶
mcp_message(params: MessageMcpRequest) -> MessageMcpResponse
UNSTABLE: Inner MCP request to an acp MCP server the agent declared.
mcp_notification
async
¶
mcp_notification(params: MessageMcpNotification) -> None
UNSTABLE: Inner MCP notification for an acp MCP server the agent declared.
session_options
async
¶
session_options(params: SessionOptionsRequest) -> SessionOptionsResponse
session_status
async
¶
session_status(params: SessionStatusRequest) -> SessionStatusResponse
set_provider
async
¶
set_provider(params: SetProviderRequest) -> SetProviderResponse
set_session_title
async
¶
set_session_title(params: SetSessionTitleRequest) -> SetSessionTitleResponse
unarchive_session
async
¶
unarchive_session(params: UnarchiveSessionRequest) -> UnarchiveSessionResponse