a2a.utils.constants module

Constants for well-known URIs used throughout the A2A Python SDK.

a2a.utils.constants.A2A_JSON_MEDIA_TYPE = 'application/a2a+json'

Media type for HTTP+JSON binding payloads.

a2a.utils.constants.DEFAULT_LIST_TASKS_PAGE_SIZE = 50

Default page size for the tasks/list method.

a2a.utils.constants.MAX_LIST_TASKS_PAGE_SIZE = 100

Maximum page size for the tasks/list method.

class a2a.utils.constants.TransportProtocol(*values)

Bases: str, Enum

Transport protocol string constants.

GRPC = 'GRPC'
HTTP_JSON = 'HTTP+JSON'
JSONRPC = 'JSONRPC'