October 17, 2026
A unified local gateway for AI coding agents. Switch models and providers right from the menu bar.

Product facts
- Type
- Desktop App
- Category
- AI & Machine Learning › AI Dev Frameworks
- Pricing
- Open source
- Platforms
- macOS · Windows · Linux · Docker
- License
- MIT
- Launched
- Oct 17, 2026
- Listed
- Oct 17, 2026
- Website
- github.com
Overview
magpie is a local gateway app written in Go that centralizes model configuration for multiple AI coding agents. It solves a core problem: different AI agents typically maintain their own config files, API Keys, and Base URLs, making it impossible to share subscription plans across tools.
With magpie, you can pick any model for any agent from a single interface. It atomically rewrites the corresponding keys in each agent's config file while preserving comments, order, and formatting.
Key Capabilities
- Unified Gateway: Runs a local service at
127.0.0.1:3425, translating between OpenAI Chat, OpenAI Responses, Anthropic Messages, and Gemini protocols, including streaming, tool calls, and reasoning. - Quota Failover: Using routing groups, it automatically switches to the next available account or model when one runs out of quota—agents never see an error.
- Multi-Provider Support: Add API Keys, local models, or directly use your logged-in subscriptions for Claude, ChatGPT, Copilot, Gemini, Grok, and more.
- Profiles: Save model settings for all agents as a named profile (e.g., "Budget", "Focus") and switch entire setups with one click.
- Multiple Interfaces: Available as a macOS menu bar app, Windows/Linux window, TUI, Web UI, and CLI.
Supported Agents
Supports over 60 agents, including Claude Code, Codex, Gemini CLI, Cursor CLI, Cline, Devin, and more. Any tool that accepts a Base URL can also be used by pointing its environment variable to the magpie gateway.
Who It's For
Built for developers who juggle multiple AI agents, providers, or accounts. If you only use a single agent with its official subscription, you don't need this tool.
Platforms
Runs on macOS, Windows, Linux, Docker, and Termux. The macOS build is signed, notarized, and supports automatic updates.
Key features
- Unified Local Gateway: Runs at 127.0.0.1:3425, translating and forwarding between OpenAI, Anthropic, and Gemini protocols.
- Cross-Agent Model Switching: Assign any provider's model to any agent from the menu bar or CLI, auto-updating config files.
- Quota Failover: Routing groups auto-switch to the next account or model when quota runs out, invisible to agents.
- Profile Management: Save model settings for all agents as named Profiles and switch entire setups with one click.
- Subscription Discovery: Reads agent login states and system keychains to auto-discover logged-in subscription accounts.
- Multi-Platform: Available as a macOS menu bar app, Windows/Linux window, TUI, Web UI, CLI, Docker, and Termux.
- CLI Operations: Add providers, switch models, manage routing groups, and check quotas via the command line.
- Universal Gateway: Any tool accepting a Base URL can use magpie by pointing an environment variable to the gateway.
Releases
Notify meQ&A
- Which AI agents does magpie support?AI-generated
- It supports over 60 agents, including Claude Code, Codex, Gemini CLI, Cursor CLI, Cline, Devin, Zed, and VS Code Chat. magpie only displays agents installed on your machine. Any tool that accepts a Base URL can also be used by pointing its environment variable to the gateway.
- How does it modify agent configurations?AI-generated
- magpie atomically rewrites the specific key in each agent's own config file, preserving the file's original comments, order, and formatting.
- What happens when a quota runs out?AI-generated
- Using routing groups, magpie automatically routes requests to the next available account or model when one runs out of quota. The agent never sees an error.
- Which operating systems are supported?AI-generated
- It supports macOS, Windows, and Linux, and also runs on Docker and Termux. The macOS build is signed, notarized, and supports automatic updates.
- How do I install magpie?AI-generated
- Download the app from usemagpie.ai, or run curl -fsSL https://usemagpie.ai/install.sh | sh in your terminal. Installation via go install or Docker images is also supported. Use the --proxy or --mirror flags behind a firewall.
- Does it automatically read my subscription accounts?AI-generated
- By default, magpie discovers logged-in subscription accounts by reading agent login files and the system keychain. You can disable this in Settings → Privacy → Subscription accounts, or run magpie accounts discovery off. Set MAGPIE_NO_ACCOUNTS=1 to disable it for a single run.
- I only have one agent and one subscription. Do I need it?AI-generated
- No. If you only use a single agent with its vendor's own subscription plan and that works for you, you don't need magpie. It's designed for users managing multiple agents, providers, or accounts.
This product has no owner yet
It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.
Claim this productAlternatives
The product content on this page was translated by AI from the author's original.



