Description
The a2a-python SDK has released v1.0 which implements the A2A 1.0 protocol spec. Our A2A templates (GoogleADK, Strands, LangChain+LangGraph) currently use 0.3-era APIs and are pinned to < 1.0.0 (see #1145).
We need to migrate all three A2A templates to the 1.0 SDK, which includes:
- Updated module paths (e.g.,
a2a.server.agent_execution, a2a.server.events, a2a.server.tasks likely restructured)
- Renamed/restructured types (
AgentCapabilities, AgentCard, AgentSkill, Part, TextPart, etc.)
- Updated
a2a.utils usage (e.g., new_task)
- Compatibility with
bedrock-agentcore[a2a] runtime integration (serve_a2a())
Acceptance Criteria
Additional Context
Description
The a2a-python SDK has released v1.0 which implements the A2A 1.0 protocol spec. Our A2A templates (GoogleADK, Strands, LangChain+LangGraph) currently use 0.3-era APIs and are pinned to
< 1.0.0(see #1145).We need to migrate all three A2A templates to the 1.0 SDK, which includes:
a2a.server.agent_execution,a2a.server.events,a2a.server.taskslikely restructured)AgentCapabilities,AgentCard,AgentSkill,Part,TextPart, etc.)a2a.utilsusage (e.g.,new_task)bedrock-agentcore[a2a]runtime integration (serve_a2a())Acceptance Criteria
googleadk,strands,langchain_langgraph) updated to usea2a-sdk >= 1.0.0APIspyproject.tomlversion constraints updated toa2a-sdk >= 1.0.0(remove< 1.0.0pin)agentcore create --protocol A2Aproduces working projects for all three frameworksagentcore devsuccessfully starts the A2A agent server for each templatebedrock-agentcore[a2a]runtime (serve_a2a()) remains compatible or is updated accordinglyAdditional Context
bedrock-agentcore-sdk-pythonifserve_a2a()depends on 0.3 SDK internals< 1.0.0