Available on crate features
a2a-v1 and server only.Expand description
A2A v1.0.0 request handler — shared dispatch layer.
The RequestHandler maps operation names to executor/store calls and is
used by both the JSON-RPC and REST transport handlers. It owns references
to the V1Executor, TaskStore, PushNotificationSender, and
CachedAgentCard.
When a RunnerConfig is provided, message_send and message_stream
invoke the agent through the ADK Runner for real LLM generation. Without
a runner config, they fall back to stub behavior (state transitions only).
Operations run on behalf of a caller (RequestHandler::for_caller). An
authenticated caller owns the session and every task it creates; tasks owned
by anyone else are reported as not found.
Structs§
- Caller
Scope - A
RequestHandleracting on behalf of one caller. - Request
Handler - Shared dispatch layer for A2A v1.0.0 operations.