piperhex/codex-switch

Codex Switch & Codex GUI & CSwitch & Codex Mobile & Codex Remote & Codex Web

What it solves

Codex Switch is a desktop workbench designed for users of Codex and ChatGPT. It solves the problem of managing multiple AI accounts and providers in one place, while providing a graphical interface for coding assistance. It eliminates the need to manually swap authentication files and allows users to track token usage and manage third-party API providers seamlessly.

How it works

The project uses a Rust-based backend (Tauri) with a React frontend to manage authentication files (auth.json) and provide a local proxy (listening on 127.0.0.1:15722). This proxy allows the software to intercept requests, track token usage, and hot-swap between official accounts and third-party providers. It includes a Codex GUI for natural language coding tasks, a skills market for community plugins, and optional synchronization via a NestJS backend for cross-device management via a mobile app.

Who it’s for

Developers and power users of Codex/ChatGPT who use multiple accounts, rely on third-party model providers, and need a detailed analysis of their token consumption and API costs.

Highlights

  • Multi-Account Management: Atomic switching of authentication credentials and support for importing multiple auth.json files.
  • Codex GUI: A graphical workspace for coding tasks where users can describe requirements in natural language and view file changes in real-time.
  • Local Proxy & Provider Support: Support for OpenAI-compatible third-party providers with hot-switching capabilities.
  • Token Analytics: Detailed heatmaps and trend charts for token usage, costs, and provider rankings.
  • Computer Use Plugin: Built-in capability to allow the AI to operate Windows and Mac applications.
  • Cross-Device Sync: Optional cloud synchronization to a self-hosted backend for remote account and provider management via mobile.
  • Customization: Over 300 built-in theme presets for the interface.

Related

  • Project
  • Project
  • Project
  • Project