
duolahypercho/codex-router
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Роутер внешней модели для Codex с управляемым Kimi OAuth/API, DeepSeek, безопасной миграцией и откатом.
Обзор
Это и есть полная установка. Она спрашивает, каких провайдеров вы хотите, и сохраняет ввод учетных данных в локальных приватных подсказках. 1. Полностью закрыть и снова открыть Codex. 2. Начать новую задачу и выбрать маршрутизированную модель. 3. Открыть для использования Центра управления. На macOS открывайте из Spotlight или ~/Applications; иконка остаётся в строке меню, когда Control Center закрыт. Виджет рабочего стола уже включён: выберите приложение в меню для отражения. Это передвижная панель роутера Codex, а не элемент в галерее macOS. macOS пока не имеет публичного .dmg; приведённая выше команда создаёт и устанавливает приложение локально. Если запросит Xcode Command Line Tools, выполните xcode-select --install и повторите команду. Используйте Anthropic, Kimi, DeepSeek, xAI, GitHub Copilot и другие внешние модели внутри приложения Codex и CLI. Одна локальная установка также может обслуживать DeepSeek Harness и Gemini CLI, а также Cursor Agent и Cursor App, Claude Code и OpenClaw. Ваши учетные данные провайдера остаются на вашем компьютере.
Обзор (машинный перевод)
Установите всё (рекомендую)
Это настройка по умолчанию: управляемый провайдер + Центр управления электронами + приложение для трека/меню + виджет для рабочего стола macOS.
macOS или Linux
Скопируйте и вставьте это в Terminal:
Окна
Скопируйте и вставьте это в PowerShell:
Это полная установка. Он спрашивает, каких поставщиков вы хотите, и оставляет Ввод аккредитации в частных местных запросах.
Когда всё закончится:
- Полностью закрыть и снова открыть Codex.
- Начните новую задачу и выберите маршрутизированную модель.
- Откройте Codex Router, чтобы воспользоваться Центром управления.
На macOS откройте Codex Router из Spotlight или ~/Applications; его иконка
Остаётся в строке меню, когда Центр управления закрыт. Виджет рабочего стола —
уже включено: выберите Настройки → Dynamic Island → Desktop из
меню для отображения. Это передвижная панель роутера Codex, а не элемент
в галерее Редактировать виджеты на macOS.
macOS пока не имеет публичного .dmg; приведённая выше команда создаёт и устанавливает
локальное приложение. Для этой сборки требуется полноценное приложение Xcode, а не только отдельное
Инструменты командной строки, поскольку они содержат макросы SwiftUI и целевые WidgetKit. T
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Codex Router
Use external models in Codex and other coding clients through one local router. Store provider credentials locally, share one installation across clients, and keep native GPT access when you have a valid ChatGPT login.
Install · First use · Providers · Commands · Documentation
What it supports
| Client | Integration |
|---|---|
| Codex App and CLI | Native and external models in the model picker; Linux support covers the CLI |
| DeepSeek Harness | Managed provider routes in its settings |
| Gemini CLI | Managed endpoint, key, and default-model environment block |
| Cursor Agent / Cursor App | Local Agent launcher / separately keyed public HTTPS edge for App BYOK |
| Claude Code | Separate claude-router launcher using the local Messages adapter |
| OpenClaw | Managed Responses provider |
| opencode, pi, omp, Command Code, Hermes Agent | Provider configuration published into the existing client |
The Control Center manages connections, model visibility, usage, and service health. macOS uses a native menu-bar host with an embedded Electron window; Windows and Linux use an Electron window and tray.
Image, search, and subagent capabilities depend on the selected model route. Some features use additional provider requests and quota. See the Codex guide and client guide for limitations.
Install
Requirements
- Codex App or CLI for the default Codex setup; install another supported client when using its integration.
- Node.js 22.19+; a maintained Node.js 24 LTS release is recommended.
- Git for managed checkout installation, updates, and rollback.
uvor Python 3.10+ withvenvfor the default compatibility-enabled source installation. An explicit compatibility-layer opt-out skips Python installation and probes. Source dependency setup follows the stored compatibility policy. Homebrew installs the formula’s Python dependencies.- On Windows, PowerShell must run in
FullLanguagemode and policy must allowAdd-Type. - To build the macOS desktop companion locally, the full Xcode app is required.
Choose one installation method. Setup asks which providers to enable and uses private local prompts for credentials. Live inference tests run only when explicitly requested and consume the selected provider’s quota.
Guided source installation
macOS / Linux — Terminal
curl -fsSL https://raw.githubusercontent.com/duolahypercho/codex-router/main/install.sh \
| sh -s -- --target codex --guided --with-tray
Windows — PowerShell
$installer = Join-Path $env:TEMP "codex-router-install.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/duolahypercho/codex-router/main/install.ps1 -OutFile $installer
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add duolahypercho/codex-router