google-agents-cli-deploy
하는 일
이 스킬은 agents 명령줄 도구를 사용해 AI 에이전트를 Google Cloud에 배포하는 과정을 안내합니다. 올바른 서비스 계정과 롤백 절차를 갖추고 에이전트를 운영 환경에서 실행하려는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓에이전트를 Google Cloud에 배포하고 싶을 때.
- ✓에이전트를 위한 CI/CD 파이프라인을 설정해야 할 때.
- ✓배포가 실패해서 문제 해결이 필요할 때.
스킬 링크
https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-deploy/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“ADK 에이전트를 Cloud Run에 배포하고, 시크릿을 설정하고, 문제가 생기면 어떻게 롤백하는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 인프라 설정을 감싸는 agents 명령줄 도구를 사용해 배포 단계를 안내합니다. 설명에 나온 다른 배포 대상과 함께 서비스 계정, 롤백에 대한 안내도 제공합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Deployment Guide
Requires:
agents-cli(uv tool install google-agents-cli) — install uv first if needed.
Prefer using the
agents-clicommands throughout this guide — they wrap Terraform, Docker, and deployment into a tested pipeline. If your project isn't scaffolded yet, see/google-agents-cli-scaffoldto add deployment support first.
Reference Files
For deeper details, consult these reference files in references/:
cloud-run.md— Scaling defaults, Dockerfile, session types, networkingagent-runtime.md— container-based deploy, unified FastAPI app, the/apipassthrough, Terraform resource, deployment metadata, CI/CD differencesgke.md— GKE Autopilot cluster, Kubernetes manifests, Workload Identity, session types, networkingterraform-patterns.md— Custom infrastructure, IAM, state management, importing resourcesbatch-inference.md— BigQuery Remote Function trigger; for Pub/Sub / Eventarc on ADK see/google-agents-cli-adk-codecicd-pipeline.md— Full CI/CD pipeline setup,infra cicdflags, runner comparison, WIF auth, pipeline stagestesting-deployed-agents.md— Testing instructions per deployment target, curl examples, load testscmek.md— Customer-managed encryption keys on Agent Runtime in Gemini platform: key grants,deploy --keyfor dev, Terraform edits for staging/prod
Observability: See the
/google-agents-cli-observabilityskill for Cloud Trace, prompt-response logging, BigQuery Analytics, and third-party integrations.
Deployment Target Decision Matrix
Choose the right deployment target based on your requirements:
| Criteria | Agent Runtime | Cloud Run | GKE |
|---|---|---|---|
| Scaling | Managed auto-scaling (configurable min/max, concurrency) | Fully configurable (min/max instances, concurrency, CPU allocation) | Full Kubernetes scaling (HPA, VPA, node auto-provisioning) |
| Networking | VPC-SC and PSC-I supported (private VPC connectivity via network attachments) | Full VPC support, direct VPC egress, IAP, ingress rules | Full Kubernetes networking |
| Session state | Sessions in Gemini platform (ADK wires VertexAiSessionService automatically) |
In-memory (dev), Cloud SQL, or a managed sessions backend | In-memory (dev), Cloud SQL, or a managed sessions backend |
| Batch/event processing | Trigger endpoints reachable via the Agent Runtime /api passthrough |
Native trigger endpoints (Pub/Sub, Eventarc); ADK: see /google-agents-cli-adk-code |
Custom (Kubernetes Jobs, Pub/Sub) |
| Cost model | vCPU-hours + memory-hours (not billed when idle) | Per-instance-second + min instance costs | Node pool costs (always-on or auto-provisioned) |
| Setup complexity | Lower (managed, purpose-built for agents) | Medium (Dockerfile, Terraform, networking) | Higher (Kubernetes expertise required) |
| Best for | Managed infrastructure, minimal ops | Custom infra, full networking control | Full Kubernetes control |
Ask the user which deployment target fits their needs. Each is a valid production choice with different trade-offs.
All three targets are container-based, so any language works.
Product name mapping: users may say "Agent Engine", "Vertex AI Agent Engine", or "Agent Runtime"; all mean Agent Runtime. Use
--deployment-target agent_runtime.
Ambient / scheduled / event-driven agents (ADK projects): ADK's
trigger_sourcesregisters/apps/{app}/trigger/*endpoints on the same FastAPI app for all targets. On Cloud Run / GKE these are public HTTP routes you point a Pub/Sub push subscription or Eventarc trigger at; on Agent Runtime the same routes are reachable through its/apipassthrough (e.g..../reasoningEngines/v1/{resource}/api/apps/{app}/trigger/pubsub). Cloud Run remains the simplest target for unauthenticated trigger sources. See/google-agents-cli-adk-code(references/adk-python.md, section "12. Event-Driven / Ambient Agents") for thetrigger_sourcespattern.
OAuth / user consent agents: Use Agent Runtime, registered with Gemini, for agents that need OAuth 2.0 user consent (e.g., accessing Google Drive, Calendar, or other user-scoped APIs). Cloud Run does not currently support managed OAuth flows. For a worked ADK example, look up OAuth user consent in the topic index in
/google-agents-cli-adk-code→ `referenc
자주 묻는 질문
어떤 배포 대상을 다루나요?
Agent Runtime, Cloud Run, GKE를 다룹니다.
먼저 설치해야 하는 것이 있나요?
네, agents 명령줄 도구가 필요하며, 필요하면 uv를 먼저 설치하라고 안내합니다.
CI와 CD도 다루나요?
네, CI와 CD 파이프라인 설정을 다룹니다.
상세 정보
작성자의 원본 설명
This skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets", "troubleshoot a deployment", or needs guidance on Agent Runtime, Cloud Run, or GKE deployment targets, or binding an agent to an Agent Gateway. Covers deployment workflows, service accounts, rollback, and production infrastructure. Applies to any framework agents-cli deploys (ADK, LangChain, ...). Part of the agents-cli skills suite. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), evaluation (use google-agents-cli-eval), or project scaffo
repo: google/agents-cli
인기도
- GitHub 스타
- 6.3k
- 순위
- #14369
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 27.
댓글
- …
이 저장소의 다른 스킬
google-agents-cli-adk-code
6.3k에이전트가 Google ADK로 AI 에이전트 코드를 작성하도록 돕습니다. 도구, 콜백, 상태, 오케스트레이션 패턴을 포함합니다.
google-agents-cli-eval
6.3k에이전트가 테스트 데이터셋과 점수 매기기로 AI 에이전트를 평가하고, 실패한 답변의 원인을 찾도록 돕습니다.
google-agents-cli-observability
6.3k에이전트가 배포된 AI 에이전트의 추적, 로깅, 모니터링을 Google Cloud에 설정해 동작을 확인하도록 돕습니다.
google-agents-cli-publish
6.3k에이전트가 배포된 AI 에이전트를 Gemini에 등록하고, Agent Registry에서 등록된 에이전트와 MCP 서버를 관리하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.