Skip to content

[Question] Why is the method of A2A-python-sdk inconsistent with that of A2A protocol? #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zhangmianhongni opened this issue May 16, 2025 · 4 comments
Assignees

Comments

@zhangmianhongni
Copy link

In the A2A protocol, the A2A client implements the on_send_task method, and the corresponding request path is task/send.

There is a conflict between python-sdk and A2A protocol, I would like to ask, which should be used as the standard? Is it because the SDK is still under development, or will the protocol be modified to message/send?

However, in the current A2A-python project, the A2A client implements the on_send_message method, and the corresponding request path is message/send.

Image

Image

@zhangmianhongni zhangmianhongni changed the title [Question] [Question] Why is the method of A2A-python-sdk inconsistent with that of A2A protocol? May 16, 2025
@Abiorh001
Copy link

i also asked same question in the main A2A repo i feel like its should be on_send_task not on_send_message because any message thats send my host agent to remote agent is classified as a task

@graphnj
Copy link

graphnj commented May 16, 2025

Same question.
I check/review specification/json/a2a.json it's still "tasks/send" and "tasks/sendSubscribe"

@holtskinner
Copy link
Collaborator

The protocol has been updated, and the SDK hasn't included this change yet. @kthota-g for context

@kthota-g
Copy link
Collaborator

Hi,
The SDK is implementing the upcoming version of the protocol and so the changes.

Updates to the protocol are being merged into next branch here - https://github.com/google/A2A/tree/next. This is still wip and there are a few outstanding PRs currently.

Here is the PR that describes the method name changes - google/A2A@b970815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants