Free desktop app that switches API providers for Claude Code, Codex, Gemini CLI and other coding agents in one click, and syncs MCP servers and skills.
opencodex
What is opencodex?
Free, open-source local gateway that runs OpenAI Codex, Claude Code, Claude Desktop and Grok Build on models from 40+ providers through one port.
- Pricing
- Free
- Free plan
- Yes
- Category
- Coding & Development
- Made by
- lidge-jun
- Released
- Updated
opencodex screenshots
opencodex features & details
opencodex is a local proxy for AI coding tools. It sits on one port on your machine and translates between the wire formats that coding agents speak and the APIs that model providers expose, so OpenAI's Codex, Claude Code, Claude Desktop and Grok Build can all run on whichever models you choose — Anthropic, Google, Kimi, DeepSeek, Groq, OpenRouter, Azure, Ollama Cloud and 40+ other built-in providers. Other tools are connected through configs it manages for you.
How it works
- Five adapters cover the Anthropic Messages API, Google Gemini, Azure, an OpenAI Responses passthrough, and any OpenAI-compatible Chat Completions endpoint.
- Native in the model picker – routed models appear in the Codex app next to the built-in ones, with reasoning-effort levels.
- Sub-agents – pin up to five routed or native models for Codex's
spawn_agent. - Claude Code –
ocx claudelaunches Claude Code against the same port, with every routed model in its/modelpicker. - Sidecars – a search and a vision model can be attached so text-only routed models still get web search and image understanding.
- Sign-in options – log in with an xAI, Anthropic or Kimi account (tokens refresh automatically), forward a ChatGPT login, or paste an API key.
A web dashboard shows proxy status, providers, models, sub-agent delegation, usage and logs.
Install
The desktop beta bundles the proxy, the dashboard and a tray icon for macOS 13+ (universal), Windows (.msi, not yet code-signed) and Linux (.AppImage or .deb). From a terminal: npm install -g @bitkyc08/opencodex, then ocx init to add a provider and connect Codex, and ocx start.
Pricing and licence
opencodex is free and MIT-licensed; you pay only for the provider accounts or API keys you plug into it. It is developed in the open on GitHub (lidge-jun/opencodex) and released frequently.
No reviews yet — sign in to write the first one
Apps similar to opencodex
The closest matches are CC Switch and Magpie. See every opencodex alternative compared by price and free plan.
Free, open-source model switcher that lets Claude Code, Codex, Gemini CLI and other coding agents run any provider's model through one local gateway.
Open-source agent IDE that runs Claude Code, Codex and other CLI agents in parallel worktrees, with bots you can task from Slack, Linear or GitHub.
Free, open-source AI agent app for desktop and mobile that wraps Claude Code, Codex and Pi in one interface and links all your devices.
Open-source Rust CLI that rewrites the shell commands AI coding agents run and strips noise from their output, cutting the tokens Claude Code, Cursor or Codex send to the model.