agent2agentSourceA2AClient

class Client

Async-HTTP based A2A protocol client.

Discovers agent cards and invokes operations via JSON-RPC:

Async do client = A2A::Client.new("http://localhost:9292") card = client.agent_card result = client.send_message(message: ... ) task = client.get_task(id: "task-123") end

Nested

Definitions

def agent_card

GET /.well-known/agent-card.json

Implementation

def agent_card
  get("/.well-known/agent-card.json")
end