TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 26, 2026 · View on GitHub →

yetone/magpie

LLM API gateway and router

#11 on GitHub's monthly trending, November 26, 2026 · trending 4 of the last 30 days

Run any subscribed AI model across all your agents

Imagine running Claude Code with a ChatGPT Pro subscription or Codex with Claude Max. By consolidating different subscriptions and API keys in one place, you can select any model you own regardless of the agent you are using. magpie is a local gateway app designed for this connection. It automatically switches to the next account when one account's quota is exhausted, allowing you to change models immediately without editing configuration files.

Flexible matching of models and agents

Each AI agent stores model information in its own configuration file, so using the same subscription in a different agent previously required manual configuration changes. magpie integrates this process into a single app. When you select a desired model from the provider list, the corresponding agent's configuration file is updated automatically. Existing comments and formatting in the configuration are preserved. Using the profile feature, you can group settings for multiple agents into modes like 'budget mode' or 'focus mode' and switch the entire setup with a single command.

Automatic switching upon quota exhaustion

Subscription-based AI services have hourly or monthly usage limits. When these limits are reached, errors often occur, interrupting work. magpie allows you to bundle multiple accounts or models into routing groups; when one account's limit is reached, it automatically sends requests to the next account. In 'smart' mode, it prioritizes the account with the nearest renewal time to avoid wasting remaining quota. During this process, the agent does not recognize the error, so the workflow is not interrupted.

Masking sensitive information in prompts

When an agent reads code or configuration files, sensitive information such as API keys or passwords may be included in the prompt. When magpie's privacy masking feature is enabled, these values are replaced with placeholders locally before being sent to the server. When the response returns, the values are restored to their original state, allowing the agent to perform tasks using the actual values. This feature is disabled by default and must be activated in the settings. Masked values are stored only in memory and are not written to disk.

Installation and support scope

It is available as a desktop app, terminal UI, web UI, and CLI on macOS, Windows, and Linux. It also runs on Docker and Termux. You can install it by running the installation script or using the go install command, and macOS builds are signed and notarized. It supports dozens of agents, including Claude Code, Codex, Gemini CLI, Cursor, and VS Code. The README specifies the MIT license and states that it is unrelated to Apache Magpie.

Pre-use considerations

magpie is useful if you use multiple AI agents simultaneously or hold subscriptions from multiple providers. Conversely, it may not be necessary if you use only a single agent and a single subscription. When privacy masking is enabled, the model cannot see the actual values of sensitive information, which limits tasks that require analyzing those specific values. Additionally, this repository does not accept pull requests; bug fixes and feature requests are handled through the Discord community. It is recommended to verify that your agent list is included in the supported targets before installing.

Written by AI from this repository's README on November 26, 2026. For the facts, the original on GitHub is the reference.

By the numbers

GitHub trending history
4 days between Jun 19, when Trend began recording, and Nov 26, 2026 · first on Nov 23

Read from GitHub, as of November 26, 2026.

Language
Go
Topics
ai-agents · chatgpt · claude · claude-code · codex · deepseek · gemini-cli · github-copilot
Stars
41,973
Contributors
172
Forks
3,856
Latest release
v0.1.4897 · November 26, 2026
Commits
9,263
Last commit
November 26, 2026
Open issues
5,001+
Open pull requests
16

Related repositories

View on GitHub → · Homepage