// the take
A FastAPI + Playwright middleware that wraps Google AI Studio's web UI and exposes it as an OpenAI-compatible API. It uses Camoufox (a fingerprint-hardened Firefox fork) to automate the browser, so you get access to Gemini models without needing API keys. For people locked out of the official Gemini API or wanting to avoid per-token billing.
The three-mode function calling implementation (auto/native/emulated with fallback) is genuinely thoughtful — most browser-automation proxies just skip tool use entirely. Auth profile rotation with cookie refresh means it survives long-running deployments without manual re-login. The codebase is well-decomposed: browser_utils, api_utils, stream are clearly separated rather than one giant script. Test coverage is surprisingly broad for a project that's fundamentally a browser automation hack.
The entire thing breaks whenever Google changes AI Studio's DOM — CSS selectors are in config/selectors.py and any UI update turns this into a debugging session. The stream proxy runs as a separate MITM on a second port with its own TLS cert injection, which is fragile and adds a second process to keep alive. No rate limiting or quota management on the FastAPI side, so if you point multiple clients at it you'll hit browser concurrency issues fast. Being AGPL means you can't embed this in a proprietary product, which rules out the most common use case (internal tooling).
We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →