Skip to content
Skillpedia
APIs & servers (backend)22k · #10204

agent-platform-migrate-from-ai-studio

What it does

It explains how to move an application from the AI Studio Gemini API to Agent Platform, so billing, identity, and monitoring run on Google Cloud. It is for teams that outgrow AI Studio or want to use cloud credits.

When to use it

  • ✓When your app has outgrown Google AI Studio and needs enterprise controls.
  • ✓When you want to apply Google Cloud credits to Gemini API costs.
  • ✓When you want Gemini billing, permissions, and monitoring on the same Google Cloud setup as your other services.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/agent-platform-migrate-from-ai-studio/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Help me move my Gemini app from Google AI Studio to Agent Platform so it uses my Cloud credits.”

5 new skills a week. 1 minute to read.

How it works

It guides the switch from the AI Studio endpoint to the Agent Platform endpoint step by step, updating the app and its access settings with the right commands.

Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

Is this a one-command change?

No. It is a guided migration, so it walks through the steps rather than running one command.

Can I use Google Cloud credits?

Yes. Moving to Agent Platform lets you apply credits, such as a free trial credit, to Gemini costs.

Does it cover agent frameworks?

Its description mentions deploying open-source orchestration engines such as OpenClaw or ADK agents on Google Cloud.

Details

Original description by the author

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

Popularity

GitHub stars
22k
Ranking position
#10204
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills