Connecting AI Accounts
Connect 15+ AI coding agents, OpenCode model providers, local models, web bridges (ChatGPT & Gemini), and the Jev routing model in one workspace.
LightCode brings your existing AI subscriptions, CLI logins, API keys, web accounts, and local open-source models into one workspace—so you can combine strengths across providers and add backup accounts for uninterrupted flow.
Supported platforms & providers#
| Provider | Best suited for | How it connects |
|---|---|---|
| Claude Code | Full-stack features, deep architecture, and careful multi-file edits | Existing machine login, isolated profile sign-in, or API key |
| Codex | Fast implementation, deep debugging, audits, and refactors | Existing machine login, isolated profile sign-in, or API key |
| Gemini CLI | Broad repository context, planning, and rapid exploration | Browser OAuth session or API key |
| Antigravity | Frontend design, visual understanding, and autonomous execution | Existing machine login or isolated account profile |
| OpenCode | Access to 12+ cloud & local model ecosystems under one roof | Free built-in models, provider API keys, or local base URL |
| ChatGPT (web) | Connecting your ChatGPT web plan directly to project files | Built-in MCP bridge + isolated ChatGPT browser session |
| Gemini (web) | Running sessions, questions, and image generation via your Google account | Isolated browser sign-in with live usage tracking |
| Jev (TypeSafe) | Ultra-fast routing model (~0.3–0.5s) for Auto task classification and team coordination | TypeSafe API key + optional Console balance sync |
OpenCode model providers (12+ built-in vendors)#
Through OpenCode, LightCode connects directly to leading global, regional, and local model ecosystems:
- OpenCode: Free built-in models to start immediately with no API key required.
- DeepSeek: Strong at algorithms, math, and backend logic.
- Kimi (Moonshot): Long specifications, large documents, and deep research (Global and China endpoints).
- Qwen (Alibaba Cloud): Multilingual apps and repository-scale coding (Global and China endpoints).
- GLM (Zhipu): Multi-step agent flows and web automation (Global and China endpoints).
- MiniMax: Interactive web UI and product copywriting.
- Mistral: Fast edits, unit tests, and structured OCR/JSON tasks.
- Groq: Ultra-fast inference for rapid iteration loops.
- Grok (xAI): Fast reasoning and real-time knowledge.
- Muse (Meta): Meta's Muse Spark models.
- OpenRouter: Access 300+ models through a single API key.
- Opensource Model: Connect offline local engines such as Ollama, vLLM, or HuggingFace endpoints by specifying a custom base URL and model name.
Auto-installing missing CLIs: If a CLI agent (such as Claude Code, Codex, Gemini CLI, or Antigravity) is not installed on your computer yet, LightCode offers a one-click install right inside the Add account dialog.
Adding multiple backup accounts#
You can connect several accounts for the same provider (for example, Work, Personal, or Backup):
- Click Add account in the Accounts & Quota section of the left sidebar.
- Any login already saved on your computer is detected automatically.
- To add a second or third account without logging out of your main one, click Add Account, enter a clear label, and sign in inside its own isolated profile folder.
- Set account Priority order so LightCode uses your preferred subscription first and keeps pay-per-token API accounts as controlled backups.
Pay-per-token protection: API key accounts are never chosen just because they happen to be idle—they follow the exact priority order you configure so spending stays predictable.
Web bridges: ChatGPT (web) & Gemini (web)#
Already pay for ChatGPT Plus/Pro or Gemini Advanced on the web? LightCode lets you use them directly on your local codebase:
- ChatGPT (web): Starts a local MCP bridge (with optional secure tunnel) and guides you through connecting your ChatGPT account to a project folder. You control whether ChatGPT can read only, write files, or run commands, and can view a live activity log of every tool call.
- Gemini (web): Opens an isolated browser sign-in to
gemini.google.com. Once signed in, Gemini appears directly in your session provider picker so it can answer questions, inspect files, edit code, and generate images while LightCode tracks its current and weekly usage bars.
Linking CLI and web accounts#
When you sign in to Codex and ChatGPT (web)—or Antigravity and Gemini (web)—with the same account, LightCode offers to link the matching partner account using your existing browser session cookies so you do not have to sign in twice. Linking is always optional and keeps each browser profile isolated.
Adding Jev for faster routing#
Jev is a specialized decision model (configured in Add account → Jev using your TypeSafe API key, plus optional sign-in to console.typesafe.ai to display live USD balance and spend). It does not run coding sessions directly; instead, it supercharges Auto threads by routing requests in under half a second, offloading lightweight turns to save your primary coding quota, and helping coordinate multi-agent sessions.