Antigravity CLI notifications
Get a push when agy needs permission to run a command, write a file, or use an MCP tool that your policy gates. Approve or deny it from your iPhone or Android.
Use Google Remote Control to open the full AGY session on your phone. Use Pushary to answer approvals across your agents in one app.
See the setup stepsUpdated
Antigravity CLI needs approval
Write
pushary-approval-demo.txt?Approve or Deny
Choose how AGY reaches you
- Local AGY alerts
- Enable Notifications in /config for a desktop alert or terminal bell. Use this when you work at the same computer and want to notice an approval prompt or a completed turn.
- Google Remote Control
- Run /remote-control in agy and open the resulting link on your phone with the same Google account. You can inspect the session and answer native prompts in the browser. Google also documents mobile web push.
- Pushary phone approvals
- Get a push when a supported tool call reaches a rule that asks you. Answer in Pushary and see the decision alongside approvals from Codex and Claude Code. Start here if you want a shared inbox and per-tool rules.
Set up phone approvals
- Open a Pushary account or sign in. Use the same account on your phone when you scan the setup code.
- Run this command on the computer where you use AGY. Scan the QR code, approve the connection, and allow notifications.bash
npx pushary@latest setup --agents antigravity_cliWindows PowerShell
bashnpx.cmd pushary@latest setup --agents antigravity_cli - Answer the setup question. Restart AGY and run
/hooksto check thatpusharyappears. If you chose a Tool Permission preset already, setup keeps it. See the full AGY setup guide before changing it.
Try a real approval
In a scratch directory, set a Pushary rule that asks before writing a file, then send this prompt to AGY.
Create a file named pushary-approval-demo.txt containing hello.
- Approve
- Pushary allows the write. The file appears if no separate AGY review blocks it.
- Deny
- Pushary blocks the write. The file stays absent.
- Let it time out
- With a deny-on-timeout rule, Pushary blocks the write when the wait ends.
Try each outcome with a fresh filename. In AGY 1.5.7, the strict Tool Permission preset wins over Auto and accept-edits. Administrator-required review still applies after a hook approves.
Common questions
Can AGY notify me when a task finishes?
AGY's local notifications can alert you at the computer. Google Remote Control offers phone access and mobile web push. Pushary records the finished turn. For a completion push, tell your agent to call send_notification when the task is done.
Can I keep AGY Auto mode?
AGY 1.5.7 starts eligible sessions in Auto if no Agent Mode is saved. Pushary phone approval for supported tools uses the separate always-proceed Tool Permission preset. Setup only changes the preset if none is saved. Strict and organization-required reviews still apply.
Does this work in the Antigravity desktop app?
This Pushary setup is for the Antigravity CLI binary, agy. Use Google's Remote Control instructions for the desktop app.
Can AGY phone me when it needs approval?
Yes, with phone calls turned on. If you miss the push for a gated AGY call, Pushary calls you and you answer yes or no by voice. Some steps, such as a force push, can only be approved in the Pushary app.
Is there an AGY hook that fires when it waits for approval?
No. Google's hooks reference lists six events: SessionStart, PreToolUse, PostToolUse, PreInvocation, PostInvocation and Stop. None of them tells a script that AGY's own permission check is about to prompt, so a script cannot alert you at that moment the way a Claude Code Notification hook can. AGY's local notifications reach only the computer it runs on. Pushary's hook runs on PreToolUse, before the tool runs, and holds the tool call until you answer or the rule's wait ends, so the approval request is the alert.
See AGY Auto mode and YOLO for a breakdown of the native modes.