Magpie gateway lets Claude Code run Kimi and Codex run DeepSeek
11/04/2026 — 11/04, 16:20·1 sources (all)·1 reports (all)
Key takeaways
- A tutorial on the Juejin developer blog walks through Magpie, an open-source gateway that runs locally on 127.0.0.1:3425 and translates betw…
- Magpie rewrites agent config files automatically while preserving comments and indentation.
Background & analysis
Magpie is an open-source project by yetone. Its repository was created on September 23, 2026, and by November 4, 2026 it had accumulated 29,000 GitHub stars, with the latest tag at v0.1.2906. On November 4, 2026, a hands-on tutorial on Juejin introduced the project: run a local gateway at 127.0.0.1:3425 that speaks four APIs at once — OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and Gemini — and converts between them, preserving streaming output, tool calls and reasoning. That lets Claude Code, which only speaks the Anthropic protocol, call Kimi, while Codex, which speaks Responses, can call DeepSeek. The tutorial author notes that every agent hard-codes its model in its own config file in a different format, with keys and base URLs managed separately, so a paid subscription can only be used inside a single agent. According to the tutorial, Magpie has two core capabilities. First, it runs the local gateway described above. Second, it edits the agent's config file for you: once a model is clicked in the interface, Magpie changes only the few keys that need to change, keeping comments, ordering and indentation intact and writing atomically. The tutorial claims switching models takes four lines of commands, with no manual edit to settings.json and no export ANTHROPIC_BASE_URL; open a new Claude Code session and DeepSeek is already running behind it. The README also states when the tool is worth using: users running more than one agent, more than one provider or more than one account fit, while those who rely on a single agent and its own subscription and are satisfied with it do not. The visible progress so far stops at the tutorial's walkthrough of how to use Magpie.
AI-generated from 1 reports · updated 2 hours ago
Related AI tools
- Heat index
- 93
- All sources
- 1
- All reports
- 1
- First seen
- 3 hours ago
Reports on this story headlines open the original
A Juejin tutorial walks through Magpie, an open-source local gateway at 127.0.0.1:3425 that speaks OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and Gemini APIs and converts between them. This lets Claude Code run Kimi or DeepSeek and Codex use other providers. Magpie edits agent configs automatically while preserving comments and indentation.
掘金AI score 65
Other stories people are talking about
- Heat index 377DeepSeek Harness rolls out Creator Mode for custom plugins9 sources
- Heat index 69Open-source Claude Code Local runs Claude Code offline on Mac1 sources
- Heat index 66T3 Code open-sources a unified console for Claude Code, Codex and other agent CLIs1 sources
- Heat index 48Using Screenshots and Playwright to Fix UI Bugs with Claude Code1 sources
- Heat index 46Logs measure how much Claude Code message threads speed up sessions1 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

