Skip to content

client

diapason.a2a.client

A2A client — discover and call external A2A agents.

A2AClient

Client for calling external A2A-compatible agents.

Discovers agent capabilities via /.well-known/agent.json and sends tasks via /a2a/tasks.

cancel_task(task_id)

Cancel a running task.

discover()

Fetch the agent card from /.well-known/agent.json.

get_task(task_id)

Get the status of a previously submitted task.

send_task(input_text, **kwargs)

Send a task to the remote agent and return the result.