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

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
Download Agent Approve from the App Store and complete onboarding.
Run npx agentapprove on your machine and select Gemini CLI.
Scan the QR code to pair with your phone.
Start using Gemini CLI — tool approval requests arrive on your phone.
Install command
npx agentapproveAgent Approve config: ~/.agentapprove/
Gemini CLI hook config: ~/.gemini/settings.json
Recommended configuration
- •Enable
yolomode in Gemini CLI to let hooks handle all permission decisions. See the Gemini CLI policy engine for more granular options.
Capabilities
Good to know
Legacy Google CLI path – Google transitioned Gemini CLI users to Antigravity on June 18, 2026. This integration remains available for existing or enterprise environments.
Full lifecycle hooks – Gemini CLI hooks cover SessionStart, BeforeAgent, BeforeModel, AfterModel, BeforeTool, AfterTool, AfterAgent, Notification, and SessionEnd.
Follow-up commands – Supported through the AfterAgent hook: Agent Approve returns decision=deny with your phone reply as the next prompt.
Voice input – Dictate a follow-up from your phone or Apple Watch when Gemini finishes a step.
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.
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.