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

Agent Approve gives you centralized control over Gemini CLI from your phone. Approve or deny tool calls from your iPhone or Apple Watch, with push notifications so you know the moment Gemini needs input.
You get one shared set of guardrails, one activity history, and one approval workflow that works the same way across Gemini CLI, Cursor, Claude Code, Codex, OpenCode, OpenClaw, and Copilot.
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
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.