prodex-0.2.94 is not a library.
Visit the last successful build:
prodex-0.20.0
prodex
Safe multi-account auto-rotate for codex.
prodex wraps codex with isolated profiles, built-in quota checks, and seamless account rotation.
Why prodex
- auto-rotate to another ready account when the current one is quota-blocked or temporarily unhealthy
- keep each account isolated in its own
CODEX_HOME - preserve continuation affinity so ongoing chains stay on the right account
- keep transport behavior close to direct
codex
Install
Crate page: crates.io/crates/prodex
Quick Start
Import your current codex login:
Or create a profile through codex login:
If you need device-code auth, pass it through unchanged:
Check quotas:
Run codex with safe auto-rotate:
Resume a saved Codex session directly:
Pin a specific profile when needed:
prodex run exec also preserves stdin passthrough, so prompt and piped input stay together:
|
Core Commands
Notes
- one
prodexprofile = one isolatedCODEX_HOME prodex loginstill uses the realcodex loginflow, including--device-authprodex loginwithout--profilefirst tries to read the ChatGPT account email fromtokens.id_tokeninauth.json, then falls back to the usage endpoint email when neededprodex run <session-id>forwards tocodex resume <session-id>prodex infosummarizes profile count, the installed prodex version and update status, running Prodex processes, aggregated quota pool, and a no-reset runway estimate from active runtime logsprodex quotalive-refreshes every 5 seconds by default, andprodex quota --allalso shows aggregated5handweeklypool remaining before the per-profile table- Prodex-owned screens adapt to terminal width, and live views can also adapt to terminal height
For a slightly longer setup guide, see QUICKSTART.md.