cost. Deploying provisions billable Google Cloud resources; check what infra cicd creates and tear down what you do not need.
Credentials. Logging in grants the CLI access to your Google Cloud project.
Who it is forA developer moving a working agent from laptop to production.
The problemWiring Cloud Run or Agent Runtime, secrets and pipelines by hand is slow and error prone.
The outcomeAn agent deployed to Google Cloud with a staging and prod pipeline.
What you need first
- 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
Steps
- Authenticate with
agents-cli loginand confirm withagents-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 withagents-cli publish geminiif you want it in Gemini
Prompt for your agent
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.
Caveat. Deployment targets named in the README are Agent Runtime in Gemini platform, Cloud Run and GKE.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for google/agents-cli and "Deploy an agent to Google Cloud with CI/CD"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer