Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Antigravity for CopilotNew to Visual Studio Code? Get it now.
Antigravity for Copilot

Antigravity for Copilot

punal100

|
4 installs
| (0) | Free
Use Google Antigravity models (Claude, Gemini) in GitHub Copilot Chat via CLIProxyAPI
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Antigravity for Copilot

Expose Google Antigravity models to VS Code via Copilot's official BYOK (Bring Your Own Key) interface - Manages CLIProxyAPI server lifecycle and configures custom language models using VS Code's supported extension APIs.

⚠️ Disclaimer: This extension uses VS Code's official Language Model API for custom model configuration. It does not modify GitHub Copilot internals, intercept Copilot traffic, or patch any Copilot files. This project is unofficial and not affiliated with GitHub, Microsoft, Google, or Anthropic.

🌟 Features

  • One-Click Server Management: Start/stop CLIProxyAPI directly from VS Code
  • Automatic Configuration: Creates default config.yaml if missing
  • BYOK Model Registration: Registers Antigravity models using VS Code's official Language Model API
  • Status Bar Integration: Quick visual status and server controls
  • Sidebar Dashboard: Monitor server status, view available models, and manage settings
  • Auto-Start Support: Configure the server to start automatically with VS Code
  • Authentication Launcher: Launches Antigravity's authentication flow via CLIProxyAPI

🤖 Available Models (10)

Model Description Capabilities
Claude Sonnet 4.5 Latest Claude model Tools
Claude Sonnet 4.5 (Thinking) Extended thinking mode Tools, Thinking
Claude Opus 4.5 (Thinking) Most powerful Claude Tools, Thinking
Gemini 2.5 Flash Fast Gemini model Tools
Gemini 2.5 Flash Lite Lightweight Gemini Tools
Gemini 3 Pro (Preview) Latest Gemini Pro Tools
Gemini 3 Flash (Preview) Latest Gemini Flash Tools
Gemini 3 Pro Image (Preview) Gemini with vision Tools, Vision
Gemini 2.5 Computer Use Computer interaction Tools, Vision
gpt-oss-120b-medium Open source model Basic

📦 Prerequisites

  1. VS Code Insiders (required for custom models support)

    winget install --id Microsoft.VisualStudioCode.Insiders
    
  2. GitHub Copilot Pro subscription

  3. GitHub Copilot Extensions (pre-release versions)

    code-insiders --install-extension github.copilot --pre-release
    code-insiders --install-extension github.copilot-chat --pre-release
    
  4. CLIProxyAPI installed in %USERPROFILE%\CLIProxyAPI\

    $zipPath = "$env:TEMP\CLIProxyAPI.zip"
    $extractPath = "$env:USERPROFILE\CLIProxyAPI"
    Invoke-WebRequest -Uri "https://github.com/router-for-me/CLIProxyAPI/releases/download/v6.6.103/CLIProxyAPI_6.6.103_windows_amd64.zip" -OutFile $zipPath
    Expand-Archive -Path $zipPath -DestinationPath $extractPath -Force
    Remove-Item $zipPath
    
  5. CLIProxyAPI Configuration: (Optional) The extension will automatically create a default config.yaml if one doesn't exist.

    • Default location: %USERPROFILE%\CLIProxyAPI\config.yaml
    • Default content:
      port: 8317
      host: "127.0.0.1"
      auth-dir: "C:\\Users\\<USERNAME>\\.cli-proxy-api"
      providers:
        antigravity:
          enabled: true
      

🚀 Quick Start

Step 1: Install the Extension

  1. Download the .vsix file
  2. Open VS Code Insiders
  3. Press Ctrl+Shift+P → "Extensions: Install from VSIX..."
  4. Select the downloaded file

Step 2: Authenticate

  1. Click the Antigravity icon in the Activity Bar
  2. Click "Login to Antigravity" button
  3. Follow the authentication flow in the terminal (Server will stop temporarily during login)

Step 3: Start Server

  1. Click "Start Server" in the sidebar
  2. Wait for the server to start (status will turn green)

Step 4: Configure Models

  1. Click "Configure Models" button
  2. Reload VS Code when prompted
  3. Open Copilot Chat (Ctrl+Alt+I)
  4. Click the model picker dropdown → "Manage Models..."
  5. Find the Antigravity models and click the eye icon to enable them
  6. The models will now appear in the model picker dropdown

⚙️ Configuration

Open VS Code Settings (Ctrl+,) and search for antigravityCopilot:

Setting Default Description
server.enabled false Enable server on startup
server.autoStart false Auto-start server with VS Code
server.executablePath (auto) Path to cli-proxy-api.exe
server.port 8317 Server port
server.host 127.0.0.1 Server host
autoConfigureCopilot true Auto-configure models on startup
showNotifications true Show notifications

Example settings.json

{
  "antigravityCopilot.server.autoStart": true,
  "antigravityCopilot.autoConfigureCopilot": true,
  "antigravityCopilot.showNotifications": true
}

🎮 Commands

Access commands via Command Palette (Ctrl+Shift+P):

  • Antigravity: Start Server - Start the CLIProxyAPI server
  • Antigravity: Stop Server - Stop the server
  • Antigravity: Restart Server - Restart the server
  • Antigravity: Login to Antigravity - Authenticate with Google
  • Antigravity: Configure Models - Add models to Copilot Chat
  • Antigravity: Show Server Controls - Open quick controls menu

❓ Troubleshooting

Server won't start

  • Verify CLIProxyAPI is installed at %USERPROFILE%\CLIProxyAPI\cli-proxy-api.exe
  • Check if port 8317 is already in use: netstat -ano | findstr :8317
  • Review logs: Click "Show Logs" in the dashboard

Models not appearing in Copilot Chat

  • Ensure you're using VS Code Insiders (not stable VS Code)
  • Ensure Copilot extensions are pre-release versions
  • Click "Configure Models" and reload VS Code
  • Check if Custom OpenAI feature is available (gradual rollout)

Authentication failed

  • Run Antigravity: Login to Antigravity command
  • Follow the browser authentication flow
  • Check auth files in %USERPROFILE%\.cli-proxy-api\

🔗 Resources

  • Repository
  • Issues
  • License
  • Microsoft (Copilot BYOK docs)
  • CLIProxyAPI GitHub

📝 License

MIT License

🏗️ Architecture

This extension:

  1. Manages CLIProxyAPI: A local OpenAI-compatible proxy server that launches and manages Antigravity authentication via CLIProxyAPI
  2. Registers Models via BYOK: Uses VS Code's official github.copilot.chat.models configuration to register custom OpenAI-compatible endpoints
  3. Displays Status: Provides a sidebar UI for server management and status monitoring

No Copilot internals are modified. The extension only uses documented VS Code APIs and settings.

Compliance Boundary

This extension explicitly does NOT:

  • ❌ Modify GitHub Copilot internals or files
  • ❌ Host or redistribute any AI models
  • ❌ Collect, store, or transmit user credentials
  • ❌ Intercept or proxy Copilot traffic
  • ❌ Provide access to Antigravity (users must obtain access independently)
  • ❌ Connect to any internal/private services

Credits

  • Punal Manalan - Author and maintainer
  • CLIProxyAPI - The proxy server powering this extension

⚠️ Legal Notice

This extension requires CLIProxyAPI and a Google account with Antigravity access.

  • This project does not provide access to Antigravity — users must obtain access independently
  • This project is unofficial and not affiliated with GitHub, Microsoft, Google, Anthropic, or OpenAI
  • Users are responsible for ensuring their use complies with all applicable terms of service
  • The authors assume no liability for any misuse or ToS violations
  • Antigravity access may be subject to eligibility requirements or usage policies set by Google
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft