Automating Agents Using the Gemini Web Interface
dwn270787 · reddit · 2026-07-19
The author wrapped the Gemini web chat into a local automation workflow: using a Cdesktop app to control web-based Gemini via WebView2, bypassing the paid developer API.
The client reads local database schemas or files, sending only the necessary metadata/structure to the web session. It then retrieves the generated SQL or code for local execution, prompting a security confirmation before running anything. To prevent persona drift in long conversations, the author added a mechanism to automatically re-inject system rules/prompts with every message.
Originally built to save on personal API costs, the project is now open-source. The author is asking the community if anyone has built similar browser bridges or if they strictly stick to official APIs and local models.
More from coding & agent
- Users say Codex side chats are becoming part of their real coding workflow — nicoalbanese10 · 2026-07-21
- LithosAI says Kimi K3 is frontier-level for open-weight agentic tasks — JiaZhihao · 2026-07-21
- Cursor agents rebuilt SQLite from an 835-page manual, with a 15x cost swing — Sam_Witteveen · 2026-07-21
- Postgres memory layer for agents reaches 73.6% on full LongMemEval, not a sampled subset — MycoBrainAI · 2026-07-21
- A roundup of AI agents and MCP resources, including how to evaluate agents — _jaydeepkarale · 2026-07-21
- A full course shows how to build and deploy an AI agent with OpenAI and LangChain — _jaydeepkarale · 2026-07-21