Status: [UNTESTED] Endpoints found: http://127.0.0.1:9090/v1/chat/completions Source: https://github.com/tgakathunderr/Gravity # Gravity **Run frontier AI models in any tool. For free.** Gravity is a local OpenAI-compatible API proxy that bridges Google Antigravity to any AI client — Cursor, Continue, Aider, LibreChat, VS Code extensions, or custom code. If your Antigravity account has access to it, Gravity exposes it through a standard `/v1/chat/completions` endpoint. No OpenAI bills. No Anthropic bills. Just your existing Antigravity session. --- ## Models Gravity auto-discovers available models from your Antigravity session on startup. Depending on your plan, this includes: - Gemini 3.7 Flash (low / medium / high reasoning effort) - Gemini 3.6 Flash - Gemini 3.1 Pro - Claude Sonnet 4.6 with Thinking - Claude Opus 4.6 with Thinking - GPT-OSS 120B New models released by Google appear automatically — no code changes needed. --- ## Setup **Requirements**: Python 3.10+, Antigravity IDE or AGY CLI authenticated. ### 1-Line Install (Recommended) ```bash pip install git+https://github.com/tgakathunderr/Gravity.git ``` Or with `pipx` (isolated global CLI): ```bash pipx install git+https://github.com/tgakathunderr/Gravity.git ``` ### Start Gravity ```bash gravity ``` Gravity starts at `http://127.0.0.1:9090`. Your API key is printed at startup and persisted at `~/.gravity/config.json`. Dashboard: `http://127.0.0.1:9090` --- ## Connecting Your Tools ### Cursor Settings → Models → add custom model → set: - **Base URL**: `http://127.0.0.1:9090/v1` - **API Key**: your `sk-gravity-...` key Use model IDs like `gemini-3.7-flash-high` or `claude-sonnet-4-6`. --- ### Continue.dev `~/.continue/config.yaml`: ```yaml models: - name: Gemini 3.7 Flash provider: openai model: gemini-3.7-flash-high apiBase: http://127.0.0.1:9090/v1 apiKey: sk-gravity-... - name: Claude Sonnet 4.6 (Thinking) provider: openai model: claude-sonnet-4-6 apiBase: http://127.0.0.1:9090/v1 apiKey: sk-gravity-... ``` --- ### Aider ```bash aider \ --openai-api