Skip to main content

Module model

Module model 

Source
Expand description

A2A protocol 1.0, JSON-RPC binding: the wire shapes (protobuf-JSON, camelCase) both roles build and check. Pinned to the released 1.0 specification as implemented by a2a-sdk 1.2.1.

Structs§

Incoming
A message sent to the agent, checked.

Constants§

CARD_PATH
CONTENT_TYPE_NOT_SUPPORTED
EXTENDED_CARD_NOT_CONFIGURED
INVALID_AGENT_RESPONSE
MAX_BODY_BYTES
MAX_PARTS
MAX_TEXT_BYTES
PROTOCOL_VERSION
PUSH_NOT_SUPPORTED
STATES
TASK_NOT_CANCELABLE
TASK_NOT_FOUND
UNSUPPORTED_OPERATION
VERSION_HEADER
VERSION_NOT_SUPPORTED

Functions§

agent_message
budget_ok
card
Agent card built from configuration.
card_rpc_url
Client-side: the JSON-RPC interface a card offers for protocol 1.0.
check_result
Client-side check of a result for method.
incoming_message
new_id
parts_from
Parts a handler supplies: text, data or file references (never inline bytes).
rpc_error
rpc_result
sse
One SSE event carrying a JSON-RPC response.
state_short
state_wire
stream_events
The SSE sequence for a streamed task: snapshot, working, artifacts, final status.
task
A task from a handler’s {id, state, text, artifacts} description.
terminal
timestamp
version_ok
A2A-Version must name 1.0 (patch ignored); missing means 0.3, which is refused.