Route Codex and Claude Code through an opencodex provider proxy
Run a local proxy that lets Codex and Claude Code use configured LLM providers, routed models, and account pools while keeping the normal coding-agent workflow.
Prerequisites
Node.js 18+, @bitkyc08/opencodex, Codex CLI/App/SDK or Claude Code, provider credentials or OAuth
Installation
Prerequisite: Node.js 18 or newer. The Bun runtime is bundled by the npm package.
Install the published proxy package:
- npm install -g @bitkyc08/opencodex
If your package manager blocks bundled scripts, upstream documents this npm install form:
- npm install -g --allow-scripts=bun @bitkyc08/opencodex
Start configuration with the upstream CLI:
ocx init
Extracted from upstream docs: https://raw.githubusercontent.com/lidge-jun/opencodex/HEAD/README.md