本文へスキップ
Skillpedia
APIとサーバー(バックエンド)22k · #10204

agent-platform-migrate-from-ai-studio

できること

AI StudioのGemini APIからAgent Platformへ、アプリを移す方法を説明します。課金、ID、監視がGoogle Cloud上で動くようにするためのものです。AI Studioを超えた、またはCloudクレジットを使いたいチーム向けです。

使う場面

  • ✓アプリがGoogle AI Studioの規模を超え、企業向けの管理が必要なとき。
  • ✓Gemini APIの費用にGoogle Cloudのクレジットを適用したいとき。
  • ✓Geminiの課金、権限、監視を、ほかのサービスと同じGoogle Cloudの設定にまとめたいとき。

スキルのリンク

https://github.com/google/skills/blob/main/skills/cloud/agent-platform-migrate-from-ai-studio/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/google/skills/blob/main/skills/cloud/agent-platform-migrate-from-ai-studio/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のGeminiアプリをGoogle AI StudioからAgent Platformに移して、Cloudのクレジットを使えるようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、AI StudioのエンドポイントからAgent Platformのエンドポイントへの切り替えを、ステップごとに案内します。アプリとそのアクセス設定を、適切なコマンドで更新します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

  1. Create a Google Cloud billing account. You must provide a valid payment method during setup to verify identity.
  2. If you are a new customer, ensure your $300 Welcome credit is active in the Billing Console.
  3. 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
よくある質問

1つのコマンドで変更できますか?

いいえ。段階的な移行なので、1つのコマンドで済ませるのではなく、手順を追って進めます。

Google Cloudのクレジットは使えますか?

はい。Agent Platformに移ると、無料トライアルのクレジットなどをGeminiの費用に適用できます。

エージェントのフレームワークも扱いますか?

説明には、OpenClawやADKエージェントなどのオープンソースのオーケストレーションエンジンをGoogle Cloudにデプロイすることが挙げられています。

詳細

作者による元の説明

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

人気

GitHubのスター
22k
ランキング
#10204
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル