Skip to content

Conversation

@a2a-bot
Copy link
Collaborator

@a2a-bot a2a-bot commented Jan 14, 2026

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @a2a-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request brings a significant update to the A2A protocol specification, focusing on enhancing clarity, consistency, and functionality. It introduces tenant-aware operations across various API calls, renames several fields and methods to improve semantic meaning, and refines field requirements for better data integrity. Key additions include a new task listing capability and an extended agent card retrieval, alongside updated documentation to reflect these changes and align with the latest protocol version.

Highlights

  • API Field Renames and Requirements: Several fields across various message types have been renamed for clarity and consistency (e.g., 'push_notification' to 'push_notification_config', 'mime_type' to 'media_type', 'content' to 'parts', 'update' to 'message'). Additionally, many fields have been explicitly marked as required, ensuring stricter data validation.
  • Introduction of Tenant-Aware Operations: A new 'tenant' field has been added to several request messages (e.g., SendMessageRequest, GetTaskRequest, CancelTaskRequest) and AgentInterface, indicating support for multi-tenancy within the A2A protocol. Corresponding HTTP annotations have been updated to include tenant paths.
  • New Task Listing and Extended Agent Card Functionality: New ListTasksRequest and ListTasksResponse message types have been introduced, along with a ListTasks gRPC method, enabling retrieval of tasks with filtering and pagination. The GetAgentCard method has been renamed to GetExtendedAgentCard, suggesting an enhanced agent card retrieval mechanism.
  • Updated Task Push Notification and Subscription Mechanisms: The CreateTaskPushNotificationConfig method has been renamed to SetTaskPushNotificationConfig, and TaskSubscriptionRequest to SubscribeToTaskRequest, reflecting a more precise naming convention for these operations. Documentation for SubscribeToTask now clarifies behavior for tasks in terminal states.
  • Refined Documentation and Specification Versioning: Documentation for various identifier fields (e.g., id, context_id, task_id, artifact_id) has been updated to remove redundant examples like '(e.g. UUID)' and to use 'identifier' for consistency. The datamodel-codegen reference has been updated to v0.3.0 of the A2A specification.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates generated code to align with version 0.3.0 of the A2A specification. This update introduces significant breaking changes, including renamed RPC methods and message fields, and adds new features. While the generated files themselves appear correct, the PR is critically incomplete because it does not update the client, server, and test code that consumes this generated code. This will cause the build to fail. To proceed, the PR must be updated to include all necessary changes in the dependent files to ensure they are compatible with the new specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants