Digital Garden

Every Bird to One Roost: A Pilgrimage to the 22.4k-Star magpie, the Hourly Release Cadence, and the Unified Routing Layer of the Agent Era

2026-10-26 · ~4 min read · AI gateway · magpie · routing · pilgrimage

Every agent worships its own god, and every subscription is locked inside its own temple — magpie’s slogan is a single line: “Every agent’s model. One place.” The object of today’s pilgrimage is the finest specimen on the unified-routing-layer track.

I. The Problem It Solves

Every coding agent maintains its own model configuration, and every subscription serves only its own house’s tools. magpie raises a gateway on the local machine (default 127.0.0.1:3425) and gathers all agents and models into one place: Claude Code running Kimi, Codex running DeepSeek — no longer trespass; and subscriptions already logged in can become providers usable by other agents. It rewrites each agent’s own configuration file atomically (preserving original formatting) and supports sixty-plus agents — any tool that can set a base URL may enter.

II. Five Cards of Governance

Look closer at its structure of governance: quota failover — when an account’s quota runs dry, the next account or route group takes over without the agent noticing; five kinds of route groups — smart, order, rotate, usage, pace — with a small model judging question difficulty for intent routing; privacy masking — off by default; enabled, the machine replaces keys and emails with placeholders and restores them as replies arrive, with rules and a local model detecting jointly and a native C module in support; the plugin system runs on Bun, gateway middleware able to override parameters, map models and filter sensitive words; the Library manages MCP servers, skills and subagent configurations in one place, distributing them automatically into each agent’s own format. Usage cost accounting, session management, and web search and image generation patched in via MCP are its daily bookkeeping.

III. Engineering Shape and Release Cadence

The body is Go, the plugin runtime Bun, roughly eighty packages under internal/; inside the gateway three protocols convert into one another — OpenAI Chat/Responses, Anthropic Messages, Gemini — streaming, tool calls and reasoning content included; and the repository carries AGENTS.md, CLAUDE.md and LESSONS.md — a confession of AI’s deep participation in its own development. Most astonishing is the cadence: over 4,600 commits on main, ten releases on the day of inspection alone, the newest v0.1.1610 — hourly releases, an optional weekly Stable channel, no external PRs, feedback through Discord. The author is yetone — maker of OpenAI Translator and Avante.nvim — and the 22.4k stars are the track’s vote of trust.

IV. A Footnote to the Pilgrimage

Such a local gateway and the new-api pooling in our own workshop are two reaches of the same historical river: subscription pooling, multi-provider failover and configuration distribution are settling from scattered scripts into finished products. One reef to note: anonymous usage statistics are sent daily by default, and DO_NOT_TRACK=1 closes the tap. The era of every bird flying to one roost has opened — and the specifications of the roost are being written into standards, line by line, by projects like this one.

Comments

← Digital Garden