Skip to content

Quick Start

This section helps you get started with the Antigravity Auth plugin from scratch. You'll learn the core value of the plugin, complete installation and OAuth authentication, and send your first model request to verify the configuration is successful.

Learning Path

Follow this sequence, as each step builds upon the previous one:

1. Plugin Introduction

Understand the core value, use cases, and risk warnings for the Antigravity Auth plugin.

  • Determine if the plugin fits your use case
  • Learn about supported AI models (Claude Opus 4.5, Sonnet 4.5, Gemini 3 Pro/Flash)
  • Understand usage risks and important considerations

2. Quick Installation

Complete plugin installation and initial authentication in 5 minutes.

  • Two installation methods (AI-assisted / manual configuration)
  • Configure model definitions
  • Execute Google OAuth authentication

3. OAuth 2.0 PKCE Authentication

Understand the OAuth 2.0 PKCE authentication flow and complete your first login.

  • Understand the security mechanism of PKCE authentication
  • Complete first login to obtain API access permissions
  • Learn about automated token refresh handling

4. First Request

Send your first model request to verify successful installation.

  • Send your first Antigravity model request
  • Understand the --model and --variant parameters
  • Troubleshoot common model request errors

Prerequisites

Before starting this section, please confirm:

  • ✅ OpenCode CLI is installed (the opencode command is available)
  • ✅ You have a Google account available (for OAuth authentication)

Next Steps

After completing the quick start, you can: