google-agents-cli-deploy
Skill by google
Deploys agents built with agents-cli to Agent Runtime, Cloud Run or GKE. It is for developers taking an agent to production on Google Cloud, covering infrastructure, CI/CD, secrets and rollback.
Install google-agents-cli-deploy
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/agents-cli /tmp/agents-cli && mkdir -p ~/.claude/skills && cp -r /tmp/agents-cli/skills/google-agents-cli-deploy ~/.claude/skills/google-agents-cli-deployRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install google-agents-cli-deploy in Claude Code
git clone --depth 1 https://github.com/google/agents-cli /tmp/agents-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents-cli/skills/google-agents-cli-deploy ~/.gemini/antigravity-cli/skills/google-agents-cli-deployAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install google-agents-cli-deploy in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an assistant through deploying agents with agents-cli to Google Cloud. It covers Agent Runtime, Cloud Run and GKE as deployment targets, with guidance on Terraform, service accounts, CI/CD pipelines, Secret Manager, customer-managed encryption keys, Agent Gateway binding and batch inference from BigQuery. The workflow asks for explicit user approval after evals pass before any deploy runs.
It is part of the agents-cli skills suite and applies to any framework agents-cli deploys, including ADK and LangChain. The skill points to separate skills for agent code, evaluation and project scaffolding. It is aimed at developers who need to choose a deployment target, manage identities and secrets, set up CI/CD, or troubleshoot and roll back a deployment.
Written from the project's SKILL.md and checked against it.
What it can do
- Choose a deployment targetCompares Agent Runtime, Cloud Run and GKE and records the choice in the project manifest.
- Approval before deploysReruns evals and tests, shows scores, and waits for an explicit yes before running agents-cli deploy.
- Provision infrastructureSets up single-project infrastructure and Terraform, including service accounts and Agent Identity.
- Set up CI/CDProvisions staging, production and a pipeline with GitHub Actions or Cloud Build via infra cicd.
- Store secretsKeeps API keys in Secret Manager and grants the runtime identity access to specific secrets.
- Configure environment variablesChanges env vars and secrets on a deployed agent using agents-cli flags such as --env-vars and --remove-secrets.
- Bind to Agent GatewayGuides binding the deployed agent to an Agent Gateway.
- Customer-managed encryption keysCovers using customer-managed encryption keys (CMEK) with the deployment.
- Batch inference from BigQueryDescribes calling the deployed agent from BigQuery over table rows.
- Roll back and troubleshootCovers rollback and debugging for Agent Runtime, Cloud Run and GKE deployments.
What you need
- agents-cli installed with uv tool install google-agents-cli
- A Google Cloud project
- GitHub with gh auth, or Cloud Build with a PAT and app installation ID, for CI/CD
Try asking
- Deploy my ADK agent to Agent Runtime in my dev project
- Set up CI/CD for my agent with GitHub Actions
- Store my API key in Secret Manager and deploy the agent
Good to know
- ADK Java, Kotlin and TypeScript agents deploy to Cloud Run only
- Agents that need OAuth user consent go on Agent Runtime, since Cloud Run has no managed OAuth flow
- Agent Identity on Cloud Run cannot be turned off once enabled for a service
- Never runs agents-cli deploy without an explicit yes from the user
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/google-agents-cli-deploy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
references/agent-runtime.md8 KB -
references/batch-inference.md3 KB -
references/cicd.md9 KB -
references/cloud-run.md4 KB
Show all 9 files
-
references/cmek.md3 KB -
references/gateway.md3 KB -
references/gke.md2 KB -
references/terraform.md9 KB
Alternatives to google-agents-cli-deploy
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
google-agents-cli-deploy: common questions
Which deployment target should I pick?
The skill recommends Agent Runtime for the least operations work. Cloud Run and GKE need more setup and operations effort, with GKE requiring Kubernetes skills.
Does the skill deploy without my approval?
No. It requires evals to pass and an explicit yes from the user after seeing the scores before running agents-cli deploy.
Where should API keys go?
They should live in Secret Manager and reach the agent by name, not in env vars, code, logs or committed files. The user creates the secret in their own shell.
How do I install google-agents-cli-deploy?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google-agents-cli-deploy free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is google-agents-cli-deploy safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-agents-cli-deploy?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
