Run Codex on DeepSeek and Claude Code on Kimi: magpie lets every coding agent use any model
magpie is a free, open-source app with a local gateway (127.0.0.1:3425) that sits between your coding agents and model providers. It translates between the OpenAI Chat, OpenAI Responses, Anthropic Messages and Gemini formats, so you can pick a model per agent: Codex on DeepSeek, Claude Code on Kimi, Gemini CLI on GLM, or a local model. It supports dozens of agents, can fail over between providers, and can mask keys, emails and card numbers before requests leave your computer. The repo has passed 27,000 GitHub stars and shipped a new release on November 1.
Why it matters
Each agent normally locks you into its own vendor's models and config files. One local switchboard makes it easy to try cheaper or faster models in the agent you already like.
Who it's for
Developers who use Codex, Claude Code or Gemini CLI and want to try DeepSeek, Kimi, GLM, OpenRouter or local Ollama models without rewiring each tool.
How to try it
- Install from usemagpie.ai or run curl -fsSL https://usemagpie.ai/install.sh | sh.
- Open magpie, go to Providers, Add provider, then pick a preset and paste an API key (for example DeepSeek or Kimi).
- Start an agent on that model, for example magpie codex moonshot/kimi-k2.5 or magpie claude deepseek/deepseek-v4-pro.
- For any other tool, set its base URL to http://127.0.0.1:3425 (or /v1 for OpenAI-style tools).
Plan & availability: Free and open source (MIT) for macOS and Linux, plus a Go install and Docker image. You pay your chosen providers as usual. magpie can also route through plans you're signed in to (Claude, ChatGPT and others); check each provider's terms before using a subscription outside its own apps, and you can turn subscription discovery off in Settings. Checked November 1, 2026.
Related
Source: @yetone on github.com
Written by Emily Carter from the original post. Checked Nov 1, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.
codexclaude-codedeepseekkimiopen-sourcegateway
More ChatGPT tricks
- Codex Cloud can now drive a browser and desktop, so it tests the app it builds · Dec 1
- Copilot team customizations are GA, so stop setting up the same plugins one by one · Nov 23
- VS Code 1.146 deprecates the Local harness, so migrate your Copilot sessions before February · Nov 23
- GPT-Live-1.1 is in the API, and idle voice sessions now cost $0.02 a minute · Nov 21