본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)33k · #8560

gemini-api-agent-platform

하는 일

이 스킬은 이전에 Vertex AI로 알려졌던 Google의 기업용 Agent Platform에서 Gemini 모델로 애플리케이션을 만드는 방법을 설명합니다. 공식 Google Gen AI SDK로 AI 기능을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Google 플랫폼에서 Gemini를 사용하는 기업용 AI 기능을 만들 때.
  • ✓앱에 Gemini와의 실시간 음성이나 영상 상호작용이 필요할 때.
  • ✓많은 프롬프트 묶음을 비동기 작업 하나로 처리해야 할 때.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/gemini-api-agent-platform/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/gemini-api-agent-platform/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이미지와 텍스트를 Agent Platform의 Gemini로 보내고 JSON을 받는 Python 앱을 만드는 것을 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 사용하는 언어에 맞는 현재 Google Gen AI SDK를 안내하고, 텍스트, 멀티모달, 함수 호출, 구조화된 출력 기능을 호출하는 방법을 보여 줍니다. 오래된 SDK 사용은 피하라고 경고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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 LAST_VERSION)

    • Install in build.gradle:

      implementation("com.google.genai:google-genai:${LAST_VERSION}")
      
    • Install Maven dependency in pom.xml:

      <dependency>
          <groupId>com.google.genai</groupId>
          <artifactId>google-genai</artifactId>
          <version>${LAST_VERSION}</version>
      </dependency>
      

[!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. Initialize the client without parameters to automatically pick up these values.

Application Default Credentials (ADC)

Set these variables for standard Google Cloud authentication:

export GOOGLE_CLOUD_PROJECT='your-project-id'
export GOOGLE_CLOUD_LOCATION='global'
export GOOGLE_GENAI_USE_VERTEXAI=true
  • By default, use location="global" to access the global endpoint, which provides automatic routing to regions with available capacity.
  • If a user explicitly asks to use a specific region (e.g., us-central1, europe-west4), specify that region in the GOOGLE_CLOUD_LOCATION parameter instead. Reference the supported regions documentation if needed.

Agent Platform in Express Mode

Set these variables when using Express Mode with an API key:

export GOOGLE_API_KEY='your-api-key'
export GOOGLE_GENAI_USE_VERTEXAI=true

Initialization

Initialize the client without arguments to pick up environment variables:

from google import genai
client = genai.Client()

Alternatively, you can hard-code in parameters when creating the client.

from google import genai
client = genai.Client(vertexai=True, project="your-project-id", location="global")

Models

  • Use gemini-3.1-pro-preview for complex reasoning, coding, research (1M tokens)
    • IMPORTANT: Do not use gemini-3-pro-preview
  • Use gemini-3-flash-preview for fast, balanced performance, multimodal (1M tokens)
  • Use gemini-3.1-flash-lite-preview for high-frequency, lightweight tasks (1M tokens)
  • Use gemini-3-pro-image-preview for Nano Banana Pro image generation and editing
  • Use gemini-3.1-flash-image-preview for Nano Banana 2 image generation and editing
  • Use gemini-live-2.5-flash-native-audio for Live Realtime API including native audio

Use the following models only if explicitly

자주 묻는 질문

이전에는 플랫폼 이름이 무엇이었나요?

이전에는 Vertex AI로 불렸으며, 많은 웹 자료가 아직 그 이름을 씁니다.

어떤 언어를 지원하나요?

Python, JavaScript, TypeScript, Go, Java, C#을 다룹니다.

예전 Google SDK를 써도 되나요?

아닙니다. 레거시 패키지가 아니라 통합된 Gen AI SDK를 쓰라고 스킬은 설명합니다.

상세 정보

작성자의 원본 설명

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.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8560
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬