AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Productivity › magpie
✦ Free & open sourceProductivity

magpie

Manage every AI coding agent's model and subscriptions from your menu bar.

Manage Every AI Agent Model

One menu bar screen to control models, keys, and routing for Claude Code, Codex, and more.

Free forever · open source · MIT
✓ Light setup✓ Browser-based✓ Real-time collaboration
7.3
ZEKAI
Essential multi-agent manager
Free & open source · Productivity
Ease of setup4
Usefulness9
Maintenance9.5
Community6.5
★ 1,248
GITHUB
Sep 2026
UPDATED
MIT
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

Magpie provides a single interface in your menu bar, terminal, or normal window to manage models across dozens of AI coding agents. It edits configuration files surgically while keeping comments and formatting intact, making it ideal for developers running multiple CLI agents.

Runs on
Cross-platform
Hosting
Desktop
Languages
Go
License
MIT

What it is

It runs a local gateway translating OpenAI and Anthropic APIs to whichever vendor serves your model, supporting streaming and tool calls. You can share existing subscriptions like Claude Code or Codex with other agents without pasting new keys, and group multiple models with smart routing based on quota or usage.

Who it's for

It suits developers and power users who juggle multiple AI coding agents like Claude Code, Codex, and Gemini CLI and want unified model control. It does not suit non-technical users who do not use command-line AI tools or configuration files.

Key features

Unified Model Picker

Lists every AI agent on your machine and lets you change models with a click.

Surgical Config Editing

Updates only the changed key in your settings files while preserving comments and ordering.

Shared Subscriptions

Exposes your logged-in Claude Code, Codex, or Copilot sessions to all other agents.

Advanced Routing Groups

Combines multiple models or providers with smart, order, rotate, or usage-based routing rules.

Terminal and Menu Bar

Provides a native menu bar app, a TUI version, and a plain CLI under a 15MB binary.

How to start

Up and running in 3 steps

1
Download the binary or run the terminal version to view all detected AI agents on your machine.
2
Add your provider API keys or import existing sessions from Claude Code and Codex.
3
Click any agent in the menu bar panel or TUI to assign models and routing groups.
Real talk

Our honest verdict

What's great

  • Modifies configuration files surgically without breaking your custom comments or indentation.
  • Shares active vendor subscriptions across all installed coding agents automatically.
  • Translates OpenAI and Anthropic APIs locally via a lightweight gateway supporting streaming and tool calls.
  • Creates routing groups that fail over or balance requests across multiple provider keys.

Where it falls short

  • Requires manual configuration and understanding of various CLI agent config paths.
  • Relying on a local proxy gateway means it must run in the background to handle agent requests.
  • Managing multiple vendor API keys and custom routing logic adds operational complexity.
Cost

Pricing & license

Free under its license. The only cost is running it yourself and the API fees or subscriptions for the underlying AI models you connect to it.

Paid work

Open remote AI-training roles

880 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: magpie for Productivity
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure magpie for you — and train your team.
Get it done for you ↗
Questions

FAQ

Which agents does magpie support?

It supports over twenty agents including Claude Code, Codex, Gemini CLI, OpenCode, Goose, Cursor, Copilot CLI, and Cline.

Does magpie store my API keys in shell environment variables?

No, magpie manages its own provider list and never reads keys from your shell environment.

How does model routing work?

You can group models across providers and set routing strategies like smart renewal timing, sequential fallback, rotation, or least-used.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Productivity — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google