Run Antigravity CLI from your phone
What works
| Feature | Antigravity CLI |
|---|---|
| Grid preview, status and Inbox | Yes |
| Chat and Terminal | Yes; in herdr Chat needs herdr's hook |
| Running subagents | Yes; in herdr needs herdr's hook |
| Remaining context | No |
| Approval alerts | Yes, without Approve or Deny: answer in the session |
| Plan usage | Yes; needs the status line tap |
| Token cost | Yes |
| Slash command menu, notice buttons, draft sync and pull request watch | No |
| New task | Yes, in herdr, Herdr Core or Rex, Resume included |
Set up
-
Install Antigravity CLI on the machine as
agy. -
In herdr, install herdr's Antigravity CLI hook, and again after every herdr update:
herdr integration install antigravity-clicollied doctorchecks it once~/.gemini/antigravity-cli(or$ANTIGRAVITY_APP_DATA_DIR) exists.
Herdr Core and Rex
herdr's hook does nothing in Herdr Core (herdr-core) or Rex. There, collied finds the conversation from the lock file Antigravity CLI keeps open for it, from the moment it starts. Add collied's own hook too: it reports the conversation with each prompt, which settles it when Antigravity CLI keeps several open. When the hook and the lock name different conversations, Chat shows neither until they agree. Add a collie entry in ~/.gemini/config/hooks.json (or $ANTIGRAVITY_CLI_CONFIG_DIR/hooks.json), beside herdr's:
{
"collie": {
"SessionStart": [
{ "type": "command", "command": "~/.cargo/bin/collied hook", "timeout": 5 }
],
"PreInvocation": [
{ "type": "command", "command": "~/.cargo/bin/collied hook", "timeout": 5 }
]
}
}
An Antigravity CLI session that was already running reports its conversation ID at its next prompt or new session. collied doctor checks the hook.
Plan usage
Antigravity sends its 5-hour and weekly quota buckets to a custom status line command. To show them in Usage, configure statusLine in ~/.gemini/antigravity-cli/settings.json (or run /statusline ~/.cargo/bin/collied statusline in agy):
{
"statusLine": {
"type": "command",
"command": "~/.cargo/bin/collied statusline",
"enabled": true,
"stack_with_default": true
}
}
With stack_with_default enabled, Antigravity keeps its built-in status line while piping quota updates to collied. collied keeps only the quota buckets (used percentage, reset time and window length) and the session's context window size; account fields such as email and workspace paths are discarded. If you already use a custom status line script, pipe its stdin into ~/.cargo/bin/collied statusline >/dev/null 2>&1 & as for Claude Code.
Startup prompts
When a new task meets a startup prompt, such as sign-in or folder trust, it stops without sending your prompt. Open the session and answer the startup prompt in Terminal with the arrow keys, Return or Esc, then send your prompt.