All guides

Is it safe to approve Antigravity commands from your phone?

Updated 27 November 2026 · 7 min read

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_approve and Deny answers deny, 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 PreToolUse hook 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 answers allow, 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

RiskWhat limits it
Approving without reading on a small screenRead the full command; deny with a note when unsure
Allowing a whole session by mistakePlain Allow covers one call; "for this session" is a separate button
Someone else answers from your phonePhone lock, pairing limited to your phones, revoking lost phones
Project details seen on the relay or lock screenShort retention on the relay, hiding details on the lock screen
A request waits forever, or a timeout approvesA hold limit that falls back to Antigravity's own prompt, never to "allow"
Approving from the phone while you're at the desk anywayPresence detection: nothing waits for the phone while you're typing
A script stalls waiting for a phoneagy -p is never held

04What 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-permissions does 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_seconds caps 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_approvals chooses what waits for the phone: commands (the default), all (file writes, edits and other changing tools too) or off. Read-only tools never wait.
  • quiet_hours stops 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 devices lists paired phones, and antigravity-notifier devices revoke <name> removes one. Up to three phones can pair with a computer.
  • antigravity-notifier forget erases 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.

Antigravity Notifier Get a push on your phone when Antigravity finishes or needs you, then allow, deny or answer from there. The antigravity-notifier command line tool is free on Mac, Windows and Linux.