B1 · update
Most people struggle to run local AI agents because of high API costs or brittle setup steps.
I just pushed an update to our open-source B1 Gemini Local Agent repo to solve this:
Reverse-Engineered Web2API Proxy: Bridges Google Gemini's raw web RPC into a 100% OpenAI-compatible endpoint (
/v1/chat/completions) with zero API keys required.Native Tool Calling Bridge: Translates standard OpenAI
toolsdefinitions into structured model instructions, interceptstool_callblocks with regex parsers, and feeds execution results back into multi-turn ReAct loops (run_command,read_file,write_file,list_dir).Zero-Friction Setup: Cut startup hang from 15 seconds to under 1 second by optimizing build discovery, raised request timeouts to 120s, and automated local permission grants.
The full architectural breakdown is now live in HOW_IT_WORKS.md: https://github.com/IshaanYK/gemini-1b-local-agent
What patterns are you using to bridge web models to local agentic tool calling?