Magpie is an open source model router and menu-bar app for AI coding agents. It gives users one place to see and change which model each local agent is using. The project’s homepage describes the idea as “Every agent. Every model.” In practice, Magpie runs a local gateway on 127.0.0.1:3425 and translates between OpenAI Chat, OpenAI Responses, Anthropic Messages, and Google Gemini APIs so agents can use providers they do not natively support.
The most visible interface is a desktop menu-bar panel. It lists configured agents, shows their current model or profile, and lets the user click a value to switch models. The README also documents a normal window, a terminal UI, and a plain CLI. Supported agent examples include Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, Goose, Cursor CLI, Zed, Copilot CLI, Pi, Devin, Hermes Agent, Kimi Code, Muse Code, Cline CLI, and many others. Only installed or configured agents appear.
Magpie’s gateway is the technical center. It exposes OpenAI-compatible, Anthropic-compatible, and Gemini-compatible endpoints locally, then adapts requests to the selected provider. The reviewed docs mention streaming, tool calls, reasoning levels, token counting, model catalogs, and cross-API translation. This lets Codex use DeepSeek, Claude Code use Kimi or GLM, OpenCode use a Claude subscription, or Claude Code use GPT models through a Codex or ChatGPT sign-in where supported.
Provider management is another major feature. Magpie supports presets for Anthropic, OpenAI, Gemini, DeepSeek, Kimi, GLM, MiniMax, Qwen, Mistral, Groq, xAI, OpenRouter, Ollama, and other vendors or relays. Users can add API keys, custom relay URLs, local servers, or provider accounts derived from existing agent logins. Profiles can switch multiple agents at once, while routing modes can select models by intent, in order, or through smart routing.
Magpie is useful for developers who already run several coding agents and want control without editing config files by hand. It is also useful for cost management: a user can put budget models behind routine agents and keep stronger models for harder turns. The tool is MIT-licensed and free. Users still pay for provider APIs, subscriptions, or local hardware behind the models they route through Magpie.
For an OpenTools page, Magpie is especially relevant because coding-agent users often juggle several model accounts at once. The app turns that messy configuration problem into a local control plane: pick the model, point an agent at the gateway, and keep switching providers without rewriting every agent setup by hand.