Agent Approve for Gemini CLI

Legacy mobile approvals, push notifications, and shared guardrails for Gemini CLI from your phone

Gemini CLI logo
CLIHook integration

Agent Approve keeps Gemini CLI support available for legacy and enterprise installs. Google announced the Gemini CLI to Antigravity transition on June 18, 2026, so new Google-agent setups should generally use Antigravity or Antigravity CLI instead.

For remaining Gemini CLI environments, Agent Approve still gives you centralized control from your phone: approve or deny tool calls from your iPhone or Apple Watch, with push notifications and one shared policy across your agent stack.

Quick start

1

Download Agent Approve from the App Store and complete onboarding.

2

Run npx agentapprove on your machine and select Gemini CLI.

3

Scan the QR code to pair with your phone.

4

Start using Gemini CLI — tool approval requests arrive on your phone.

Install command

npx agentapprove

Agent Approve config: ~/.agentapprove/

Gemini CLI hook config: ~/.gemini/settings.json


Recommended configuration

  • Enable yolo mode in Gemini CLI to let hooks handle all permission decisions. See the Gemini CLI policy engine for more granular options.

Capabilities

Approval requests
Follow-up commands
Voice input
Activity monitoring
Push notifications
MCP tool tracking

Good to know

1

Legacy Google CLI path – Google transitioned Gemini CLI users to Antigravity on June 18, 2026. This integration remains available for existing or enterprise environments.

2

Full lifecycle hooks – Gemini CLI hooks cover SessionStart, BeforeAgent, BeforeModel, AfterModel, BeforeTool, AfterTool, AfterAgent, Notification, and SessionEnd.

3

Follow-up commands – Supported through the AfterAgent hook: Agent Approve returns decision=deny with your phone reply as the next prompt.

4

Voice input – Dictate a follow-up from your phone or Apple Watch when Gemini finishes a step.

5

Bulk command parsing – Policy evaluation parses shell commands chained with && into individual sub-commands evaluated independently. A dangerous command like rm -rf hidden as the third step in a chain is caught even when the batch starts with safe commands.

6

Stay up to date – Run npx agentapprove again at any time to update hooks to the latest version.


Use cases

Step away from the terminal and approve sensitive Gemini CLI tool calls from your phone instead of leaving it fully in yolo mode.

Use the same deny rules (rm -rf, credential access) across Gemini CLI, Cursor, Claude Code, Codex, and all your other agents.

When Gemini completes a turn, send a follow-up instruction from your phone so it keeps working while you are away.

Monitor Gemini activity in the same history as the rest of your agents.


Questions about Gemini CLI

A few common questions about how Agent Approve fits alongside Gemini CLI.


Go out and grab a coffee

We'll ping you if your agents need you. Try Agent Approve free for 7 days.