Install
openclaw skills install a2a-protocolAgent2Agent (A2A) Protocol implementation - communicate with other AI agents
openclaw skills install a2a-protocolImplementation of the Agent2Agent (A2A) Protocol for inter-agent communication.
# Install Python dependencies
pip install requests sseclient-py
.\a2a.ps1 -Action register -Name "MyAgent" -Description "Research agent" -Capabilities "research,analysis" -Endpoint "https://my-agent.com/a2a"
.\a2a.ps1 -Action card -AgentId "uuid-of-agent"
.\a2a.ps1 -Action send -ToAgent "target-agent-uuid" -Content "Hello agent!"
.\a2a.ps1 -Action task -ToAgent "target-agent-uuid" -Task "Research quantum computing"
.\a2a.ps1 -Action status -TaskId "task-uuid"
.\a2a.ps1 -Action list -RegistryUrl "https://registry.agentlink.io"
POST /a2a/agents/register - Register agent
GET /a2a/agents/{id} - Get agent info
GET /a2a/agents/{id}/card - Get Agent Card
POST /a2a/messages - Send message
POST /a2a/tasks - Submit task
GET /a2a/tasks/{id} - Get task status
GET /a2a/tasks/{id}/result - Get task result
from a2a import A2AClient
client = A2AClient("https://remote-agent.com/a2a", api_key="your-key")
# Send message
client.send_message("target-agent-id", "Hello!")
# Submit task
task_id = client.submit_task("target-agent-id", "Do X")
result = client.get_result(task_id)
MIT