Mehtagent Docs

Connect Gemini CLI

Install Gemini CLI and connect it with a key from Google AI Studio.

You need a Google account, a Gemini key from Google AI Studio (it has a free tier with limits), and Homebrew from the install page.

Install and add your key

  1. In Google AI Studio, click Create API key and copy it.
  2. Open Terminal, paste this and press Return:
    brew install gemini-cli
  3. In Mehtagent, go to Setup › Keys and agents, paste the key in the Gemini row and click Save and test.
  4. On Home, click the AI button and pick Gemini CLI.

Notes