
# Gemini Nexus
**A desktop gateway that pools your Google Gemini and Claude accounts behind one
local OpenAI- and Anthropic-compatible API — with automatic account switching,
usage analytics and full traffic inspection.**



English | [Português](README.pt-BR.md) | [中文](README.zh-CN.md) | [Español](README.es.md)
[Install](#installation) · [Features](#features) · [How it works](#how-it-works) · [Build from source](#build-from-source) · [CI/CD](#cicd)
> [!NOTE]
> **Project status:** actively released — current version is **0.15.3** (2026-05-02),
> versioned automatically by semantic-release from Conventional Commits (see
> [`CHANGELOG.md`](CHANGELOG.md)). The app started as a fork of
> [AntigravityManager](https://github.com/Draculabo/AntigravityManager); most of the
> code has since been rewritten (see [Licensing and credits](#licensing-and-credits)).
> [!IMPORTANT]
> **Mixed licensing.** Code inherited from AntigravityManager is under
> **CC BY-NC-SA 4.0** ([`LICENSE`](LICENSE) — non-commercial, share-alike); all new
> code is under **MIT** ([`LICENSE-MIT`](LICENSE-MIT)). The project is being migrated
> to MIT as the remaining original code is rewritten. Check both files before any
> commercial use.
## Why Gemini Nexus
Working with AI-powered IDEs and coding tools on a single account means quota that
runs out, manual account switching, no idea how many tokens you spent, and no view
of what the proxy actually sends. Gemini Nexus puts all of that in one desktop app:
- **Account pool** — add as many Google accounts as you need via OAuth.
- **Smart auto-switching** — rotates to the next available account when quota is low or rate-limited.
- **Drop-in local proxy** — speaks the OpenAI and Anthropic protocols, so Cursor, Windsurf, OpenCode and any compatible tool can point at it.
- **Observability** — live traffic monitor, request replay and per-model capability inspector.
- **Usage analytics** — token charts, trends and cost tracking.
## Features
| Area | What you get |
|---|---|
| **Cloud account pool** | OAuth sign-in; avatar, email, status (Active / Rate Limited / Expired) and last-used time; per-account proxy URL; device identity profiles with history |
| **Local API gateway** | `POST /v1/chat/completions` (OpenAI), `POST /v1/messages` (Anthropic), `GET /v1/models` and `GET /v1/models/capabilities`; SSE streaming; model mapping (e.g. `claude-sonnet-4-6` → `gemini-3-flash`); configurable port, timeout (default 120 s) and API key; per-model visibility |
| **Auto-switching** | Switches when an account's quota drops below 5 % or it is rate-limited; background quota monitor every 5 minutes; scheduling modes `cache-first`, `balance` and `performance-first`; circuit breaker with 60 s → 5 min → 30 min → 2 h backoff |
| **Usage analytics** | Token consumption charts (daily/hourly, prompt vs. completion), trend indicators, model ranking, cost tracking with custom model pricing |
| **Proxy observability** | Traffic monitor (latency, status, model), request replay, model capabilities (vision, thinking, streaming, JSON mode), cURL and Python snippets, IDE Quick Setup (OpenCode, Cursor, VS Code, Claude Code) |
| **Security** | AES-256-GCM for sensitive data, OS credential storage (Keytar + Electron SafeStorage), automatic migration of legacy plaintext data |
| **Desktop experience** | System tray, dark / light / system theme, collapsible sidebar, status bar with live proxy indicators, UI in English, 简体中文, Русский and Tiếng Việt |
The account-pool and auto-switching design is written up in
[`docs/cloud_features.md`](docs/cloud_features.md).