Skip to main content
Gemini CLI (gemini) is Google’s agentic coding CLI. It authenticates with a Google API key.

Set it up

1

Open Admin → Agent LLM

Scroll to the per-agent keys section.
2

Add the Google key (Gemini)

Paste your Google API key. It’s write-only and encrypted at rest, and only needed if you enable the Gemini agent.
3

(Optional) allow specific models

Set a Gemini model allowlist (e.g. gemini-2.5-pro, gemini-2.5-flash). With two or more, the New Task form shows a Model dropdown for Gemini tasks.

Using it in a task

Pick Gemini CLI as the agent in the New Task form, and choose the model per task if an allowlist is set.

Through the internal gateway

When routed through the internal gateway, Gemini uses the gateway origin (like Claude) — derived automatically from your single gateway endpoint. A per-agent key is only needed if the gateway issues a different key per model family.
Gemini also appears as a resume option for a paused task — you can hand a stalled task from one CLI to Gemini in place. See Coordination.