Repository navigation
fix(agentregistry): add a2a-sdk[http-server] to deploy_agent_runtime requirements - #15014
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the deployment configuration in deploy_agent_runtime.py by splitting the combined google-cloud-aiplatform[agent_engines,a2a] package requirement into two separate dependencies: google-cloud-aiplatform[agent_engines] and a2a-sdk[http-server]. There are no review comments to address, and I have no feedback to provide.
evelyn-goo
approved these changes
Dec 1, 2026
evelyn-goo
left a comment
There was a problem hiding this comment.
Huge thanks for logging the live test results in the doc!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes
deploy_agent_runtime.pyso the deployed A2A Reasoning Engine container starts cleanly on Vertex AI Agent Engine.When testing
deploy_agent_runtime_test.pylive,google-cloud-aiplatform[agent_engines,a2a]failed in the Reasoning Engine container with:UserCodeControlPlaneError: Control plane operation failed due to user code: No module named 'a2a'ImportError: Packages starlette and sse-starlette are required to use the RestDispatcher. They can be added as a part of a2a-sdk optional dependencies, a2a-sdk[http-server].Updating
requirementsto["google-cloud-aiplatform[agent_engines]", "a2a-sdk[http-server]"]resolves both errors.Checklist
Testing
pytest -v agentregistry/adk/deploy_agent_runtime_test.pypassed in 179.37s againsttest-project-bethinus-central1.)Compliance & Style
Post-Approval Actions