A desktop bridge uses Gemini web chat to cut agent API costs

A C# was built to avoid rising bills during personal coding loops and local database checks, especially when long conversations increase usage. It opens Gemini web chat inside a WebView2 window and sends only structural information about or . Queries and code returned by Gemini are shown in a safety confirmation window before they run on the local computer.

The app also inserts its system rules and instructions again with every message, reducing the chance that Gemini forgets its role during a long chat. The project uses free or low-cost web chat for AI agent runs instead of paying for every API request, and its client has been released as open source.

Key points

  • The app automates Gemini web chat to avoid charges during personal workflows.
  • It sends database and local-file structure rather than full contents.
  • Generated queries and code require confirmation before running locally.
  • System rules are inserted again with every message to reduce .
  • The C# client is available as open source.
Read original