Skip to content

Deploy to Vertex AI Agent Engine

部署到 Vertex AI Agent Engine

Supported in ADKPython

Google Cloud Vertex AI Agent Engine is a set of modular services that help developers scale and govern agents in production. The Agent Engine runtime enables you to deploy agents in production with end-to-end managed infrastructure so you can focus on creating intelligent and impactful agents. When you deploy an ADK agent to Agent Engine, your code runs in the Agent Engine runtime environment, which is part of a larger set of agent services provided by the Agent Engine product.

Google Cloud Vertex AI Agent Engine 是一组模块化服务,可帮助开发者在生产环境中扩展和管理智能体。Agent Engine 运行时使您能够在生产环境中部署智能体,并提供端到端托管基础设施,以便您可以专注于创建智能且有影响力的智能体。当您将 ADK 智能体部署到 Agent Engine 时,您的代码在 Agent Engine 运行时环境中运行,这是 Agent Engine 产品提供的更大智能体服务集的一部分。

This guide includes the following deployment paths, which serve different purposes:

本指南包括以下部署路径,用于不同目的:

  • Standard deployment: Follow this standard deployment path if you have an existing Google Cloud project and if you want to carefully manage deploying an ADK agent to Agent Engine runtime. This deployment path uses Cloud Console, the ADK command line interface, and provides step-by-step instructions. This path is recommended for users who are already familiar with configuring Google Cloud projects, and users preparing for production deployments.

    标准部署: 如果您有现有的 Google Cloud 项目,并且想要仔细管理将 ADK 智能体部署到 Agent Engine 运行时,请遵循此标准部署路径。此部署路径使用 Cloud Console、ADK 命令行界面,并提供分步说明。此路径适用于已经熟悉配置 Google Cloud 项目的用户,以及准备进行生产部署的用户。

  • Agent Starter Pack deployment: Follow this accelerated deployment path if you do not have an existing Google Cloud project and are creating a project specifically for development and testing. The Agent Starter Pack (ASP) helps you deploy ADK projects quickly and it configures Google Cloud services that are not strictly necessary for running an ADK agent with Agent Engine runtime.

    Agent Starter Pack 部署: 如果您没有现有的 Google Cloud 项目,并且正在专门为开发和测试创建项目,请遵循此加速部署路径。Agent Starter Pack (ASP) 可帮助您快速部署 ADK 项目,并且它配置的 Google Cloud 服务对于使用 Agent Engine 运行时运行 ADK 智能体来说并非严格必要。

Agent Engine service on Google Cloud

Agent Engine is a paid service and you may incur costs if you go above the no-cost access tier. More information can be found on the Agent Engine pricing page.

Google Cloud 上的 Agent Engine 服务

Agent Engine 是一项付费服务,如果您超过无成本访问层级,可能会产生费用。更多信息可以在 Agent Engine 定价页面上找到。

Deployment payload

部署负载

When you deploy your ADK agent project to Agent Engine, the following content is uploaded to the service:

当您将 ADK 智能体项目部署到 Agent Engine 时,以下内容会上传到服务:

  • Your ADK agent code
  • 您的 ADK 智能体代码
  • Any dependencies declared in your ADK agent code
  • 您的 ADK 智能体代码中声明的任何依赖项

The deployment does not include the ADK API server or the ADK web user interface libraries. The Agent Engine service provides libraries for the ADK API server functionality.

部署包括 ADK API 服务器或 ADK Web 用户界面库。Agent Engine 服务为 ADK API 服务器功能提供库。