Skill · em Dados, IA e pesquisa

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.

Procedência

Antes de instalar

10 arquivos · 31,5 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/gemini-api-agent-platform/.

d=".claude/skills/gemini-api-agent-platform"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/ai-research/gemini-api-agent-platform"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/advanced_features.md" "$u/references/advanced_features.md" \
  -o "$d/references/bounding_box.md" "$u/references/bounding_box.md" \
  -o "$d/references/embeddings.md" "$u/references/embeddings.md" \
  -o "$d/references/live_api.md" "$u/references/live_api.md" \
  -o "$d/references/media_generation.md" "$u/references/media_generation.md" \
  -o "$d/references/model_tuning.md" "$u/references/model_tuning.md" \
  -o "$d/references/safety.md" "$u/references/safety.md" \
  -o "$d/references/structured_and_tools.md" "$u/references/structured_and_tools.md" \
  -o "$d/references/text_and_multimodal.md" "$u/references/text_and_multimodal.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/skills/gemini-api-agent-platform/.

d="$HOME/.claude/skills/gemini-api-agent-platform"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/ai-research/gemini-api-agent-platform"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/advanced_features.md" "$u/references/advanced_features.md" \
  -o "$d/references/bounding_box.md" "$u/references/bounding_box.md" \
  -o "$d/references/embeddings.md" "$u/references/embeddings.md" \
  -o "$d/references/live_api.md" "$u/references/live_api.md" \
  -o "$d/references/media_generation.md" "$u/references/media_generation.md" \
  -o "$d/references/model_tuning.md" "$u/references/model_tuning.md" \
  -o "$d/references/safety.md" "$u/references/safety.md" \
  -o "$d/references/structured_and_tools.md" "$u/references/structured_and_tools.md" \
  -o "$d/references/text_and_multimodal.md" "$u/references/text_and_multimodal.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: instala em .agents/skills/gemini-api-agent-platform/.

d=".agents/skills/gemini-api-agent-platform"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/ai-research/gemini-api-agent-platform"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/advanced_features.md" "$u/references/advanced_features.md" \
  -o "$d/references/bounding_box.md" "$u/references/bounding_box.md" \
  -o "$d/references/embeddings.md" "$u/references/embeddings.md" \
  -o "$d/references/live_api.md" "$u/references/live_api.md" \
  -o "$d/references/media_generation.md" "$u/references/media_generation.md" \
  -o "$d/references/model_tuning.md" "$u/references/model_tuning.md" \
  -o "$d/references/safety.md" "$u/references/safety.md" \
  -o "$d/references/structured_and_tools.md" "$u/references/structured_and_tools.md" \
  -o "$d/references/text_and_multimodal.md" "$u/references/text_and_multimodal.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.agents/skills/gemini-api-agent-platform/.

d="$HOME/.agents/skills/gemini-api-agent-platform"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/ai-research/gemini-api-agent-platform"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/advanced_features.md" "$u/references/advanced_features.md" \
  -o "$d/references/bounding_box.md" "$u/references/bounding_box.md" \
  -o "$d/references/embeddings.md" "$u/references/embeddings.md" \
  -o "$d/references/live_api.md" "$u/references/live_api.md" \
  -o "$d/references/media_generation.md" "$u/references/media_generation.md" \
  -o "$d/references/model_tuning.md" "$u/references/model_tuning.md" \
  -o "$d/references/safety.md" "$u/references/safety.md" \
  -o "$d/references/structured_and_tools.md" "$u/references/structured_and_tools.md" \
  -o "$d/references/text_and_multimodal.md" "$u/references/text_and_multimodal.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/gemini-api-agent-platform/.

d=".agents/skills/gemini-api-agent-platform"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/ai-research/gemini-api-agent-platform"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/advanced_features.md" "$u/references/advanced_features.md" \
  -o "$d/references/bounding_box.md" "$u/references/bounding_box.md" \
  -o "$d/references/embeddings.md" "$u/references/embeddings.md" \
  -o "$d/references/live_api.md" "$u/references/live_api.md" \
  -o "$d/references/media_generation.md" "$u/references/media_generation.md" \
  -o "$d/references/model_tuning.md" "$u/references/model_tuning.md" \
  -o "$d/references/safety.md" "$u/references/safety.md" \
  -o "$d/references/structured_and_tools.md" "$u/references/structured_and_tools.md" \
  -o "$d/references/text_and_multimodal.md" "$u/references/text_and_multimodal.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/gemini-api-agent-platform/.

d="$HOME/.gemini/antigravity-cli/skills/gemini-api-agent-platform"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/ai-research/gemini-api-agent-platform"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/advanced_features.md" "$u/references/advanced_features.md" \
  -o "$d/references/bounding_box.md" "$u/references/bounding_box.md" \
  -o "$d/references/embeddings.md" "$u/references/embeddings.md" \
  -o "$d/references/live_api.md" "$u/references/live_api.md" \
  -o "$d/references/media_generation.md" "$u/references/media_generation.md" \
  -o "$d/references/model_tuning.md" "$u/references/model_tuning.md" \
  -o "$d/references/safety.md" "$u/references/safety.md" \
  -o "$d/references/structured_and_tools.md" "$u/references/structured_and_tools.md" \
  -o "$d/references/text_and_multimodal.md" "$u/references/text_and_multimodal.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/cct.gemini-api-agent-platform

Prévia do SKILL.md

---
name: gemini-api-agent-platform
description: 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.
compatibility: Requires active Google Cloud credentials and Agent Platform API enabled.
source: google/skills (Apache 2.0)
---

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`:
…

Ver todo o marketplace