Gemini CLI coding agent¶
Gemini CLI is a coding agent based on a Terminal UI (TUI). It lets users work with Gemini models directly from a terminal in a Code Studio.
Setup (admin)¶
The capability is provided by the “Gemini CLI for Code Studios” plugin that you need to install.
Then, you need to define a Code Studio template, adding the “Gemini CLI” block.
You can configure the block to use a Vertex AI connection, or set your own API key.
Usage¶
After starting a Code Studio based on a template that includes the Gemini CLI block:
open a terminal in the Code Studio
run:
gemini
You can then start interacting with the agent from the terminal.
Limitations¶
Vertex AI connections configured in OAuth mode are not supported.