On November 27, a Pi maintainer opened pull request 12614 in the earendil-works/pi repository. The title is aggressively boring: "Google AI Ultra plan." The body says nothing at all, because the author left the description blank. Nine days later it is still a draft, twenty commits deep, and roughly four hundred people have reacted with a thumbs up. That gap between a silent diff and a loud reaction is the most interesting thing in AI coding this week, and it is not about benchmarks.
The pull request teaches the Pi coding agent to sign in with a Google account and spend a Google AI Ultra subscription instead of an API key. That sounds like convenience. Read the error states in the commit message and it looks more like a lease agreement: daily limits that are not retried, models withheld from your plan, eligibility checks, and a kill switch. Google is not just selling tokens to Pi users. It is defining the shape of the pipe they flow through, and reserving the right to turn it off.
What the diff actually ships
The commit message is unusually candid for a draft. It adds a new google-ai-plan provider that authenticates through a loopback OAuth flow with PKCE, then keeps itself alive with DPoP-bound refresh tokens. Requests route to the plan's Gemini models through what the code calls the Interactions API, with a createPerUserQuota endpoint deciding how much of your subscription each session is allowed to burn. Streaming, thinking with signed thought replay, and usage accounting are all wired in.
One detail shows how the plumbing is shared across products: pi-ai ships no Google client at all. The coding agent passes its own OAuth client into googleAiPlanProvider(), and any fork that wants this feature has to register its own client with Google. The default model is gemini-4-hydrogen, which lines up with Google's ongoing reshuffle of its model menu toward cheaper, agent-shaped models.
So what do you get? No key juggling, no per-token bill arriving at the end of the month, and a budget that feels flat because you already paid for it. What Google gets is the entire surface area of a consent screen, plus per-user quota telemetry, plus the ability to make features disappear for an account without touching the client.
The kill switch is the story
My thesis is simple: subscription access is not cheaper access, it is differently governed access, and Pi's user base just volunteered for the difference.
Consider the failure modes the author wrote into the commit. A daily limit that is explicitly not retried. A model that is not on your plan. Sign-in states. Eligibility. Kill switch. Those are not bug categories, they are policy hooks. Every one of them lets a vendor change what your agent can do after you have installed it, without shipping you a new version and without you being able to diff the change.
Hacker News noticed. The story hit thirty points and the comments were less celebratory than the reaction pile on GitHub. One reader pointed out that only the Ultra tier appears to support this path, which turns a coding agent into an upsell funnel. Another described it as more gatekeeping, noting that even Anthropic backed off its attempt to wall third-party harnesses out of subscriptions, and that Claude's usage documentation still says Agent SDK, claude -p, and third-party app usage draw from subscription limits.
That context matters because it explains the timing. Vendors spent a year discovering that agent workloads eat subscriptions alive, then discovered that users hate metering. Google's answer here is neither: keep the flat fee, but bind it to an identity, count per user, and keep a lever.
The two futures your agent budget can take
The interesting part is that a completely opposite future shipped nine days earlier, in the same ecosystem. Hugging Face published harness adapters on November 20: roughly 300MB LoRA files that specialize an open model for one specific coding runtime. The Pi-tuned Qwen3.8-27B adapter lifted Terminal-Bench 2.1 success from 39% to 55% by training inside the harness instead of behind an API, with the weights frozen and the specialization kept local.
Line those two up and the strategic fork is obvious. On one side, specialization you own: a small file, a runtime you can read, a model you can run offline when the quota resets or the kill switch flips. On the other side, specialization you rent: better models, real convenience, and a policy layer you cannot inspect. Pi, being a minimal MIT harness with roughly four tools at its core, has always been the cheap test case for this argument. The fact that it is now the venue where both experiments land is not a coincidence, it is Pi's whole identity.
If you are about to click sign-in, three checks are worth doing first:
- Find out whether your plan's Gemini access is counted per user or per app. The
createPerUserQuotanaming suggests the former, and that means one agent session can drain a day's allowance. - Read the error list in the PR before you rely on it. A daily limit that is not retried will look like a Pi bug at 2 a.m., not a billing decision.
- Keep a local fallback configured. A harness adapter plus an open model is not as good today, but it is not revocable tomorrow.
None of this makes the pull request bad work. It is clean, thoughtful, and the reaction count proves people want it. It also, quietly, moves the most personal part of the stack, the thing that reads your repository and writes your code, behind an identity check and a quota endpoint that someone else owns.
That is the trade, and Pi users are making it with their eyes open. We argue about benchmark deltas and pricing, then skip the question that decides who changes the rules: when the plan changes, what happens to your agent? The commit message answers it in two words. Kill switch.
Comments