agent-platform-migrate-from-ai-studio

Migrates Gemini API applications from Google AI Studio to Gemini Enterprise Agent Platform.

Updated May 11, 2026
One-click install
npx skills add https://github.com/alon3153/upe-social-publisher --skill agent-platform-migrate-from-ai-studio-alon3153
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-platform-migrate-from-ai-studio
Source: https://github.com/alon3153/upe-social-publisher/tree/main/.agents/skills/agent-platform-migrate-from-ai-studio
Command: npx skills add https://github.com/alon3153/upe-social-publisher --skill agent-platform-migrate-from-ai-studio-alon3153

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Applications built on the Gemini Developer API in Google AI Studio cannot use Google Cloud credits, lack enterprise IAM, SLAs, and compliance guarantees, and keep billing separate from the rest of your Google Cloud infrastructure. This Skill guides the migration to Gemini Enterprise Agent Platform (formerly Vertex AI) so inferencing runs under unified Cloud billing, IAM, and telemetry. ## Core Features & Use Cases - Billing and credits setup: Explains how to apply Google Cloud Free Trial credits to Gemini inferencing and configure budget alerts to avoid unexpected charges. - Authentication and IAM configuration: Covers Application Default Credentials for local development and Service Account roles for Compute Engine workloads, including access scope pitfalls. - SDK and framework migration: Shows how to switch the Google GenAI SDK, Agent Development Kit (ADK), Antigravity CLI, and OpenClaw to the Agent Platform backend using environment variables like GOOGLE_GENAI_USE_ENTERPRISE. - Use Case: You run an OpenClaw agent on a Compute Engine VM and want its Gemini calls billed against your $300 Cloud credits; the Skill walks you through enabling the API, granting aiplatform.user, generating credentials, and updating openclaw.json. ## Quick Start Ask the agent to migrate your existing AI Studio Gemini application to Gemini Enterprise Agent Platform on your Google Cloud project.

Frequently Asked Questions about agent-platform-migrate-from-ai-studio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate from Google AI Studio to Vertex AI Agent Platform?

Enable the aiplatform.googleapis.com API on your Google Cloud project, set up authentication via Application Default Credentials or a Service Account with the aiplatform.user role, and set GOOGLE_GENAI_USE_ENTERPRISE=TRUE so the Google GenAI SDK routes calls to Agent Platform.

Can I use Google Cloud free trial credits with the Gemini API?

Google Cloud Free Trial credits do not apply to AI Studio's Gemini Developer API. To use credits for Gemini inferencing, route calls through Gemini Enterprise Agent Platform, which is fully covered by Welcome or custom credits.

What is the difference between AI Studio and Gemini Enterprise Agent Platform?

AI Studio uses generativelanguage.googleapis.com with API keys and no SLAs, while Agent Platform uses aiplatform.googleapis.com with Cloud IAM, SLAs, HIPAA and SOC2 compliance, provisioned throughput, and regional endpoints.

How do I authenticate the Google GenAI SDK to Vertex AI?

Run gcloud auth application-default login for local development, or attach a Service Account with roles/aiplatform.user for Compute Engine workloads. Then export GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_LOCATION, and GOOGLE_GENAI_USE_ENTERPRISE=TRUE.

Why does OpenClaw fail with the google-vertex provider?

OpenClaw 2026.5.28 has a known google-vertex bug, so use version 2026.5.20 instead. Also avoid Gemini 3.5 models, which the provider does not support, and set the location to global when using Gemini 3 Flash Preview.

Why can't I create a Service Account key on a new Google Cloud organization?

Organizations created on or after May 4, 2024 enforce an Organization Policy restricting Service Account key creation. An Organization Policy Admin must temporarily set that policy to Inactive in the Cloud Console before generating credentials.