Codex Switch is a desktop and script-based tool for backing up, switching, and inspecting multiple Codex account configurations.
- Tauri desktop app for daily account switching.
- Python scripts for backup, restore, and usage inspection.
- Local account storage and cached usage data.
- macOS, Windows, and Linux support.
This repository is a modified derivative of Skywang16/codex-account-manager.
The upstream project uses the MIT License. MIT is permissive: you may use, modify, publish, and redistribute this project, including on your own GitHub repository.
The main requirement is that you keep the license text and copyright notice in distributed copies or substantial portions of the software.
cd codex-tauri-app
npm install
npm run tauri devBuild release package:
cd codex-tauri-app
npm run tauri buildpython3 backup_current_account.py
python3 switch_account.py
python3 check_usage.py
python3 codex_account_manager.py- Save the current account configuration.
- Switch between saved accounts.
- View cached usage and refresh current usage from the official endpoint.
- Manage accounts through both Tauri UI and Python scripts.
codex-switch/
├── README.md
├── README.zh-CN.md
├── LICENSE
├── backup_current_account.py
├── check_usage.py
├── codex_account_manager.py
├── codex_account_manager_web.py
├── switch_account.py
├── usage_checker.py
├── assets/
└── codex-tauri-app/
- Keep the upstream MIT license text in
LICENSE. - Keep attribution to the upstream project in this README.
- Publish desktop installers from GitHub Releases instead of committing them into the repo.

