Skip to content

A2A Protocol API

Direct communication between OpenSIN agents.

Overview

The A2A (Agent-to-Agent) protocol enables agents to communicate directly without going through a central coordinator.

Endpoints

Get Agent Card

http
GET /v1/a2a/{agent_url}/card

Response:

json
{
  "name": "researcher",
  "version": "1.0.0",
  "capabilities": ["web_search", "summarization"],
  "protocols": ["a2a"],
  "endpoints": {
    "a2a": "https://api.opensin.ai/v1/a2a/researcher"
  }
}

Send A2A Message

http
POST /v1/a2a/message

Request:

json
{
  "version": "1.0.0",
  "type": "request",
  "from_agent": "writer",
  "to_agent": "researcher",
  "content": "Research AI trends for 2026",
  "priority": "high"
}

Message Types

TypeDescription
requestRequest information or action
responseResponse to a request
notificationOne-way notification
errorError message

Next Steps

Released under the Apache 2.0 License.