mcpField
G
google-agents-cli-onboarding

google-agents-cli-onboarding

github.com/googleAgent workflows21.6k6.6k installsUpdated today
Repository

About google-agents-cli-onboarding

A setup and routing skill for Google's agents-cli, aimed at coding agents building AI agents on Gemini Enterprise Agent Platform. It guides installation and selects workflows across the development lifecycle.

Key features

  1. 01Install agents-cli and skills
  2. 02Route tasks across lifecycle skills
  3. 03Scaffold agent projects
  4. 04Evaluate and deploy agents
  5. 05Publish and monitor agents

Use cases

  1. 01Set up agents-cli in a coding agent
  2. 02Choose a workflow for an agent task
  3. 03Build and evaluate an AI agent
  4. 04Deploy and publish an agent

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/google/skills --skill google-agents-cli-onboarding

After installing, type/google-agents-cli-onboardingin Claude Code to confirm it loaded.

Bundled filesreferences/attribution.md

Details

From the project README

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:

uvx google-agents-cli setup

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

npx skills add google/agents-cli

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:google-agents-cli-onboarding)" and append agent-skills/1.0 (skill:google-agents-cli-onboarding) to User-Agent headers.

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

Comments

Markdown supported