coderouter CLI
coderouter - route Codex/Claude Code traffic across multiple ChatGPT Pro/Claude Max/OpenCode subscriptions and API keys.
cr add
cr codex
cr pi
cr naked
coderouter and cr are equivalent executable names. With no command, they
show the account and usage summary. Agent routing is always explicit.
Commands
cr account and usage summary
cr codex [arguments...] Codex through coderouter
cr opencode [arguments...] OpenCode through coderouter
cr pi [arguments...] Pi through coderouter (experimental)
cr naked [arguments...] ordinary Codex, with coderouter bypassed
cr direct [arguments...] alias for naked
cr add add Codex or OpenCode Go interactively
cr remove [account] [--yes] remove a subscription
cr accounts list available subscriptions
cr usage show quota state
cr doctor diagnose login and the Vercel data plane
cr login / cr logout manage this machine's coderouter session
cr login --device-auth copy a code into coderouter.dev/authorize
The Ratatui add flow supports direct Codex OAuth/PKCE and OpenCode Go device authorization. Direct Codex authentication has an explicit portable-PTY fallback through the official CLI. Normal agent credentials are untouched.
The production control plane is https://coderouter.dev. coderouter uses a
separate session config and never overwrites normal agent configuration.
CODEROUTER_API_URL can override the origin for staging and loopback tests.
Routing
The CLI routes directly to the Vercel data plane at coderouter.dev. It does
not install Subrouter, a local daemon, Go code, or GCP tooling.
cr pi creates an ephemeral Pi provider extension for the current process. It
captures the route token during extension startup and immediately removes it
from Pi's process environment before tools can inherit it. It never writes the
token to Pi config and leaves normal providers, settings, extensions, and
sessions untouched.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coderouter-0.2.2-py3-none-win_amd64.whl.
File metadata
- Download URL: coderouter-0.2.2-py3-none-win_amd64.whl
- Upload date:
- Size: 6.6 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a3d5fcdfab106a565643dff4ce14a35bf671d371bf2ca6c0925a9ca3e6e468a
|
|
| MD5 |
f2a7d2a598b7cb626f8f55e380d34e3b
|
|
| BLAKE2b-256 |
db57c118d4db717401ac2ceeb7f5fc5e87b32c56a239907810701ef52fae58f4
|
Provenance
The following attestation bundles were made for coderouter-0.2.2-py3-none-win_amd64.whl:
Publisher:
publish-pypi.yml on manaflow-ai/coderouter-releases
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coderouter-0.2.2-py3-none-win_amd64.whl -
Subject digest:
8a3d5fcdfab106a565643dff4ce14a35bf671d371bf2ca6c0925a9ca3e6e468a - Sigstore transparency entry: 2374358585
- Sigstore integration time:
-
Permalink:
manaflow-ai/coderouter-releases@bb0be7faef336d6301f54b823497bab63556def3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/manaflow-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bb0be7faef336d6301f54b823497bab63556def3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file coderouter-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: coderouter-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
859b50d88d7f206441842f6e328625880ec80cb3c83377e0fa9a699e0e442e6c
|
|
| MD5 |
612027e05efe257afa0054d18dba65ae
|
|
| BLAKE2b-256 |
3f34d31dee4f2a2862b41fca39d0927bcf21b55c9889e031fd92180747f9a681
|
Provenance
The following attestation bundles were made for coderouter-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
publish-pypi.yml on manaflow-ai/coderouter-releases
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coderouter-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
859b50d88d7f206441842f6e328625880ec80cb3c83377e0fa9a699e0e442e6c - Sigstore transparency entry: 2374359572
- Sigstore integration time:
-
Permalink:
manaflow-ai/coderouter-releases@bb0be7faef336d6301f54b823497bab63556def3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/manaflow-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bb0be7faef336d6301f54b823497bab63556def3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file coderouter-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: coderouter-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0159cb6bd5e9b5854584a801d7b0702da7d3ae2cd90e4a46e1ab6ae45e1e941
|
|
| MD5 |
f8c8c87a66f23088c7ebe7c316f8fe45
|
|
| BLAKE2b-256 |
e001e48393bb8992ee231b2639cf633f83ddbdfc096167fd5b3081c44eded864
|
Provenance
The following attestation bundles were made for coderouter-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
publish-pypi.yml on manaflow-ai/coderouter-releases
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coderouter-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
a0159cb6bd5e9b5854584a801d7b0702da7d3ae2cd90e4a46e1ab6ae45e1e941 - Sigstore transparency entry: 2374359253
- Sigstore integration time:
-
Permalink:
manaflow-ai/coderouter-releases@bb0be7faef336d6301f54b823497bab63556def3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/manaflow-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bb0be7faef336d6301f54b823497bab63556def3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file coderouter-0.2.2-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: coderouter-0.2.2-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.3 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
054e9e50d16611676423b9a1e0e6c212dd855675e96c14d2718e8442b3c2a4ca
|
|
| MD5 |
f6647dcb1bfd96893ac11311e2a20fcc
|
|
| BLAKE2b-256 |
84cd88bee7bf025971cc7e53650d7916e38eece15b0c8cb19a0924c2425a547c
|
Provenance
The following attestation bundles were made for coderouter-0.2.2-py3-none-macosx_11_0_arm64.whl:
Publisher:
publish-pypi.yml on manaflow-ai/coderouter-releases
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coderouter-0.2.2-py3-none-macosx_11_0_arm64.whl -
Subject digest:
054e9e50d16611676423b9a1e0e6c212dd855675e96c14d2718e8442b3c2a4ca - Sigstore transparency entry: 2374358930
- Sigstore integration time:
-
Permalink:
manaflow-ai/coderouter-releases@bb0be7faef336d6301f54b823497bab63556def3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/manaflow-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bb0be7faef336d6301f54b823497bab63556def3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file coderouter-0.2.2-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: coderouter-0.2.2-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 4.5 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e56c715860fb5a34bda4d11f9e528e5e5cdfe58b75e0aa4a92b2ab8c0ce09575
|
|
| MD5 |
e53096748d63defd3189ba7f29637cc4
|
|
| BLAKE2b-256 |
1ffabc4775d0613235906d84a1380acc614d09ec989eb190f4ddb3d60ae45efe
|
Provenance
The following attestation bundles were made for coderouter-0.2.2-py3-none-macosx_10_12_x86_64.whl:
Publisher:
publish-pypi.yml on manaflow-ai/coderouter-releases
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coderouter-0.2.2-py3-none-macosx_10_12_x86_64.whl -
Subject digest:
e56c715860fb5a34bda4d11f9e528e5e5cdfe58b75e0aa4a92b2ab8c0ce09575 - Sigstore transparency entry: 2374359933
- Sigstore integration time:
-
Permalink:
manaflow-ai/coderouter-releases@bb0be7faef336d6301f54b823497bab63556def3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/manaflow-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bb0be7faef336d6301f54b823497bab63556def3 -
Trigger Event:
workflow_dispatch
-
Statement type: