DEDUPED We read 1,000+ AI sources. You read one email. Subscribe free

AI USE CASES

How to run your coding agent on a cheaper or different model with magpie

Point Codex, Claude Code or Gemini CLI at DeepSeek, Kimi or GLM without hand-editing each agent's config.

Seen in the wild

Evidence: X, Oct 2026 · X, Oct 2026 · X, Oct 2026

Similar to what people reported. The steps and prompt below are AI written, not copied from those posts.

Who it is forDeveloper who likes Codex or Claude Code but wants to try a cheaper model for everyday edits

The problemEach agent stores its model, keys and base URL in its own file and format, so trying another model means editing configs by hand.

The outcomeOne of your installed agents answers on the model you picked, chosen from a searchable list, with its config rewritten safely.

What you need first

  • macOS, Windows, Linux, Docker or Termux
  • At least one coding agent already installed (for example Claude Code, Codex or Gemini CLI)
  • At least one provider: an API key, a local model server, or a signed-in subscription such as Claude, ChatGPT, Copilot, Gemini or Grok
  • Bun is downloaded automatically the first time a plugin needs it

Steps

  1. Download the app from usemagpie.ai, or run: curl -fsSL https://usemagpie.ai/install.sh | sh
  2. Run: magpie provider add deepseek sk-<your-key>
  3. Run: magpie codex moonshot/kimi-k2.5 (or: magpie claude deepseek/deepseek-v4-pro)
  4. Start a new agent session and ask it to explain a file in your repo

Prompt for your agent

Install yetone/magpie, add a DeepSeek provider with the key in <DEEPSEEK_KEY_ENV_VAR>, then point Claude Code at deepseek/deepseek-v4-pro. Show me the command output, and verify by starting a new session that it is now on the new model.

Caveat. Changes apply to new agent sessions, not one already running. Preset names like deepseek are used in the README examples; confirm the exact model IDs in your picker.

About magpie

A menu bar app to pair any coding agent with any model, like Codex on DeepSeek. Part of this week's top 10 repos: ranked #9 on Repo Radar. View yetone/magpie on GitHub.

More with magpie

See all use cases for yetone/magpie

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page