Deploy to Agent Runtime¶
Google Cloud Agent Platform Agent Runtime 是一组模块化服务,帮助开发者在生产环境中扩展和管理智能体。Agent Runtime 运行时使你能够通过端到端托管的基础设施在生产环境中部署智能体,从而专注于创建智能且有影响力的智能体。当你将 ADK 智能体部署到 Agent Runtime 时,你的代码将在 Agent Runtime 运行时环境中运行,该环境是 Agent Runtime 产品提供的更大智能体服务集的一部分。
本指南包括以下部署路径,它们服务于不同的目的:
-
Standard deployment: Follow this standard deployment path if you want to carefully manage deploying an ADK agent to the Agent Runtime runtime. This deployment path uses Cloud Console, 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.
-
agents-cli deployment: Follow this accelerated deployment path to set up a fully configured Google Cloud environment with CI/CD, infrastructure-as-code, and deployment pipelines for your ADK agent. You need a Google Cloud project with billing enabled. agents-cli in Agent Platform helps you deploy ADK projects quickly and it includes advanced service configurations that extend the core capabilities of the Agent Runtime runtime for more mature use cases.
Agent Runtime service on Google Cloud
Agent Runtime 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 Runtime pricing page.
部署负载¶
When you deploy your ADK agent project to Agent Runtime, the following content is uploaded to the service:
- 你的 ADK 智能体代码
- 在你的 ADK 智能体代码中声明的任何依赖项
The deployment does not include the ADK API server or the ADK web user interface libraries. The Agent Runtime service provides the libraries for ADK API server functionality.