Skip to main content

Overview

The Gemini agent wraps the Gemini CLI via GeminiAgentApi. Configure it through Spring properties under agent-client.gemini.*.

Configuration Properties

Prefix: agent-client.gemini

Yolo Mode

When yolo=true (default), Gemini runs autonomously without permission prompts:
Set yolo: false if you want Gemini to ask for confirmation before executing commands.

Temperature

Control response randomness with the temperature property:
Temperature support depends on the Gemini CLI version. Check your CLI version with gemini --version.

Mode System

Gemini works in any directory with default settings β€” no mode-derived behavior currently exists. The LOOSE and STRICT modes are a no-op for Gemini today. Future STRICT mode knobs for Gemini will be added when there is a concrete safety control to gate (following the promotion rubric).

Authentication

The Gemini CLI accepts either GEMINI_API_KEY or GOOGLE_API_KEY environment variables.