# AG X (Antigravity fork) v2.0.3 AI-Powered Code Intelligence — agentic desktop application with multi-provider AI support. ## What's New in v2.0.3 ### 🐛 Critical Fix: Provider Selection Flow - **Welcome screen now shows BEFORE the Language Server starts** — on first run, the user picks a provider before the LS launches, preventing the Google OAuth prompt from appearing for non-Google providers. - **Provider config syncs to `~/.codex/endpoints.json`** — the provider choice from the welcome screen and settings panel is properly synced to the endpoints config that the translation proxy reads. - **"Another AI Provider" flow fixed** — when user picks a custom provider, the settings panel opens and the app waits for the user to configure and save their provider before starting the Language Server. ### Changes | File | Change | |---|---| | `main.js` | Restructured startup: welcome screen before LS start | | `main.js` | Added `syncProviderToEndpoints()` function | | `main.js` | Google Gemini handler sets active endpoint in `endpoints.json` | | `main.js` | Custom provider handler waits for settings save before continuing | | `providerSettings.js` | Save handler syncs to `endpoints.json` and emits `provider:settings-saved` | | `providerSettings.js` | Added close-settings IPC listener | | `settings.html` | Save handler shows restart notification and auto-closes | ## Features - 🔮 Google Gemini (OAuth) — zero config - 🔌 15+ AI Providers (OpenAI, Anthropic, DeepSeek, Ollama, etc.) - 🧠 Built-in translation proxy for non-native backends - 🔄 Auto-update support - 🖥️ System tray integration ## Installation ```bash sudo dpkg -i ag-x_2.0.3_amd64.deb ``` ## First Run On first launch, AG X shows a welcome screen where you choose: 1. **Google Gemini** — Sign in with Google (OAuth, no API key needed) 2. **Another AI Provider** — Pick from 15+ providers and enter your API key ## Configuration - Provider settings: `~/.ag-x/ag-x/provider_config.json` - Proxy endpoints: `~/.codex/endpoints.json` - Menu → AI Provider Settings to change provider anytime