Skip to content

fix(agentregistry): add a2a-sdk[http-server] to deploy_agent_runtime requirements - #15014

Merged
fatoboist merged 1 commit into
mainfrom
fix/agentregistry-deploy-a2a-sdk
Dec 1, 2026
Merged

fatoboist merged 1 commit into
mainfrom
fix/agentregistry-deploy-a2a-sdk

Conversation

@fatoboist

Copy link
Copy Markdown
Contributor

Description

Fixes deploy_agent_runtime.py so the deployed A2A Reasoning Engine container starts cleanly on Vertex AI Agent Engine.

When testing deploy_agent_runtime_test.py live, 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 requirements to ["google-cloud-aiplatform[agent_engines]", "a2a-sdk[http-server]"] resolves both errors.

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended. (pytest -v agentregistry/adk/deploy_agent_runtime_test.py passed in 179.37s against test-project-beth in us-central1.)

Compliance & Style


Post-Approval Actions

  • Please merge this PR for me once it is approved

@fatoboist
fatoboist requested review from a team as code owners December 1, 2026 20:30
@product-auto-label product-auto-label Bot added api: agentregistry Issues related to the Agent Registry API. samples Issues that are directly related to samples. labels Dec 1, 2026

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

Copy link
Copy Markdown
Contributor

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 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 evelyn-goo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Huge thanks for logging the live test results in the doc!

@fatoboist
fatoboist merged commit 8e20a04 into main Dec 1, 2026
14 of 19 checks passed
@fatoboist
fatoboist deleted the fix/agentregistry-deploy-a2a-sdk branch December 1, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: agentregistry Issues related to the Agent Registry API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants