Google Officially Approves Pi's Direct Gemini Access After T3 Code Critique
Google approved the Pi framework's PR #12614 for direct Gemini API integration via an official OAuth client for AI Ultra subscribers, days after T3 Code's founder criticized Pi for using a forged Antigravity adapter. The implementation uses standard OAuth with PKCE/DPoP but remains pending Google's enablement.
Reading font

T3 Code founder Theo recently criticized the open-source terminal agent framework Pi on X, marking it with a red cross for allegedly using a forged Antigravity adapter to connect to Google's Gemini API, while promoting T3 Code's own compliance via the official Antigravity binary.
Days later, the Pi repository earendil-works/pi opened PR #12614 titled "Google AI plan," revealing that Google had granted Pi an official integration path. The PR has garnered 240 reactions and shows Pi connecting directly to Google's Gemini Interactions API endpoint interactions:createPerUserQuota without wrapping Antigravity binaries or local proxies.
Technical Implementation
Pi's authentication uses standard desktop OAuth with PKCE and DPoP-bound refresh tokens, following Google's partner documentation. The updated README.md explicitly states the OAuth client is approved by Google solely for Pi's use.
Model Access and Limits
The integration currently enables four models: Gemini 4 Hydrogen, Gemini 4 Neon, Gemini 4 Carbon, and Gemini 3.5 Flash-Lite. All provide 1 million context tokens and 65,536 maximum output tokens. Usage is billed at zero cost, drawing directly from the user's personal Google AI Ultra subscription quota.
Current Status and Gating
The PR remains in draft status, though all eight CI checks pass. Developers testing the latest commits with pi auth login google-ai-plan encounter Error 401: disabled_client, indicating Google's backend switch is not yet flipped. Community discussion points to December 2 as the expected enablement date, referencing a prior comment from Google AI Studio product lead Logan Kilpatrick.
Subscription and Fork Restrictions
Access is strictly limited to Google AI Ultra subscribers; the $20/month AI Pro tier is not included. The code and documentation emphasize that Google approves OAuth clients per application and validates User-Agent. Forks or derivatives of Pi cannot reuse Pi's clientId; each project must create its own Google Cloud project and seek separate approval.
Broader Implications
Google's move establishes an official pathway for personal subscription quotas to be used outside the Antigravity environment, provided developers follow the credential-approval process. The community is now watching for other agent frameworks like OpenCode to pursue similar integrations.
References
Pi repository: https://github.com/earendil-works/pi PR #12614: https://github.com/earendil-works/pi/pull/12614 Pi website:
https://pi.devFor questions about attribution, corrections or content rights, please contactand we will review it promptly.