Agent skill · writing content · davila7

gemini-api-agent-platform

Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK for enterprise AI applications. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like Live API, tools, multimedia generation, caching, and batch prediction.

Why this skill is useful

Provides specific usage patterns and SDK commands for the Gemini API that the AI wouldn't reliably generate on its own.

What it needs

Requires @google/genai, google-genai, google.genai, google.golang.org/genai installed locally. Requires google-cloud account access. About 4k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

IMPORTANT: Agent Platform (full name Gemini Enterprise Agent Platform) was previously named "Vertex AI" and many web resources use the legacy branding. Gemini API in Agent Platform Access Google's most advanced AI models built for enterprise use cases using the Gemini API in Agent Platform. Provide these key capabilities: Text generation - Chat, completion, summarization Multimodal understanding - Process images, audio, video, and documents Function calling - Let the model invoke your functions Structured output - Generate valid JSON matching your schema Context caching - Cache large contexts for efficiency Embeddings - Generate text embeddings for semantic search Live Realtime API - Bidirectional streaming for low latency Voice and Video interactions Batch Prediction - Handle massive async dataset prediction workloads Core Directives Unified SDK: ALWAYS use the Gen AI SDK (google-genai for Python, @google/genai for JS/TS, google.golang.org/genai for Go, com.google.genai:google-genai for Java, Google.GenAI for C#). Legacy SDKs: DO NOT use google-cloud-aiplatform, @google-cloud/vertexai, or google-generativeai. SDKs Python: Install google-genai with pip install google-genai JavaScript/TypeScript: Install @google/genai with npm install @google/genai Go: Install google.golang.org/genai with go get google.golang.org/genai C#/.NET: Install Google.GenAI with dotnet add package Google.GenAI Java: groupId: com.google.genai, artifactId: google-genai Latest version can be found here: https://central.sonatype.com/artifact/com.google.genai/google-genai/versions (let's call it LASTVERSION) Install in build.gradle: Install Maven dependency in pom.xml: [!WARNING] Legacy SDKs like google-cloud-aiplatform, @google-cloud/vertexai, and google-generativeai are deprecated. Migrate to the new SDKs above urgently by following the Migration Guide. Authentication & Configuration Prefer environment variables over hard-coding parameters when creating the client. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/gemini-api-agent-platform

View the source on GitHub

Browse the @skills marketplace