A2A Communication Layer

  • Transport: HTTP(S) + JSON-RPC 2.0, gRPC for streaming.

  • Agent Discovery: /.well-known/agent.json declares capabilities (e.g., sentiment_analysis:v1).

  • Task Lifecycle:

    • submittedworkingcompleted (or failed).

  • Authentication: OAuth tokens in HTTP headers.

Example Agent Card (/.well-known/agent.json):

{
  "name": "MemeCoinExpert",
  "endpoint": "https://api.a2a-web3.io/meme",
  "capabilities": ["sentiment_analysis:v1", "rug_pull_detection:v2"],
  "auth": {
    "type": "OAuth2.0",
    "scopes": ["read:analysis", "write:report"]
  }
}

Last updated