I made a CLI tool that turns free Gemini into a local AI agent
pypi.org
pypi.org
It works 100% locally, with no backend and no need for a backend API key. It just leverages your existing Gemini web session. So nothing actually gets sent off to a server.
Gemini CLI is open source btw: https://github.com/google-gemini/gemini-cli. (Codex too; Claude Code is closed.)