DC

duolahypercho/codex-router

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

3968 stars 品質 84 トレンド 49MIT

Codex用の外部モデルルーターで、Kimiのガイド付きOAuth/API、DeepSeek、安全な移行、ロールバックを備えています。

概要

これが完全なインストールです。どのプロバイダーを選びたいかを尋ね、認証情報の入力はプライベートなローカルプロンプトで保持されます。 1. 完全に終了してコデックスを再起動する。2. 新しいタスクを開始し、ルーティング済みのモデルを選択する。3. コントロールセンターを使用するために開く。 macOSでは、Spotlightまたは~/Applicationsから開きます。コントロールセンターを閉じている間もそのアイコンはメニューバーに残ります。デスクトップウィジェットはすでに含まれています。メニューバーアプリから表示してください。これはmacOSのギャラリーのアイテムではなく、可動式のCodex Routerパネルです。 macOSにはまだ公開.dmgがありません。上記のコマンドはアプリをローカルでビルドしインストールします。Xcodeコマンドラインツールを求められた場合は、xcode-select--installを実行し、同じコマンドを繰り返してください。 Anthropic、Kimi、DeepSeek、xAI、GitHub Copilot、その他の外部モデルをCodexアプリとCLI内で使用してください。ローカルインストール1つでDeepSeek HarnessやGemini CLI、さらにCursor AgentとCursor App、Claude Code、OpenClawも利用できます。プロバイダーの認証情報はパソコンに残ります。

概要(AI 翻訳)

すべてインストール(推奨)

これがデフォルトのセットアップです:ガイド付きプロバイダー設定 + Electron Control Center + トレイ/メニューバーアプリ+macOSデスクトップウィジェット。

macOSかLinuxか

これをTerminalにコピー&ペーストしてください:

ウィンドウズ

これをPowerShellにコピー&ペーストしてください:

これが完全なインストールです。どのプロバイダーを選び、どのプロバイダーを選び続けるかを尋ねます プライベートローカルプロンプトでの認証情報入力。

終わった時:

  1. 完全に退出し、Codexを再開する。
  2. 新しいタスクを開始し、ルーティングモデルを選択します。
  3. コントロールセンターを使用するためにCodex Routerを開く。

macOSでは、Spotlightまたは~/ApplicationsからCodex Routerを開きます。そのアイコン コントロールセンターを閉じている間はメニューバーに残ります。デスクトップウィジェットは すでに含まれている:デスクトップ→動的島設定→を選択してください。 メニューバーアプリで表示できます。アイテムではなく、移動可能なCodex Routerパネルです macOSのEdit Widgets**ギャラリーに掲載されています。

macOSにはまだパブリック.dmgはありません;上記のコマンドはビルドとインストールを行います アプリはローカルで。そのビルドはスタンドアロンだけでなく、Xcodeアプリ全体の機能を必要とします コマンドラインツールは、SwiftUIマクロとWidgetKitのターゲットを含むためです。その

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Codex Router

English · 简体中文 · 日本語

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.
  • uv or Python 3.10+ with venv for 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 FullLanguage mode and policy must allow Add-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
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add duolahypercho/codex-router
MCP 初心者?mcpskill.org のガイドから始めましょう →