LLMAgentA2AExecutor wraps an LLMAgent as a remote A2A agent. It implements the A2A AgentExecutor role, delegating incoming task execution to the wrapped agent while using A2A utilities to update task state. section 10.3.1
Its execution flow handles each incoming task through these steps:
- Use the current A2A task from RequestContext, or create one from the user message and submit it through the event queue. section 10.3.1
- Publish task-submitted and task-started status updates through TaskUpdater, then delegate execution to the wrapped LLMAgent. section 10.3.1
- On success, attach an Artifact to the task; on failure, return an error Message. Update the task status in either case. section 10.3.1
The executor keeps active TaskHandler objects in _task_handlers so it can track concurrent tasks and cancel a specific task when requested by a client. This integration does not support server-side streaming, input-required workflows, or sharing prior task context through context_id. section 10.3.1 section 10.4.2
Figure 10.12 The sequence of interactions between an A2A server and an A2A AgentExecutor with a TaskUpdater for performing tasks

Follow the server, executor, and TaskUpdater interactions across task submission, execution, and completion. section 10.3.1
