-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
bot triaged[Bot] This issue is triaged by ADK bot[Bot] This issue is triaged by ADK botcore[Component] This issue is related to the core interface and implementation[Component] This issue is related to the core interface and implementation
Description
Describe the bug
I have two scripts 'web_greeter.py' and 'tester.py'. In 'web_greeter.py', I have a remote Agent which is created using CrewAI. Then in 'tester.py', I have used 'RemoteA2AAgent' from google adk. Here by this, the request is being sent to the CrewAIAgent and the response is getting displayed in the CrewAIAgent terminal. But later getting the below error in the second script.
A2A request failed: 7 validation errors for SendMessageResponse
JSONRPCErrorResponse.error
Field required [type=missing, input_value={'jsonrpc': '2.0', 'resul...47e8-8cf7-3569f854dbdc'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
SendMessageSuccessResponse.result.Task.contextId
Field required [type=missing, input_value={'Task': {'id': '5284b570...ext'}]}, 'snapshot': {}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
SendMessageSuccessResponse.result.Task.id
Field required [type=missing, input_value={'Task': {'id': '5284b570...ext'}]}, 'snapshot': {}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
SendMessageSuccessResponse.result.Task.status
Field required [type=missing, input_value={'Task': {'id': '5284b570...ext'}]}, 'snapshot': {}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
SendMessageSuccessResponse.result.Message.messageId
Field required [type=missing, input_value={'Task': {'id': '5284b570...ext'}]}, 'snapshot': {}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
SendMessageSuccessResponse.result.Message.parts
Field required [type=missing, input_value={'Task': {'id': '5284b570...ext'}]}, 'snapshot': {}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
SendMessageSuccessResponse.result.Message.role
Field required [type=missing, input_value={'Task': {'id': '5284b570...ext'}]}, 'snapshot': {}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
To Reproduce
Steps to reproduce the behavior:
- In Terminal1, run 'python web_greeter.py'
- In Termina2, run 'python tester.py'
Code:
In Terminal1, I get the result

But in Terminal2, I get the error

Desktop (please complete the following information):
- Python version(python -V): 3.12.11
- ADK version(pip show google-adk): 1.13.0
Expected Doubt
Can 'RemoteA2AAgent' be used to call a other framework agents? Or is it specific to GoogleADK models alone?
Metadata
Metadata
Assignees
Labels
bot triaged[Bot] This issue is triaged by ADK bot[Bot] This issue is triaged by ADK botcore[Component] This issue is related to the core interface and implementation[Component] This issue is related to the core interface and implementation