All guides

Turn on Antigravity's built-in notifications (agy terminal bell and desktop alert)

Updated 27 November 2026 · 6 min read

The Antigravity command line, agy, has a built-in Notifications setting, and it is off by default. When you turn it on, agy rings the terminal bell and shows a desktop notification when the agent needs your approval or an answer, or finishes its turn. You can switch it on from /config inside a session, or by adding "notifications": true to ~/.gemini/antigravity-cli/settings.json. It needs no hooks and no extra software, which makes it the quickest way to stop watching the terminal while you're at your computer.

01What the setting does

Google's CLI settings documentation lists it under "Editor and notifications":

Notifications (notifications)When enabled (on), rings the terminal bell and shows a desktop notification when the agent needs your approval or an answer, or finishes its turn. Off by default.

So one switch covers the three moments most people care about:

  • Antigravity wants approval for something, such as a command outside the sandbox.
  • Antigravity has asked you a question.
  • Antigravity has finished its turn and handed control back to you.

That is more than a hand-written hook can easily do. Antigravity's hooks have no "needs approval" event, so a hook can only guess at it from PreToolUse. The built-in setting knows when it is actually waiting for you.

02Turn it on with /config

  1. Start agy as usual.
  2. Type /config (or its alias /settings) and press Enter. The Settings panel opens below the prompt.
  3. Start typing notif to filter the list, or move to Notifications with the arrow keys.
  4. Press the left or right arrow, or Enter, to switch it on. Changes are saved straight away.
  5. Press Esc to close the panel.

The CLI writes the change to its settings file for you. It only saves values that differ from the defaults, so you'll see a notifications key appear once it's on, and disappear if you turn it off again.

03Turn it on in settings.json

If you'd rather edit the file, open ~/.gemini/antigravity-cli/settings.json and add the key:

{
  "notifications": true
}

If the file already has other keys, add "notifications": true alongside them, separated by a comma. Keep it valid JSON: if the CLI finds a problem when it starts, it shows a Settings Error screen that names the file and lets you exit, continue with defaults for this session, or reset the file. Google also publishes a JSON Schema for this file, which editors such as VS Code can use for autocomplete if you add "$schema": "https://antigravity.google/schemas/v1/settings.json" at the top.

Note this is a different file from the hooks file. Hooks live in ~/.gemini/config/hooks.json; the CLI ignores a hooks key in settings.json.

04Check that it works

Start a new agy session, ask for something small, and switch to another window. When the turn ends you should hear the bell (if your terminal plays one) and see a desktop notification.

If you hear nothing, check your terminal's own bell setting. Most terminal apps let you choose between a sound, a visual flash, a badge or nothing at all, and some ship with the bell muted. The desktop notification also depends on your operating system allowing notifications from wherever they come from, so check your system's notification settings if it doesn't appear.

05What the documentation doesn't cover

The settings page describes the switch and nothing more. It doesn't say:

  • How the desktop notification is produced, and so whether it appears on your own computer or on the remote machine when you run agy over SSH.
  • How it behaves inside tmux or screen. A multiplexer sits between agy and your terminal and has its own rules for bells. Antigravity notifications in tmux covers the tmux side, which is standard tmux behaviour.
  • Whether it notifies while you're looking at the terminal, or only when it's in the background.

We haven't tested these cases ourselves, so try them in your own setup before relying on them. For remote machines, see Antigravity notifications over SSH.

06Where it stops

The built-in setting is a local alert. It's ideal while you're at the desk with Antigravity in another window. It has the same limits as any desktop alert:

  • It doesn't reach your phone. A bell and a desktop notification only help if you can hear or see the computer.
  • It's one-way. It tells you Antigravity is waiting. You still go back to the keyboard to approve the command or answer the question.
  • It's per terminal. It lives in the CLI's settings, so it covers agy sessions on that machine and user account.

If you want Antigravity's own free route to your phone, Google's Remote Control lets you follow and answer a session from your phone's browser. Every way to get Antigravity notifications, compared puts all the options side by side.

07Going further with Antigravity Notifier

Antigravity Notifier picks up where the built-in alert stops. It is an independent tool made by TouchTap Ltd, not affiliated with Google. It has two parts: antigravity-notifier, a free command line tool for Mac, Windows (beta) and Linux, and the iPhone and Android apps.

It works through Antigravity's hooks, so it runs wherever agy runs, including over SSH and in tmux. While you're away from the keyboard or your screen is locked:

  • you get "Antigravity has finished" on your phone with its last message, and a box to send the next instruction;
  • a command waits for your phone, where you can allow it once, allow it for the rest of the session, or deny it with a note Antigravity reads;
  • Antigravity's questions arrive on the phone, and you answer by picking options or typing.

While you're at the keyboard it doesn't hold anything, and it never holds agy -p scripts. The two can sit side by side: keep the built-in bell for when you're at the desk, and let the phone take over when you leave. Set up Antigravity Notifier takes about a minute. The command line tool is free; the apps need a subscription or a one-off purchase, see pricing. The desktop app and IDE aren't supported yet.

08FAQ

Does Antigravity have built-in notifications?

Yes, in the agy command line. The Notifications setting rings the terminal bell and shows a desktop notification when the agent needs approval or an answer, or finishes its turn. It's off by default.

What is the settings.json key for Antigravity CLI notifications?

notifications, a true or false value, in ~/.gemini/antigravity-cli/settings.json. Setting it to true is the same as turning on Notifications in /config.

Why don't I hear the agy terminal bell?

Your terminal decides what a bell does, and many mute it or show a visual flash instead. Check the bell or alert settings of your terminal app, and of tmux if you use it.

Do I still need a hook if I turn this on?

Not for a local alert. Hooks are still useful when you want something the setting doesn't do, such as a push to your phone through ntfy or a chat app, or a notifier app you can answer from.

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.