aimux icon indicating copy to clipboard operation
aimux copied to clipboard

Feature request: support Antigravity CLI (agy) as a profile type

Open jacktator opened this issue 1 month ago • 1 comments

Summary

Please add support for Google's Antigravity CLI (agy) as a profile type alongside claude, codex and gemini.

Why

Google retired the standalone Gemini CLI for individual accounts (Google AI Pro, Ultra and free tier) on June 18, 2026 and replaced it with the Antigravity CLI. The existing gemini adapter therefore no longer works for those accounts, and there is currently no way to manage Antigravity subscriptions in aimux.

  • Announcement: https://github.com/google-gemini/gemini-cli/discussions/28017
  • Coverage: https://9to5google.com/2026/06/17/gemini-cli-code-assist-shutting-down/

What I'd like

  • aimux profile add <name> --cli agy
  • aimux auth login <profile> for the agy login flow, with per-profile isolation of config and credentials
  • aimux run <profile> launching agy under that profile
  • Shared items (skills, extensions, hooks) and usage/limit display where agy exposes them

Context

Tested with aimux 0.34.1 on Windows 11 (ARM64) using the native PowerShell setup. There is no mention of antigravity or agy in the package or README, and I found no existing issue on this. I don't know how agy handles its config directory, so the isolation mechanism (env var or home override) may need investigation.

Happy to test a build on Windows.

jacktator avatar Nov 02 '26 01:11 jacktator

Thanks for the request and the clear write-up, it made this easy to pick up.

aimux 0.35 adds Antigravity CLI profiles (install 0.35.1 or later):

aimux profile add ag --cli agy
aimux auth login ag     # starts agy, which asks you to sign in
aimux run ag

agy has no setting or variable to move its config, so each agy profile runs with a home directory of its own (HOME, or USERPROFILE on Windows) that links back to your real home. That keeps git, ssh and gh working inside the agent. Skills, plugins and MCP servers in ~/.gemini/config are shared by all profiles; settings, conversations and history stay separate.

The login is separate only where agy keeps it in a file, as it does when the system has no keychain (WSL, a headless Linux). Otherwise, per Google's docs, agy uses the system keychain, and on Windows that is Credential Manager: one store for your whole Windows user, which a different USERPROFILE doesn't change. So on Windows an aimux agy profile most likely shares your usual agy login, and signing in or out inside it may sign your normal agy in or out too. aimux auth login says so when the login went to the keychain.

Two more limits for now: aimux use doesn't take agy profiles (it would have to change your shell's own home), so start them with aimux run; and agy's usage limits aren't shown yet.

I tested it on Linux (WSL), not on Windows. If you try it there, a separate Windows user account is the safe way; otherwise expect to sign in to agy again afterwards. The links back to your home are symlinks, so they need Developer Mode (or another way of allowing symlinks); without it the profile still runs, but tools inside the agent won't see your dotfiles. I'd be glad to hear how it goes, and whether a file antigravity-oauth-token appears under .aimux\profiles\<name>\.gemini\antigravity-cli\ in your user folder after you sign in.

Shahinyanm avatar Nov 06 '26 06:11 Shahinyanm