You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bedrock AgentCore >=1.6.3 + A2A v1.0 is throwing error No module named 'a2a.server.apps' #438
Describe the bug
The A2A protocol hit v1.0.0 recently (March 2026) and introduced breaking changes into the API but it seems bedrock-agentcore still leverages a2a-sdk 0.3.0 API calls.
When starting the a2a server leveraging the bedrock_agentcore.runtime.a2a serve_a2a function got this error - "An error occurred during server startup: No module named 'a2a.server.apps' " This is due to API incompatibility with new a2a-sdk v 1.0.0
To Reproduce
Create a sample A2A app leveraging bedrock-agentcore python sdk > 1.6.3 and a2a-sdk > 1.0.0 you would get the error descrobed above
Expected behavior
A2A server should start gradefully without any issue on port 9000
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
I don't know if this is related, but i suspect it is - when i created a new vanilla a2a agent and run it from main.py I get a similar but different error: ImportError: cannot import name 'DataPart' from 'a2a.types'
Thanks for the report. The integration in runtime/a2a.py targets the a2a-sdk 0.3.x server API, and a2a-sdk 1.0 removed a2a.server.apps (along with A2AStarletteApplication and CallContextBuilder), which is the No module named 'a2a.server.apps' error.
We currently only support a2a-sdk v0.3.x. Therefore, you can either pin a2a-sdk>=0.3,<1.0 on your python project, or wait till this PR #510 to merge.
For v1.x support, please follow #509 to track migrating the integration to the new a2a-sdk server API.
Activity
christianfroehlich commentedon Apr 28, 2026
I don't know if this is related, but i suspect it is - when i created a new vanilla a2a agent and run it from main.py I get a similar but different error:
ImportError: cannot import name 'DataPart' from 'a2a.types'jariy17 commentedon Jun 8, 2026
Thanks for the report. The integration in
runtime/a2a.pytargets the a2a-sdk 0.3.x server API, and a2a-sdk 1.0 removeda2a.server.apps(along withA2AStarletteApplicationandCallContextBuilder), which is theNo module named 'a2a.server.apps'error.We currently only support a2a-sdk v0.3.x. Therefore, you can either pin
a2a-sdk>=0.3,<1.0on your python project, or wait till this PR #510 to merge.For v1.x support, please follow #509 to track migrating the integration to the new a2a-sdk server API.
fix(a2a): cap a2a-sdk below 1.0 to restore A2A server startup (aws#510)