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.

Original post →

More from coding & agent

coding & agent channel →