Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Google Agent Platform for Copilot Chat (Vertex AI Models Chat Provider)New to Visual Studio Code? Get it now.
Google Agent Platform for Copilot Chat (Vertex AI Models Chat Provider)

Google Agent Platform for Copilot Chat (Vertex AI Models Chat Provider)

jorsm

|
1,983 installs
| (1) | Free
Native Gemini, Claude & open-weight models, powered by Google Agent Platform (Vertex AI) for Copilot Chat
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Google Agent Platform for Copilot Chat

License: MIT VS Code

Native Gemini, Claude, and open-weight models in VS Code Copilot Chat

Use Google Gemini, Anthropic Claude, and selected MaaS models directly in the standard VS Code Chat panel. The extension authenticates with Google Cloud, sends requests through Google Agent Platform (Vertex AI), and bills the project you select.

Google Agent Platform for Copilot Chat demo

  • 🔒 No API keys — Authenticate with Google Application Default Credentials or a Service Account stored in VS Code SecretStorage.
  • 🏢 Project-aware billing — Use workspace settings to bill the right Google Cloud project as you switch contexts.
  • ⚡ Native integration — Select models and use them alongside other providers in Copilot Chat.
  • 📊 Cost visibility — See local usage estimates and optionally attribute Gemini and Claude PayGo spend with request labels.

☁️ Google Cloud prerequisites

Before you start, make sure the target Google Cloud project is ready:

  1. Enable the API: Enable the Agent Platform API (aiplatform.googleapis.com). See the Google Agent Platform documentation.
  2. Grant access: Your identity needs the Agent Platform User role (roles/aiplatform.user).
  3. Enable partner models: Enable any Claude models you plan to use in Model Garden.

🚀 Quick start

  1. Install Google Agent Platform for Copilot Chat from the VS Code Marketplace.

  2. Authenticate in the environment where the extension runs:

    • Standard ADC: run gcloud auth application-default login in a terminal.
    • Service Account: run Google Agent Platform: Paste Service Account JSON Key or Google Agent Platform: Import Service Account JSON File from the Command Palette.
  3. Set the billing and discovery project in VS Code Settings (Ctrl+,):

    {
      "vertexAiChat.projectId": "my-gcp-project-id"
    }
    

    Set this in workspace settings when different repositories should use different Google Cloud projects.

  4. Start chatting: Open VS Code Chat, select a Google Agent Platform model, and send a prompt. If the picker is empty, run Google Agent Platform: Refresh Models.

For Remote SSH, Dev Containers, and Codespaces, install the extension and configure credentials in the remote workspace environment. See Setup & Configuration.

✨ Key features

  • 🏷️ Cost attribution labels: Gemini and Claude PayGo calls can carry user and workspace labels. An enabled label that cannot be resolved produces a clear VS Code and output-channel warning.
  • 📈 Usage dashboard and status bar: Track local daily token usage and estimated cost in real time, then open the dashboard from the status bar for trends and detailed breakdowns.
  • 🪄 AI commit messages: Generate a Conventional Commit-style message from staged Git changes (supports custom prompt for workspace or user).
  • 🧠 Gemini thinking and tools: Supports Gemini thinking modes, thought-signature continuity, vision, and parallel tool calling where available.
  • ⚡ Claude thinking and tools: Supports signed thinking-trace continuity across tool calls, effort aliases, vision, up to 128K output tokens, and ephemeral prompt caching.
  • 🔍 Smart discovery: Probes the available Google Cloud regions and registers only the models that your selected project can access.
  • 🛡️ Safe credential handling: Stored Service Accounts are encrypted in VS Code; an explicitly selected but invalid credential fails closed instead of falling back silently.

🤖 Supported models

Models are discovered for your project and region, so only models your project can access appear in the picker.

Provider Current catalog Details
Google Gemini 3.8, 3.7, 3.6, 3.5, and 3 Flash; Gemini 3.1 Pro Gemini model documentation
Anthropic Claude Fable 5.1 and 5; Opus 5 and 4.8; Sonnet 5 and 4.6; Haiku 4.5 Claude on Google Cloud
MaaS Grok 4.2 Reasoning, DeepSeek V3.2, Qwen3 Coder 480B, Kimi K2 Thinking MaaS guide

Claude Fable 5 and 5.1 require Model Garden access and are subject to Google's Advanced AI Safety Addendum. Review the Fable 5.1 documentation before enabling it.

Use your own model catalog

Need a different model set or region order? Create a workspace .vscode/models.json with Google Agent Platform: Open Workspace models.json, or a private user catalog with Open User Models Catalog File. Both are seeded from the bundled catalog and receive JSON schema validation. A custom catalog fully replaces the bundled catalog, so include every model you want available. See Model Discovery & Project Switching for precedence, multi-root behavior, and examples.

For Claude 5 models that support adaptive thinking and the selected effort, append -low, -medium, -high, -xhigh, or -max to both the custom entry's id and version. The extension removes the suffix before calling Vertex AI, enables adaptive thinking with hidden traces, and sends the selected effort. Unsuffixed generation-5 models use Claude's default high effort.

💳 Billing and labels

The local dashboard estimates spend; your Google Cloud Billing account remains the source of truth. Enable vertexAiChat.enableUserLabel and vertexAiChat.enableProjectLabel when you need cost attribution for Gemini and Claude PayGo requests.

Labels are not forwarded to Billing for Provisioned Throughput. Prefer explicit, stable, non-sensitive userLabelValue and projectLabelValue values: labels appear in billing exports and overly high-cardinality keys can be dropped. See the Cost Attribution Labels guide, Google's request-label documentation, and the BigQuery billing-export guide.

📖 Guides and reference

Topic Where to go
Authentication and workspace settings Setup & Configuration · Service Account Authentication
Usage dashboard and BigQuery reporting Usage & Billing · Advanced Billing Reports
Custom model catalogs and discovery Model Discovery & Project Switching
AI commit-message generation AI Commit Message Generator
Diagnostics Diagnostics & Troubleshooting
Architecture and provider behavior Architecture · Providers · Usage & Billing internals
Current Google Cloud pricing Agent Platform generative AI pricing

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft