What do you want to do?
4 use cases
-
Run Claude Code on DeepSeek instead of Claude
Point Claude Code at a DeepSeek model through Magpie with one provider key and one command.
- REPO
yetone/magpie - Claude Code
- Codex
- Software and DevOps
- Intermediate
View prompt
Using the yetone/magpie repository, install magpie, add the provider <provider-name> with the API key <api-key>, and run `magpie claude <provider-name>/<model-name>`. Report the output of the command and confirm that a new Claude Code session answers from that model.
- REPO
-
Keep an agent working when one quota runs out
Group two models from different subscriptions so the agent moves to the other one when a quota runs out.
View prompt
Using the yetone/magpie repository, create a routing group named <group-name> with models=<provider/model>,<provider/model> and routing=smart, then run `magpie claude group/<group-slug>`. Report the group definition and confirm the Routing view shows a decision for one test request.
-
See what is left on every AI plan in one command
Use Magpie quota to list remaining balances and quota windows for all keys and accounts.
- REPO
yetone/magpie - Software and DevOps
- Beginner
View prompt
Using the yetone/magpie repository, install magpie and run `magpie quota`. Report the remaining balance or quota window for each configured key and account, and flag any entry with no data.
- REPO
-
Send any OpenAI or Anthropic tool through the Magpie gateway
Set three base URL variables so any tool that accepts a base URL uses the Magpie gateway.
- REPO
yetone/magpie - Software and DevOps
- Intermediate
View prompt
Using the yetone/magpie repository, confirm the gateway is listening on 127.0.0.1:3425, export OPENAI_BASE_URL=http://127.0.0.1:3425/v1 and OPENAI_API_KEY=magpie, and run <tool-command>. Report whether the tool returns an answer and whether the request appears in magpie's usage data.
- REPO
What people are building with Magpie
-
Built withGitHub
Packaged magpie as an unofficial Nix flake
An unofficial Nix flake packages magpie, the model and provider manager for AI coding agents; the repo holds only the packaging.
By @xy1092 on GitHub
-
Built withGitHub
Built a pi extension that trims old images and huge tool output for magpie
When the active model's provider matches factory or magpie, the extension replaces older inline images and oversized tool output to keep requests under the 413 size limit.
By @psylch on GitHub
Real builds shared on X, Hacker News, Reddit, DEV and GitHub, summed up by Deduped from each post and its links; each card links to the original post. See what people are building with other repos
Quick start with Magpie
- Check you have what it needs: A computer running macOS, Windows or Linux (or Docker or Termux); An API key for a provider such as DeepSeek, or a signed-in subscription such as Claude or ChatGPT; The agent you want to route, such as Claude Code or Codex, already installed.
- Open yetone/magpie on GitHub and read the README and license.
- Install Magpie with
curl -fsSL https://usemagpie.ai/install.sh | sh, or download the app from usemagpie.ai. - Add your DeepSeek key with
magpie provider add deepseek sk-…, replacing the placeholder with your own key. - Set Claude Code to DeepSeek with
magpie claude deepseek/deepseek-v4-pro. - Start a new Claude Code session, which runs on the new model.
These steps come from our top use case, Run Claude Code on DeepSeek instead of Claude, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for yetone/magpie
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers and power users who run more than one coding agent, provider or account and want one place to switch models.
- Why it is hot31k stars on GitHub as of Nov 6, 2026, launched Sep 23, 2026
- LanguageGo
- Sourcegithub.com/yetone/magpie · Back to Hot repos
Requirements
- A computer running macOS, Windows or Linux (or Docker or Termux)
- An API key for a provider such as DeepSeek, or a signed-in subscription such as Claude or ChatGPT
- The agent you want to route, such as Claude Code or Codex, already installed
Add this badge to your README
Maintain Magpie? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/yetone-magpie/?utm_source=github&utm_medium=badge&utm_campaign=yetone-magpie)
HTML
<a href="https://dedupedai.com/use-cases/yetone-magpie/?utm_source=github&utm_medium=badge&utm_campaign=yetone-magpie"><img src="https://dedupedai.com/badge/yetone/magpie.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Magpie
What is Magpie?
magpie is a local gateway and menu bar app that lets agents like Claude Code, Codex and Gemini CLI use models from many providers and subscriptions, with routing and failover. It is an open-source project on GitHub: https://github.com/yetone/magpie.
How do I use Magpie?
Install Magpie with curl -fsSL https://usemagpie.ai/install.sh | sh, or download the app from usemagpie.ai; then add your DeepSeek key with magpie provider add deepseek sk-…, replacing the placeholder with your own key; set Claude Code to DeepSeek with magpie claude deepseek/deepseek-v4-pro. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Magpie for?
Developers and power users who run more than one coding agent, provider or account and want one place to switch models.
What can I do with Magpie?
4 use cases so far, for example: Run Claude Code on DeepSeek instead of Claude; Keep an agent working when one quota runs out; See what is left on every AI plan in one command. Each has steps and a copy-paste agent prompt.
What do I need to run Magpie?
A computer running macOS, Windows or Linux (or Docker or Termux); An API key for a provider such as DeepSeek, or a signed-in subscription such as Claude or ChatGPT; The agent you want to route, such as Claude Code or Codex, already installed.
What are alternatives to Magpie?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Magpie safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.