Introduction

Magpie is an open-source local model gateway that addresses the issue of programming agents using mutually incompatible protocols: Codex only recognizes OpenAI Responses, while Claude Code only understands Anthropic Messages. It runs a gateway on your computer to convert between these protocols in both directions, ensuring that all aspects of data flow, tool calls, and inference processes are preserved.

Providers only need to add them once. Whether it’s DeepSeek, Kimi, GLM, Qwen, OpenRouter, Ollama, or the Claude and ChatGPT subscriptions you have already purchased, you can then use these agents within Codex with DeepSeek, or use them with Claude Code via Kimi. Dozens of different intelligent agents are supported, and the system also offers features for request desensitization and routing. In the menu bar, you can see which model is currently being used by each agent.

It is free and open-source, available for macOS 12 and later versions, as well as for Windows and Linux. It is ideal for developers who use multiple programming tools simultaneously and wish to switch between different models flexibly.


Visits:18
Updated:2026-11-21
Follow "互助箩筐" on WeChat
Daily AI tools, tutorials and news
互助箩筐公众号二维码
Scan or long-press to follow