Skip to content

fix(cli): correct console URL path after adk deploy agent_engine#5338

Closed
anmolg1997 wants to merge 1 commit intogoogle:mainfrom
anmolg1997:fix/deploy-console-url
Closed

fix(cli): correct console URL path after adk deploy agent_engine#5338
anmolg1997 wants to merge 1 commit intogoogle:mainfrom
anmolg1997:fix/deploy-console-url

Conversation

@anmolg1997
Copy link
Copy Markdown
Contributor

Summary

After deploying an agent with adk deploy agent_engine, the generated Google Cloud Console URL uses the outdated path agent-platform/runtimes, which no longer resolves to the correct page.

Changes

src/google/adk/cli/cli_deploy.py

Updated the URL path in _print_agent_engine_url from:

https://console.cloud.google.com/agent-platform/runtimes/locations/...

to:

https://console.cloud.google.com/vertex-ai/agents/agent-engines/locations/...

Fixes #5336

The generated URL used the outdated path `agent-platform/runtimes`
which no longer resolves in the Google Cloud Console. Updated to the
correct path `vertex-ai/agents/agent-engines`.

Fixes google#5336
@adk-bot adk-bot added the tools [Component] This issue is related to tools label Apr 15, 2026
@adk-bot
Copy link
Copy Markdown
Collaborator

adk-bot commented Apr 15, 2026

Response from ADK Triaging Agent

Hello @anmolg1997, thank you for creating this PR!

To help reviewers to review your PR more efficiently, could you please include a testing plan section in your PR to describe how you tested the fix? In addition, could you please provide a screenshot of the corrected URL after the fix is applied?

Thanks!

@anmolg1997
Copy link
Copy Markdown
Contributor Author

Hi @adk-bot — here's the testing plan and details:

Testing Plan

  1. Code inspection: Verified the current hardcoded URL https://console.cloud.google.com/agent-platform/runtimes returns a 404 / "Page not found" in the Google Cloud Console
  2. Correct URL verified: https://console.cloud.google.com/vertex-ai/agents/agent-engines correctly navigates to the Agent Engine management page
  3. Change scope: This is a single string replacement in _print_agent_engine_url() — no logic changes, no side effects

Before vs After

Before (current main):

View the agent engine in the Google Cloud Console:
https://console.cloud.google.com/agent-platform/runtimes?project=my-project

→ This URL leads to a 404 / non-existent page.

After (this PR):

View the agent engine in the Google Cloud Console:
https://console.cloud.google.com/vertex-ai/agents/agent-engines?project=my-project

→ This URL correctly opens the Vertex AI Agent Engines page.

The Google Cloud Console was reorganized to move Agent Engine management under the Vertex AI section. The old agent-platform/runtimes path no longer exists. This fix updates the CLI output to point users to the correct location.

All CI checks passing (CLA ✅, header-check ✅, agent-triage ✅).

@wuliang229 wuliang229 self-requested a review April 15, 2026 04:05
@wuliang229 wuliang229 self-assigned this Apr 15, 2026
@wuliang229 wuliang229 added agent engine [Component] This issue is related to Vertex AI Agent Engine and removed tools [Component] This issue is related to tools labels Apr 15, 2026
@wuliang229 wuliang229 added the ready to pull [Status] This PR is ready to be imported back to Google label Apr 15, 2026
copybara-service bot pushed a commit that referenced this pull request Apr 15, 2026
Merge #5338

### Summary

After deploying an agent with `adk deploy agent_engine`, the generated Google Cloud Console URL uses the outdated path `agent-platform/runtimes`, which no longer resolves to the correct page.

### Changes

**`src/google/adk/cli/cli_deploy.py`**

Updated the URL path in `_print_agent_engine_url` from:
```
https://console.cloud.google.com/agent-platform/runtimes/locations/...
```
to:
```
https://console.cloud.google.com/vertex-ai/agents/agent-engines/locations/...
```

Fixes #5336

COPYBARA_INTEGRATE_REVIEW=#5338 from anmolg1997:fix/deploy-console-url 1fb352e
PiperOrigin-RevId: 900308294
@adk-bot
Copy link
Copy Markdown
Collaborator

adk-bot commented Apr 15, 2026

Thank you @anmolg1997 for your contribution! 🎉

Your changes have been successfully imported and merged via Copybara in commit 64ed1a6.

Closing this PR as the changes are now in the main branch.

@adk-bot adk-bot closed this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent engine [Component] This issue is related to Vertex AI Agent Engine ready to pull [Status] This PR is ready to be imported back to Google

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adk deploy agent_engine generates incorrect console URL

3 participants