Skip to main content

Module executor

Module executor 

Source
Expand description

Agent executor trait.

AgentExecutor is the primary extension point for implementing A2A agent logic. The server framework calls execute for every incoming message/send or message/stream request and cancel for tasks/cancel.

Constants§

HAND_OFF_METADATA_KEY
The status-message metadata key that marks a turn a shutdown handed back to its caller (AgentExecutor::resumes_after_hand_off, ADR 0054). Its value is true.
HAND_OFF_WINDOW
How long a handed-off task waits for its caller (ADR 0054).

Traits§

AgentExecutor
Trait for implementing A2A agent execution logic.