{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "google-agents-cli--deploy-an-agent-to-google-cloud-with-agents-cli",
 "repo": "google/agents-cli",
 "repo_url": "https://github.com/google/agents-cli",
 "repo_slug": "google-agents-cli",
 "title": "Deploy an agent to Google Cloud with CI/CD",
 "page_title": "How to deploy an agent to Google Cloud with CI/CD with Agents CLI",
 "summary": "Log in, add deployment to the project, provision infrastructure and ship it, then register it with Gemini.",
 "who": "A developer moving a working agent from laptop to production.",
 "problem": "Wiring Cloud Run or Agent Runtime, secrets and pipelines by hand is slow and error prone.",
 "outcome": "An agent deployed to Google Cloud with a staging and prod pipeline.",
 "steps": [
  "Authenticate with `agents-cli login` and confirm with `agents-cli login --status`",
  "Add deployment or CI/CD to an existing project with `agents-cli scaffold enhance`",
  "Set up the pipeline and staging and prod infrastructure with `agents-cli infra cicd`",
  "Ship it with `agents-cli deploy`, and register it with `agents-cli publish gemini` if you want it in Gemini"
 ],
 "agent_prompt": "For my google/agents-cli project, check `agents-cli login --status`, run `agents-cli scaffold enhance` and `agents-cli infra cicd`, then `agents-cli deploy`, and report the deployed endpoint.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Advanced",
 "time": "2 hours",
 "basis": "readme",
 "caveat": "Deployment targets named in the README are Agent Runtime in Gemini platform, Cloud Run and GKE.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11+, uv and Node.js",
  "A coding agent such as Claude Code, Codex or Antigravity CLI",
  "A Google Cloud or AI Studio account for login and deployment"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "cost",
   "notice": "Deploying provisions billable Google Cloud resources; check what infra cicd creates and tear down what you do not need."
  },
  {
   "tag": "credentials",
   "notice": "Logging in grants the CLI access to your Google Cloud project."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/google-agents-cli/deploy-an-agent-to-google-cloud-with-agents-cli/",
 "md": "https://dedupedai.com/use-cases/google-agents-cli/deploy-an-agent-to-google-cloud-with-agents-cli/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/google-agents-cli--deploy-an-agent-to-google-cloud-with-agents-cli.json",
 "api_version": "v1"
}
