Skip to content

What Is Google Agents CLI? Build, Test and Deploy Agents on Google Cloud With Your Coding Agent

Google Agents CLI (`agents-cli`) is Google's official command-line tool and 7-skill set for coding agents: once installed, Claude Code, Codex or another coding agent learns to build an AI agent with Google's agent framework ADK (or LangChain or the Claude Agent SDK), evaluate it, deploy it to Google Cloud and monitor it. You tell the coding agent "build a support agent that answers questions from our docs"; out come a project scaffold, the agent code and an eval dataset, you talk to it in the local playground, then you say "deploy this to Cloud Run". Local development uses a Gemini API key from Google AI Studio, and deployment uses a Google Cloud project with billing enabled. It is not a coding agent itself.

What is Google Agents CLI?

Google's official command-line tool and 7-skill set. It teaches coding agents such as Claude Code and Codex to build an AI agent with ADK, evaluate it, deploy it to Google Cloud and monitor it. It is not a coding agent itself.

How do you install Google Agents CLI?

uv is required (it downloads Python 3.11+ itself) and Node.js is recommended. The short path is uvx google-agents-cli setup; for a version-pinned install, first uv tool install google-agents-cli==1.17.0, then agents-cli setup --skills-source with the tag of the same version. On Windows, WSL 2 is used.

Is Google Agents CLI free?

The tool is free and Apache-2.0 licensed. Costs come from the built agent's model tokens, compute on Google Cloud, evaluation calls and telemetry storage.

What it does
Teaches a coding agent to build, test and deploy agents on Google Cloud
Made by
Google (official repository google/agents-cli)
Coding agents
Antigravity CLI, Claude Code, Codex and others
Requirements
uv (it downloads Python 3.11+ itself), Node.js recommended; macOS, Linux or WSL 2 on Windows
Model
A Gemini API key (local) or a Google Cloud project
Version
1.17.0 (December 2, 2026); first release April 21, 2026
Turkish
Documentation in English; talking Turkish depends on the model
Price
The tool is free (Apache-2.0); model and Google Cloud usage are paid

What is Google Agents CLI and what is it for?

What problem does it solve? To get an AI agent (for example a support bot that answers customer questions from documents) running on Google Cloud, you have to learn the agent framework, testing, deployment, identity and monitoring services one by one. Agents CLI gives this knowledge to your coding agent as skills and gathers the jobs in one command-line tool; in the README's words, you don't have to learn every CLI and service yourself.

Agents CLI is not a coding agent; it is installed alongside a coding agent such as Claude Code, Codex or Antigravity CLI. It can be used without one too: every command runs directly from the terminal, and the skills just make it easier to have the agent do the work.

Who it's for: developers and agencies who want to build a customer service, internal knowledge base or workflow agent on Google Cloud; people who want to start from a working scaffold before learning ADK; teams that want to measure their agent with an eval dataset and then deploy it. It is not a no-code tool: you need a terminal, Python and a coding agent.

Google's general developer skill set: Google Agent Skills guide.

Source: the README and the getting started document (December 3, 2026). The support bot example is derived from a request in the official documentation.

How does Agents CLI work? Install, design, try, measure, deploy

InstallThe agents-cli command and 7 skills are installed for your coding agents.
Design the agentThe coding agent asks for the language (Python or Go), the job, the tools and how to judge success; it writes the scaffold, the code and an eval dataset.
Try and measure locallyThe playground opens at 127.0.0.1:8080; agents-cli eval run runs the agent over the dataset and grades it.
DeployWith agents-cli deploy to Agent Runtime, Cloud Run or GKE; optional registration with Gemini.
When your coding agent runs Google Cloud commands, it acts with all your IAM roles; use a separate project with no production data for first runs.

Framework options: ADK Python (default) and Go; the Java, Kotlin and TypeScript templates are experimental. LangChain and the Claude Agent SDK are scaffolded from first-party templates; the Claude template needs a Google Cloud project and has no playground.

Source: the getting started and security documents (December 3, 2026).

What do you type, what do you get? Examples

You write the requests to your coding agent; the ones below come from the official documentation. The result depends on your coding agent, its model and your project.

Have the first agent built (one line)"Follow google.github.io/agents-cli/setup.md to build my first agent"What you get: the coding agent reads setup.md, first tells you what setup will run (offering --dry-run and --workspace), installs Agents CLI, designs the agent with you, writes the scaffold and eval dataset, connects a model and gives you the local playground address. The documentation recommends reading setup.md before pasting the prompt.
A support agent that answers from documents"Build a support agent that answers questions from our docs."What you get: an agent project with the default ADK Python template, the agent code and an eval dataset; you talk to it and try it locally with agents-cli playground.
Test and deploy"Write evals for this agent and run them. Then deploy this to Cloud Run."What you get: the agent runs over the dataset and is graded against metrics; on deploy the Cloud Run service is private by default (it requires an identity token). If no project is named, agents-cli deploy uses the project in your gcloud config; run by hand it asks you to confirm that project, but the deploy skill tells the coding agent to pass --no-confirm-project, which skips the check. Name the project for the agent (--project your-project) or first check which one is selected with gcloud config get-value project.
By hand, without an agent (documentation)› agents-cli create my-agent --prototype --yes cd my-agent agents-cli install agents-cli playground

Source: the getting started, security and deployment documents (December 3, 2026).

How do you install Google Agents CLI?

Prerequisites: uv is required (it downloads Python 3.11+ if you don't have it); Node.js is recommended, and without it setup copies the skills instead. macOS and Linux are supported; on Windows WSL 2 is used, and native Windows isn't officially supported.

Version-pinned install (CLI and skills at the same version)› uv tool install google-agents-cli==1.17.0 agents-cli setup --skills-source https://github.com/google/agents-cli/tree/v1.17.0

The README's short path uvx google-agents-cli setup has no version and takes the skills from the default branch at that moment, so the CLI and skills can end up at different versions. For skills only there is also npx skills add google/agents-cli. agents-cli update breaks the pin and moves to the latest version.

  1. Preview: uvx google-agents-cli setup --dry-run prints the commands it would run without changing anything.
  2. One project only: --workspace installs the skills into the current folder instead of globally.
  3. Sign in: agents-cli login -i lets you choose Google Cloud or a Gemini API key; agents-cli login --status shows the status.

Source: the README and the security document ("Where the skills come from, and pinning"), PyPI google-agents-cli 1.17.0 (December 3, 2026).

What's inside? 7 skills and the commands

SkillWhat it teaches the coding agent
google-agents-cli-workflowThe development lifecycle, code preservation rules, model selection
google-agents-cli-adk-codeAgent, tool, state and workflow code with ADK
google-agents-cli-scaffoldProject scaffolding: create, enhance, upgrade
google-agents-cli-evalEvaluation: metrics, datasets, LLM-as-judge
google-agents-cli-deployAgent Runtime, Cloud Run, GKE, CI/CD, secrets
google-agents-cli-publishGemini registration
google-agents-cli-observabilityCloud Trace, logging, third-party integrations

Main commands: create, scaffold enhance (adds deployment and CI/CD to an existing project), run "prompt", playground, eval run / generate / grade / compare / optimize, deploy, publish gemini, infra single-project / cicd, info, update.

Source: the README ("Agent Skills", "CLI Commands"), December 3, 2026.

Is Google Cloud needed? Account and model

Local development (create, run, eval)YesNo Google Cloud needed; a Gemini API key from Google AI Studio (GEMINI_API_KEY) is enough. In a Python project the GOOGLE_* lines in .env are commented out, in a Go project app/agent.go changes; the Claude template doesn't work with a key.
Deployment and cloud featuresPartlyA Google Cloud project with billing enabled and the IAM permissions your target needs are required.
The coding agent's sign-inYesIt is separate; Claude Code or Codex works with its own account.

Prompts and responses sent on the free Gemini API quota can be used by Google to improve its products and models, and human reviewers may read them; for confidential documents or customer data, use a billed key or Google Cloud.

The built agent's model is connected through the Gemini API or Google Cloud; the workflow skill handles which model is chosen. The Claude Agent SDK template uses Claude through Google Cloud and needs Google Cloud credentials (ADC).

Source: the authentication and getting started documents, the README FAQ, the Gemini API additional terms of service ("Unpaid Services"), December 3, 2026.

What does it run and touch? Permissions and telemetry

What setup runs

uv tool install google-agents-cli, then it runs the skills installer from npm (npx -y skills@1.5.9 add … -g) and puts the skills under ~/.agents/skills; if ~/.gemini exists, it adds links into the Antigravity folders.

Careful on deploy

agents-cli deploy copies every line of the project-root .env into the deployed service's environment variables: remove API keys from .env before deploying and use Secret Manager.

Telemetry

If you have a Google Cloud project set (GOOGLE_CLOUD_PROJECT or the ADC default), each command writes a usage entry there (command name, exit code, duration, versions; no file contents or arguments); the request headers also carry versions and the command name to Google. AGENTS_CLI_TELEMETRY=0 or DO_NOT_TRACK=1 turns it off.

The deployed agent's prompt log

In a deployment provisioned with Terraform through agents-cli infra, an ADK Python agent writes full prompts, responses and token counts to a GCS bucket and a BigQuery table in your project; on a service created with agents-cli deploy alone, this logging is off. To turn it off, remove the LOGS_BUCKET_NAME and OTEL_INSTRUMENTATION_GENAI_* lines from the Terraform service definition.

Source: the security document and the README ("Telemetry"), December 3, 2026. This is not a security certificate.

Is Google Agents CLI free? Cost

The tool is free and Apache-2.0 licensed. Per the documentation, cost comes from four items: model tokens, compute for the deployed service (Agent Runtime, Cloud Run or GKE), judge model calls during evaluation and telemetry storage. agents-cli deploy creates new services on Agent Runtime and Cloud Run with --min-instances 0 by default, so they scale to zero when idle; a Terraform-provisioned service stays at least at 1 instance and the GKE template keeps at least 2 replicas, so both are billed while idle. Prices are on Google Cloud's own pricing page; payment from Turkey and trial credits aren't covered in the Agents CLI documentation.

Source: the cost document, LICENSE (Apache-2.0) and the Google Cloud agent platform pricing page (December 3, 2026).

How do you update and remove it?

  1. Update: agents-cli update refreshes the skills with npx skills update and runs uv tool upgrade google-agents-cli (it breaks the pin). To move a project to a newer version, agents-cli scaffold upgrade.
  2. Removal: Because the command is installed as a uv tool, uv's standard uv tool uninstall google-agents-cli removes it; the skills are the google-agents-cli-* folders under ~/.agents/skills. The documentation has no separate removal guide.

Frequently asked questions

Is a Google Cloud account needed?

Not for local development; a Gemini API key from Google AI Studio is enough. Deployment and cloud features need a Google Cloud project with billing enabled. On the free Gemini API quota, prompts and responses can be used for Google's product development and read by human reviewers; confidential data calls for a billed key.

Does it work with Claude Code and Codex?

Yes. The README names Antigravity CLI, Claude Code and Codex and says it works with other coding agents too. Setup installs the skills for every coding agent it detects.

How is it different from ADK?

ADK is an agent framework. Agents CLI gives your coding agent the skills and commands to build, evaluate and deploy ADK agents end to end.

Related guides

Sources

Not clear in the official sources: Paying for Google Cloud from Turkey and trial credits (not in the Agents CLI documentation) · the free usage limit of a Gemini API key (not in the documentation) · a separate removal guide. Each is covered in its section.