google-agents-cli-deploy
यह क्या करती है
यह स्किल agents कमांड-लाइन टूल से AI एजेंट को Google Cloud पर डिप्लॉय करने का मार्गदर्शन करती है। यह उन डेवलपरों के लिए है जो अपना एजेंट सही सर्विस अकाउंट और रोलबैक चरणों के साथ प्रोडक्शन में चलाना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप अपना एजेंट Google Cloud पर डिप्लॉय करना चाहते हैं।
- ✓जब आपको एजेंट के लिए CI और CD पाइपलाइन सेट करनी है।
- ✓जब डिप्लॉयमेंट विफल हो गया है और आपको समस्या सुलझाने में मदद चाहिए।
Skill का लिंक
https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-deploy/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा ADK एजेंट Cloud Run पर डिप्लॉय कीजिए, सीक्रेट सेट कीजिए, और बताइए कि कुछ गलत हो जाए तो रोलबैक कैसे करूँ।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 27/10/2026
कमेंट
- …
इस repository की और skills
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-agents-cli-publish
6.3kआपके एजेंट को डिप्लॉय किए गए AI एजेंट को Gemini में रजिस्टर करने और Agent Registry में रजिस्टर्ड एजेंट व MCP सर्वर प्रबंधित करने में मदद करती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।