What opencodex does
opencodex is an open-source gateway that sits between your AI coding tools and the models behind them. It runs a small local HTTP server (default localhost:10100) that serves both the OpenAI Responses API that Codex speaks and the Anthropic Messages API that Claude Code speaks, then translates each request to whichever provider you route it to. The project says this works with zero client patches and keeps streaming, tool calls, reasoning and images where the target model supports them. Five adapters (Anthropic Messages, Google Gemini, Azure, an OpenAI Responses passthrough and any OpenAI-compatible Chat Completions endpoint) cover 40+ built-in providers, including Anthropic, Google, xAI, Kimi, Ollama Cloud, Groq, OpenRouter, DeepSeek and GLM, plus local models.
Setup is npm install -g @bitkyc08/opencodex, then ocx init to add a provider and wire it into your Codex config, ocx start to run the proxy and ocx claude to launch Claude Code through it; ocx stop restores native Codex. A beta desktop app bundles the proxy, a web dashboard and a tray icon for macOS 13+ (universal), Windows x64 (the installer is not code-signed yet, per the download page) and Linux (AppImage and .deb). Natively configured clients are Codex (CLI, app and SDK), Claude Code, Claude Desktop and Grok Build; other tools such as Qoder and WorkBuddy get an exported config, and anything that accepts a custom OpenAI or Anthropic base URL can point at the local port.
