Skip to main content
The Gemini CLI integration uses Gemini’s project-level hook system and is in preview. Follow Set Up an Agent for shared installation, verification, and troubleshooting steps.

Add Gemini CLI

Entire adds hooks to .gemini/settings.json and preserves unrelated Gemini settings. The hooks capture session boundaries, prompts, completed turns, model changes, tool activity, and compaction. Entire reads the full conversation, file changes, and tool calls from Gemini’s JSON transcript.

Limitations

Gemini CLI does not expose subagent lifecycle events. Entire captures the main session. Entire records input, output, and cached tokens when Gemini writes token counts into the transcript. Sessions without those fields do not have token totals.

Resume and Import

entire session resume BRANCH restores the recorded session data when needed and prints:
Entire can import existing Gemini CLI transcripts from the previous 30 days as read-only checkpoints. See the session resume command reference for flags and additional behavior.