# Agent Platform Inference

Connects to and performs inference with Google Cloud Agent Platform GenAI models...

- Repository: https://github.com/google/skills (21764 stars)
- Category: Testing
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add google/skills --skill agent-platform-inference -g -a claude-code -y`
Codex: `npx skills add google/skills --skill agent-platform-inference -g -a codex -y`
Cursor: `npx skills add google/skills --skill agent-platform-inference -g -a cursor -y`
Gemini CLI: `npx skills add google/skills --skill agent-platform-inference -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add google/skills`

## Description

Connects to and performs inference with Google Cloud Agent Platform GenAI models, including First-Party Gemini models and Third-Party OpenMaaS models (Llama, DeepSeek, Qwen, etc.). Use when asked to perform inference, ask a model a question, run a test prompt, execute chat completions, or generate code for calling Gemini or OpenMaaS models, authenticate with GenAI SDK, OpenAI SDK, or legacy Agent Platform SDK, configure base URLs and global/regional endpoints, or troubleshoot 429 Resource Exhausted (DSQ), 400 User Validation, or 404 Not Found errors. Don't use for deploying models to endpoints or for running model evaluations.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Agent Platform GenAI Inference Skill

This skill provides instructions for authenticating and connecting to Google
Cloud Agent Platform to use Generative AI models. It covers:

*   **First-Party publisher models** (Gemini), section 2.
*   **Third-Party publisher models** (OpenMaaS: Llama, DeepSeek, Qwen, etc.), section 3.
*   **Custom endpoints** (any model on a numeric `projects/.../endpoints/<id>`
    resource, tuned Gemini models, OSS LLMs self-deployed from Model Garden
    via the `agent-platform-deploy` skill, and legacy custom models), section 4.

## Safety & Confirmation Tiers (CRITICAL)

Before executing any commands or scripts on behalf of the user, you must adhere
to the following safety tiers based on the action requested. (The skill is
read-only; other safety tiers are omitted):

The rest: https://github.com/google/skills/blob/HEAD/skills/cloud/agent-platform-inference/SKILL.md
