Approving Google Antigravity commands from your phone is reasonably safe when the setup is narrow: only phones you paired can answer, the phone can only answer a tool call Antigravity is already about to make, and a call nobody answers falls back to Antigravity's own prompt instead of running. The real risks are human and practical: approving a command you haven't read properly on a small screen, someone else holding your unlocked phone, and project details passing through a relay service and showing on a lock screen. A careful tool limits the first set; you manage the second with a few settings.
01How a phone approval works in Antigravity
Antigravity has no "permission request" event. Everything a phone tool does with commands happens in the PreToolUse hook, which runs before every tool call. While the hook waits, the call waits. That shapes what a phone can and can't do:
- It answers a call that already exists. The hook runs because Antigravity wants to use a tool. Approving from the phone can't make Antigravity run a different command.
- The answer is one of Antigravity's own decisions. With Antigravity Notifier, Allow answers
auto_approveand Deny answersdeny, with your note as the reason. Antigravity passes that reason to the model word for word. - Silence doesn't approve. If the phone doesn't answer in time, the hook answers
force_ask: Antigravity shows its normal prompt at the computer, with "No answer from your phone" on it. - Hooks are fail-closed. If a
PreToolUsehook crashes, times out or prints nothing, Antigravity blocks the tool. That protects you from a hook that breaks halfway, but it also means a badly written hook can stop your work. Antigravity Notifier always prints a decision. If it can't reach your phone (not paired, no network), it answersallow, which leaves the call to Antigravity's own permission rules, as if nothing were installed.
What a phone can do is approve the command in front of it, and that can be serious: a command that deletes files, pushes to a remote or touches production. So the main safeguard is you reading the request.
02Two answers worth thinking about
Allow for this session. This lets the same tool through for the rest of the conversation. For commands, that means later commands in that conversation run without asking your phone again, not only the one you just read. Use it when the session is doing something you trust, such as running tests over and over, and use plain Allow when you aren't sure.
A follow-up instruction. Right after a turn ends, Antigravity Notifier lets you send the next instruction from the phone, for 120 seconds by default. That is a new prompt, so it can start new work. If you'd rather the phone could only answer, turn it off:
antigravity-notifier config set stop_hold_seconds 0
03The risks, and what limits them
agy -p is never held04What leaves your computer
To show you a request, some details have to reach your phone. With Antigravity Notifier, a notification can include the project's name and folder path, Antigravity's message or the question it is asking, and for an approval the command or files involved. When the computer registers, it also sends its name (your hostname unless you choose another).
Antigravity Notifier sends notifications through its own relay server, which deletes notifications and answers within 48 hours. There are no accounts, nothing goes to Google from us, and the data isn't sold or used for advertising. The check for whether you're at the keyboard happens on your computer and its result is never sent. The Privacy Policy lists every field.
Google's Remote Control is a different design. It shows your session in a phone browser signed in with the same Google account, so its safety rests on that account: keep two-step verification on. If you build your own setup with a public ntfy topic or a chat channel, the same project details go to that service, and anyone who knows the topic or is in the channel can read them.
05Settings that keep it safe
In Antigravity:
- Interactive sessions start in Auto mode, where sandboxed "safe" commands run without asking. That's a sensible default; the commands that matter still reach a hook.
--dangerously-skip-permissionsdoes not skip hooks, so a hook still runs before each tool call. It does remove Antigravity's own prompts, so don't use it outside throwaway environments.- Your own hooks can sit beside a phone tool. Antigravity runs every matching hook group, global and per project.
In Antigravity Notifier:
hold_ceiling_secondscaps how long a call waits for the phone: 10 minutes by default, and never more than 600 seconds for a tool call. After that, Antigravity's own prompt appears; nothing is approved by a timeout.- Presence detection: if you typed in the last 30 seconds on an unlocked screen, nothing waits for the phone and tool calls aren't sent. A locked screen counts as away at once on macOS and Linux (not on Windows, and not a display that merely sleeps).
phone_approvalschooses what waits for the phone:commands(the default),all(file writes, edits and other changing tools too) oroff. Read-only tools never wait.quiet_hoursstops anything going to the phone at night, so you aren't approving half asleep:
antigravity-notifier config set quiet_hours 22:00-08:00
antigravity-notifier deviceslists paired phones, andantigravity-notifier devices revoke <name>removes one. Up to three phones can pair with a computer.antigravity-notifier forgeterases the computer and its pairings from the server, then uninstalls.
On the phone:
- Use a passcode or biometrics.
- If your phone offers it, hide notification details on the lock screen, so commands don't show while it's locked.
06Denying is cheap
When a request looks odd, deny it with a note: "don't install that, use the existing client" or "stop and wait for me". Antigravity gives the note to the model as the reason, and the model carries on from it. A wrong denial costs a minute; a wrong approval can cost much more.
07FAQ
Can someone approve commands if they find my pairing code?
A code only pairs a new phone while it is valid (24 hours), and a paired phone shows up in antigravity-notifier devices, where you can revoke it. Don't share codes or screenshots of them, and check your paired phones if you're unsure.
Does the relay server see my code?
It sees what's in the notification: the command or the files involved, Antigravity's message or question, and the project's name and path. It doesn't see your repository, and it deletes notifications and answers within 48 hours.
What happens if my phone is off when Antigravity asks?
Nothing runs. When the hold limit is reached, Antigravity shows its own prompt at the computer with "No answer from your phone" on it, and waits for you there.
Is Google's Remote Control safer?
It's a different trade-off rather than a safer one. Remote Control runs through your Google account and the session on your computer; a notifier app runs through hooks and a relay, with no account. Both rely on the same thing in the end: you reading what you approve.
Can I use Antigravity Notifier with the desktop app?
Not yet. It supports the agy command line in any terminal and over SSH. The desktop app and IDE read the same hooks file, but Antigravity Notifier isn't supported there yet. Antigravity Notifier is independent and not affiliated with Google.