A2aAgent

constructor(agentUrl: String, headers: Map<String, String> = emptyMap(), httpClient: A2AHttpClient = AndroidA2AHttpClient())(source)

Parameters

agentUrl

the agent's base URL (its card is read from /.well-known/agent-card.json) or the card's URL.

headers

sent with every request, e.g. Authorization.