agent-platform-migrate-from-ai-studio
Skill này làm gì
Skill giải thích cách chuyển một ứng dụng từ Gemini API của AI Studio sang Agent Platform, để thanh toán, danh tính và giám sát chạy trên Google Cloud. Skill dành cho các đội đã vượt quá khả năng của AI Studio hoặc muốn dùng tín dụng đám mây.
Khi nào nên dùng
- ✓Khi ứng dụng của bạn đã vượt quá Google AI Studio và cần các kiểm soát dành cho doanh nghiệp.
- ✓Khi bạn muốn áp dụng tín dụng Google Cloud vào chi phí Gemini API.
- ✓Khi bạn muốn thanh toán, quyền truy cập và giám sát Gemini nằm trên cùng thiết lập Google Cloud với các dịch vụ khác.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-migrate-from-ai-studio/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi chuyển ứng dụng Gemini của mình từ Google AI Studio sang Agent Platform để dùng tín dụng Cloud của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill hướng dẫn chuyển từ endpoint của AI Studio sang endpoint của Agent Platform theo từng bước, cập nhật ứng dụng và cài đặt truy cập bằng đúng các lệnh.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Migrating from Gemini API in AI Studio to Agent Platform
Use this skill when you need to transition an application from the
developer-centric Google AI Studio ecosystem
(generativelanguage.googleapis.com) to the enterprise-grade Google Cloud Agent
Platform (aiplatform.googleapis.com).
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:agent-platform-migrate-from-ai-studio)"
and append
agent-skills/1.0 (skill:agent-platform-migrate-from-ai-studio)
to User-Agent headers.
When to Invoke This Skill
- You want to migrate an application from Google AI Studio to Agent Platform (formerly Vertex AI).
- You have Google Cloud credits (e.g., the $300 Welcome Free Trial) that you want to apply toward Gemini API inferencing costs.
- You need to unify your inferencing pipelines, IAM permissions, telemetry, and billing with existing Google Cloud infrastructure (Compute Engine, Cloud SQL, BigQuery).
- You are deploying open-source orchestration engines (like OpenClaw or ADK agents) on Google Cloud VMs, and want the entire system to run under a unified Google Cloud billing structure.
Gemini API Comparison
| Feature / Control | Google AI Studio (Gemini Developer API) | Agent Platform (Enterprise Gemini API) |
|---|---|---|
| API Endpoint | generativelanguage.googleapis.com |
aiplatform.googleapis.com |
| Target Audience | Developers, startups, students, researchers building production apps. | Enterprise production, MLOps engineers |
| GCP Credit Support | No (GCP credits/Free Trial cannot be applied) | Yes (Fully covered by Welcome or custom credits) |
| Data Privacy | Data may be reviewed to improve Google products | Prompts/responses are never used for training |
| Security & IAM | API key, OAuth | Google Cloud IAM (Service Accounts, OAuth 2.0, VPC-SC) |
| Compliance & SLAs | None (Best-effort availability) | 24/7 Enterprise Support, SLAs, HIPAA, SOC2 |
| Throughput Options | Shared / Rate-limited | Pay-as-you-go OR Provisioned Throughput |
| MLOps Ecosystem | Basic prompt management | Model Registry, Model Monitoring, Pipeline Evaluation |
| Inferencing Scope | Global endpoints only | Both Global and strict Regional endpoints |
See Google Cloud Documentation to learn more about the differences between the two offerings.
Migration Guide
Billing and Credits
Google Cloud Free Trial credits do not apply to AI Studio. To use your credits for Gemini models, you must route calls through the Agent Platform.
- Create a Google Cloud billing account. You must provide a valid payment method during setup to verify identity.
- If you are a new customer, ensure your $300 Welcome credit is active in the Billing Console.
- Avoid Billing Surprises: To prevent automatic fallback to your standard
form of payment when credits are exhausted, you should establish a budget
alert:
- Go to Billing -> Budgets & Alerts -> Create Budget.
- Set the threshold to map to your credit limit or maximum comfortable spend.
Enable the Agent Platform API
You must explicitly enable the Agent Platform API on your target Google Cloud Project. Run the following command via your local shell:
gcloud services enable aiplatform.googleapis.com --projec
Câu hỏi thường gặp
Đây có phải thay đổi chỉ cần một lệnh không?
Không. Đây là quá trình chuyển đổi có hướng dẫn, nên skill đi qua từng bước thay vì chạy một lệnh duy nhất.
Tôi có dùng được tín dụng Google Cloud không?
Có. Chuyển sang Agent Platform cho phép bạn áp dụng tín dụng, như tín dụng dùng thử miễn phí, vào chi phí Gemini.
Skill có bao gồm framework agent không?
Mô tả của skill có nhắc đến việc triển khai các engine điều phối mã nguồn mở như OpenClaw hoặc ADK agent trên Google Cloud.
Chi tiết
Mô tả gốc của tác giả
Guides agents and users through migrating from Gemini API in Google AI Studio to Gemini Enterprise Agent Platform (formerly Vertex AI). Use this skill when moving applications to Google Cloud, to leverage Cloud credits, or to unify inferencing with other Cloud infrastructure (IAM, billing, telemetry).
repo: google/skills
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10204
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.