magpie: Run Any Model in Any AI Coding Agent
GitHub Open Source
Unify all your AI coding agents to any model and switch providers from the menu bar using magpie.
Repository snapshot
- Repository: yetone/magpie
- Language: Go
- License: MIT
- Stars: 39 493
- Forks: 3 601
Daily open-source picks: GitHub Open Source on Telegram
What it is
Magpie is a local gateway and menu bar application designed to unify how AI coding agents connect to large language models. Instead of forcing each assistant to maintain its own separate API keys, base URLs, and configuration formats, magpie routes traffic through a single local endpoint at 127.0.0.1:3425. It translates requests between OpenAI, Anthropic, and Gemini formats on the fly.
Why it matters
Developers using multiple AI tools quickly accumulate fragmented configurations, disparate subscription limits, and scattered API keys. When one provider hits a rate limit or runs out of quota, work grinds to a halt. Magpie removes this friction by allowing seamless switching between providers and setting up automatic failover routing groups.
Key features
- Translate requests between OpenAI Chat, OpenAI Responses, Anthropic Messages, and Gemini formats.
- Configure automatic failover routing groups to switch providers when rate limits are hit.
- Mask local secrets, passwords, and tokens before prompts leave your machine.
- Save and switch complete multi-agent setups instantly using named profiles.
- Inspect remaining quotas across all connected plans directly from the command line.
Quick start
To install the desktop application and CLI tool, run the installation script:
curl -fsSL https://usemagpie.ai/install.sh | shWho should try it
This tool is built for developers and engineers who actively use multiple AI coding assistants and want a centralized way to manage their models, API keys, and subscription limits without manual configuration edits.
Verdict
Magpie solves a genuine fragmentation problem in modern AI-assisted development. If you rely on multiple coding agents, it saves considerable configuration overhead. If you only use a single tool with its native provider, you can safely skip it.
Continue exploring
Get the next pick in Telegram: Follow GitHub Open Source
Curated from the repository README and metadata. No hands-on test is claimed; evaluate it in a sandbox before production use.