AgentExecutor is an abstract A2A SDK class that accepts requests and executes them. A server calls its execute() method to handle a request and delegate work to an agent. section 10.3 section 10.3.1
An executor’s task flow centers on two required methods:
- Implement execute() to handle the request, create or use an A2A Task, and run the wrapped agent. section 10.3.1
- Use TaskUpdater to publish status updates and the final result as an A2A Artifact. section 10.3.1
- Implement cancel() for in-flight work; many Python examples instead raise an unsupported-operation error. section 10.3.1
Wrapping LLMAgent
LLMAgentA2AExecutor wraps an LLMAgent. Its execution flow submits and starts a task, delegates execution to the agent, and publishes updates and a final result. section 10.3.1
Figure 10.12 The sequence of interactions between an A2A server and an A2A AgentExecutor with a TaskUpdater for performing tasks

Follow the sequence of interactions between the A2A server, executor, and TaskUpdater during task execution. section 10.3.1
