seance icon indicating copy to clipboard operation
seance copied to clipboard

[agent] add support for Antigravity CLI

Open no1msd opened this issue 2 months ago • 1 comments

Agent name and link

Antigravity CLI (agy), Google's terminal coding agent: Getting started

Add automatic session detection and status tracking in Séance.

Does the agent have a hook / event system?

Yes. Antigravity supports command hooks, including PreInvocation, PostInvocation, PreToolUse, PostToolUse, and Stop.

Verify the CLI's hook configuration and event behavior when implementing the integration.

Lifecycle events you care about

  • Track working, waiting for permission, and idle states in the sidebar.
  • Surface permission requests and task completion through Séance's existing notifications and unread tracking.
  • Clean up tracking when the session exits.

Investigate how the CLI exposes an actual pending permission prompt; a pre-tool event alone does not establish that user approval is required. Document any limitations in the available events.

Context

Replaces the Gemini CLI support request in #8. Google ended Gemini CLI access for free individual, Google AI Pro, and Google AI Ultra accounts on June 18, 2026, directing those users to Antigravity CLI. Gemini CLI remains supported for Code Assist Standard/Enterprise licenses and paid API keys, but we are prioritizing Antigravity CLI support.

Google's transition announcement

no1msd avatar Sep 09 '26 19:09 no1msd

Implemented on main in 025c7a8 via #20. Antigravity sessions now report working, pending tool approval, and idle states, with notifications and exit cleanup. Existing status-line output is preserved, and the README documents callback limitations.

Pre-merge CI passed, including all 16 Antigravity regression tests and the existing GUI suites. Local pane coverage and live testing with agy 1.1.22 also passed; the maintainer confirmed manual testing before merge.

no1msd avatar Sep 09 '26 21:09 no1msd