yangfei4913438 / codex-deepseek
PublicProtocol translation proxy — converts OpenAI Responses API to Chat Completions API, enabling Codex to use DeepSeek or any OpenAI-compatible model via cc-switch.
This is an open-source translation tool that acts as a bridge between Codex (an AI coding assistant) and DeepSeek or any other AI model that uses a different communication format. It runs locally on your computer, converting requests and responses in real-time so you can use your preferred AI model with Codex. The project is well-documented, uses only standard Python tools, and works alongside cc-switch to manage the connection.
How It Works
You've been using Codex for coding help, but you want to try DeepSeek or another AI model instead of the default.
You grab this small program that acts like a bridge between Codex and your preferred AI model.
You enter your API credentials for DeepSeek or another compatible AI provider so the tool can talk to it.
With one click, the translation service starts running on your computer, ready to convert messages back and forth.
cc-switch handles the configuration automatically
You fill in the connection details yourself
Every time you ask Codex a question, the bridge quietly converts it into your AI model's language and translates the answer back.
You get coding help from DeepSeek or any compatible model, as if it were built into Codex from the start.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.