Skip to content

    ANTIGRAVITY AI MASTERY

    Antigravity AI Expert Guide

    Visual design-to-code, AI Flow automation, smart context, and team collaboration — master Antigravity AI's unique capabilities.

    ANTIGRAVITY AI SETUP

    Get started with Antigravity AI's visual builder and AI pair programming environment.

    1

    Create Antigravity Account

    # Visit antigravity.ai and sign up
    # Or install the desktop app:
    # Download from antigravity.ai/download

    Antigravity AI provides a full IDE with built-in AI pair programming — no extension setup needed.

    2

    Import Your Project

    # Open Antigravity AI
    # File → Open Project → select your repo
    # Or clone from Git:
    # File → Clone Repository → paste URL

    Antigravity auto-indexes your codebase on import for instant AI context awareness.

    3

    Configure AI Settings

    // Settings → AI Configuration
    // Model selection:
    // - Antigravity Default (optimized for coding)
    // - Claude 3.5 Sonnet (bring your own key)
    // - GPT-4 (bring your own key)
    
    // Context settings:
    // - Auto-index: ON
    // - Max context files: 20
    // - Include dependencies: ON

    Use the built-in model for fastest results, or connect your own API keys for flexibility.

    4

    Set Up Project Rules

    # Create .antigravity/rules.md in project root:
    
    ## Project Rules
    - Stack: React + TypeScript + Tailwind CSS
    - Follow semantic design tokens
    - Use functional components only
    - All components must be typed with interfaces
    - Run tests after significant changes

    Project rules shape AI behavior for your specific codebase and team conventions.

    5

    Start Pair Programming

    # Use the AI panel (right sidebar)
    # Or inline: select code → right-click → 'Ask AI'
    # Or keyboard: Cmd+Shift+A (Mac) / Ctrl+Shift+A (Win)
    
    # Try: "Explain this function and suggest improvements"

    AI pair programming works inline, in chat, or via voice — choose your preferred interaction mode.