Google Agents Cli Onboarding

作者 google55b4e13eba6d无许可证21K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Onboarding entrypoint for agents-cli in Agent Platform. It should be used when the user wants to "create a new agent", "develop an agent", "build an agent using ADK", "run the agent locally", "debug agent code", "test an agent", "evaluate an agent", "deploy an agent", "publish an agent", "monitor an agent", or needs the ADK (Agent Development Kit) development lifecycle.

精选仅含说明AI & AgentsDevOps & Cloud
AI 生成的概览

引导安装 Google agents-cli 并将智能体开发任务分流到各专用生命周期技能的入口技能。

功能
该技能是 agents-cli 的入门入口,agents-cli 是 Google 用于在 Gemini Enterprise Agent Platform 上构建、评估和部署 AI 智能体的工具包。它说明一次性安装命令,提供将八个开发阶段映射到专用技能的表格,并列出主要 CLI 命令。它产出的是指引和记录在案的智能体规格,而非代码或文件。
适用场景
当用户希望使用 ADK 和 agents-cli 创建、开发、运行、调试、测试、评估、部署、发布或监控智能体时使用。它适用于加载专用工作流技能之前的初始安装与入门阶段。
运行要求
需要 agents-cli 工具,通过 uvx 或 npx 安装,并需要网络访问以下载。后续部署阶段隐含需要 Google Cloud 访问权限。该技能不附带脚本,仅为说明性内容。

Google Agents CLI Onboarding

[!TIP] One-Time Setup: To install the CLI and enable all 7 specialized development skills in your coding agent, run the setup command:

bash
uvx google-agents-cli setup

Alternatively, to install only the expert skills and let the agent handle execution:

bash
npx skills add google/agents-cli

Overview

This skill serves as the entrypoint for agents-cli — Google's toolkit for building, evaluating, and deploying AI agents on the Gemini Enterprise Agent Platform.

Use this skill to perform the initial setup and identify the correct specialized workflows for your task.

The Agent Development Lifecycle

After running the setup, the following specialized skills become available and will activate automatically based on your requests. Use this table to identify which skill to load for your current phase:

PhaseSpecialized SkillPurpose / When to Load
0 — Understandgoogle-agents-cli-workflowClarify intent. Define the agent spec in .agents-cli-spec.md before coding.
1 — Studygoogle-agents-cli-workflowLeverage samples. Study existing agent samples (e.g., ambient-expense) before scaffolding.
2 — Scaffoldgoogle-agents-cli-scaffoldCreate/Enhance. Initialize the project structure, CI/CD, and infrastructure templates.
3 — Buildgoogle-agents-cli-adk-codeImplement. Write agent logic, tools, callbacks, and manage state using ADK APIs.
4 — Evaluategoogle-agents-cli-evalValidate Quality. Run systematic evaluations (LLM-as-judge).
5 — Deploygoogle-agents-cli-deployGo Production. Deploy to Agent Runtime (Vertex AI), Cloud Run, or GKE.
6 — Publishgoogle-agents-cli-publishRegister. Make your agent available as a tool in Gemini Enterprise.
7 — Observegoogle-agents-cli-observabilityMonitor. Set up Cloud Trace, prompt-response logging, and BigQuery analytics.

Key CLI Commands

Below are the primary commands you will use throughout the development lifecycle:

CommandDescription
agents-cli setupInstall the CLI and configure skills in your coding agent.
agents-cli scaffold <name>Create a new agent project from a template.
agents-cli eval runRun the agent and grade the traces in a single step (generate + grade).
agents-cli deployDeploy your agent to Google Cloud (Agent Runtime, Cloud Run, GKE).
agents-cli publish gemini-enterpriseRegister your deployed agent with Gemini Enterprise.

For the full list of available commands and global options, run agents-cli --help.

Next Steps

Follow this sequence to initiate the development workflow:

  1. Execute Setup: Run the uvx or npx command in the [!TIP] box above to install the CLI and enable the specialized skills in your environment.
  2. Verify Installation: Run agents-cli info to confirm the installation and view the active project configuration.
  3. Initiate Phase 0: Ask the user for their core requirements (agent purpose, external tools, deployment target) and document them in .agents-cli-spec.md before writing any code.

Reporting Issues

Report bugs or improvements at Google Agents CLI Issues.

Supporting Links

来源与署名

来源:google/skills位于skills/cloud/google-agents-cli-onboarding提交55b4e13

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

更多来自 google/skills 的技能