Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
ChatGPT Coding By Emily Carter

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

  1. Install from usemagpie.ai or run curl -fsSL https://usemagpie.ai/install.sh | sh.
  2. Open magpie, go to Providers, Add provider, then pick a preset and paste an API key (for example DeepSeek or Kimi).
  3. Start an agent on that model, for example magpie codex moonshot/kimi-k2.5 or magpie claude deepseek/deepseek-v4-pro.
  4. 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.

Share on X

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

All ChatGPT tricks →