Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMar 29, 2026·1 min de lecture

Gemini CLI Extension: Vertex AI — Model Management

Gemini CLI extension for Vertex AI. Deploy models, manage endpoints, run predictions, and monitor ML pipelines.

Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 17/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
CLI Tool
Installation
Stage only
Confiance
Confiance : Community
Point d'entrée
Gemini CLI Extension: Vertex
Commande de staging sûr
npx -y tokrepo@latest install 0d5e4914-8ade-4a18-a9dd-3a4a8318b6da --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

TL;DR
Gemini CLI extension that adds Vertex AI model deployment, endpoint management, and prediction capabilities to your terminal.
§01

What it is

The Vertex AI extension for Gemini CLI integrates Google Cloud Vertex AI capabilities directly into the Gemini command-line tool. Once installed, it enables model deployment, endpoint management, prediction execution, and ML pipeline monitoring without leaving your terminal session.

ML engineers and platform teams working with Google Cloud will find this extension useful for managing Vertex AI resources alongside their regular development workflow. It works within the Gemini CLI agent context, meaning you can describe tasks in natural language and the agent handles the API calls.

§02

How it saves time or tokens

Managing Vertex AI resources typically requires switching between the Google Cloud Console, gcloud CLI, and custom scripts. This extension consolidates those operations into the Gemini CLI agent, where you describe what you need and the agent executes the correct API calls. This reduces context switching and eliminates the need to memorize gcloud vertex-ai subcommand syntax.

§03

How to use

  1. Install the Gemini CLI if you have not already:
npm install -g @anthropic-ai/gemini-cli
  1. Install the Vertex AI extension:
gemini extensions install vertex
  1. Start a Gemini CLI session and use the extension:
gemini
> Use the vertex extension to list my deployed models
> Deploy model gs://my-bucket/model to an endpoint with 2 replicas
§04

Example

# Install the extension
gemini extensions install vertex

# In a Gemini CLI session:
gemini> List all endpoints in project my-project region us-central1
gemini> Deploy the model at gs://models/bert-v2 to a new endpoint
gemini> Run a prediction on endpoint xyz with input data from test.json
gemini> Show the status of my training pipeline job-12345
§05

Related on TokRepo

§06

Common pitfalls

  • The extension requires a valid Google Cloud project with Vertex AI API enabled. Ensure your gcloud auth is configured before using the extension.
  • Model deployment can take several minutes. The extension shows status updates, but do not cancel the session mid-deployment or you may leave orphaned resources.
  • Prediction requests require the correct input schema matching your model. Check the model signature before sending test inputs to avoid cryptic error responses.

Questions fréquentes

What is the Gemini CLI Vertex AI extension?+

It is an official extension for the Gemini CLI that adds Vertex AI capabilities. Once installed, the Gemini agent can deploy models, manage endpoints, run predictions, and monitor ML training pipelines on Google Cloud Vertex AI through natural language commands in your terminal.

How do I install the Vertex AI extension?+

Run 'gemini extensions install vertex' after installing the Gemini CLI. The extension downloads and registers automatically. You need a Google Cloud account with Vertex AI API enabled and valid authentication configured via gcloud auth.

Can this extension manage training pipelines?+

Yes. The extension can start, monitor, and check the status of Vertex AI training pipeline jobs. You can describe training configurations in natural language and the Gemini agent translates them into the appropriate Vertex AI API calls.

Does the extension work with custom models or only pre-trained ones?+

It works with both. You can deploy custom models stored in Google Cloud Storage buckets as well as models from the Vertex AI Model Garden. The extension handles endpoint creation, model upload, and deployment configuration for any model type supported by Vertex AI.

What authentication does the extension require?+

The extension uses your existing Google Cloud authentication. Run gcloud auth application-default login to set up credentials. You also need the Vertex AI API enabled in your Google Cloud project and appropriate IAM permissions for model and endpoint management.

Sources citées (3)
🙏

Source et remerciements

Created by Google. Licensed under Apache 2.0. gemini-cli-extensions/vertex Part of Gemini CLI — ⭐ 99,400+

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires