Skip to main content
Gemini CLI is currently experimental and may have different behavior or limitations compared to the stable agents (Claude Code and Codex).

Overview

Gemini CLI is powered by Google’s Gemini models and is best for simple tasks.
Gemini CLI cannot be set as a default agent. You must use the /gemini slash command to invoke it.

Latest Model

  • Gemini 3 Pro - Google’s latest model with large context capabilities

Authentication

Gemini CLI requires a Google AI API key:
  1. Get an API key at Google AI Studio
  2. In Blocks Dashboard, go to DashboardAgents
  3. Select Gemini CLI and choose “API Key”
  4. Paste your Google AI API key
Use Google AI Studio (not Google Cloud) to get your API key.

Using Gemini CLI

Since Gemini CLI cannot be set as default, you must use the /gemini slash command:
@blocks /gemini analyze this codebase

Best For

  • Simple tasks

Cost

Gemini CLI uses your Google AI API key:

Experimental Status

As an experimental agent, Gemini CLI:
  • May have occasional unexpected behavior
  • Features and capabilities may change
  • Is less battle-tested than Claude Code or Codex
For production-critical tasks, consider using Claude Code or Codex which are more stable.

Next Steps