Keep Work and Personal Antigravity Accounts

Antigravity CLI · Tested with aisw v0.3.10 and Desktop v0.2.1 · Updated August 3, 2026

Capture the two live Antigravity CLI logins as `antigravity work` and `antigravity personal`, then run `aisw use antigravity work` or `aisw use antigravity personal` whenever you change workspaces. Profiles remain local and Antigravity CLI stays in its supported shared-state mode.

Using Antigravity CLI for both work and personal projects is safer when the account boundary is explicit. aisw keeps the two logins named and makes the active choice visible before you start coding.

1. Capture the work account

Sign in to the work account through Antigravity CLI’s native flow, then save the live account:

Terminal window
aisw add antigravity work --from-live

2. Capture the personal account

Sign in to the personal account through the provider’s own flow and save it separately:

Terminal window
aisw add antigravity personal --from-live
aisw list antigravity

Both profiles are local. AI Switcher does not proxy prompts, sync credentials, or create a second Antigravity CLI authentication service.

3. Switch before you code

Terminal window
aisw use antigravity work
aisw verify

When you move to a personal repository:

Terminal window
aisw use antigravity personal
aisw verify

Prevent the wrong account in a repository

For stronger protection, group the intended account in a context and bind that context to the repository:

Terminal window
aisw context create personal --antigravity personal
aisw workspace bind . --context personal
aisw workspace guard --mode strict

The shell guard checks the binding before a coding-agent launch and tells you which context is expected when the active state is wrong.

Desktop workflow

AI Switcher Desktop exposes the same named profiles and context bindings in a visual interface. Select the Antigravity CLI profile you need, activate it, and confirm the live-match indicator before opening the repository.

Important state-mode detail

Antigravity CLI is currently supported through shared-state switching. That means aisw separates saved account profiles, but it does not claim to isolate every piece of Antigravity CLI’s local runtime configuration per account. Use repository guardrails when account correctness matters most.

Frequently asked questions

Do work and personal Antigravity CLI profiles share credentials?

No. aisw stores named profile records locally and applies only the selected profile to Antigravity CLI's live credential state. Antigravity CLI's local runtime state remains shared because isolated auth roots are not currently documented upstream.

Can I bind a personal or work Antigravity CLI account to a repository?

Yes. Put the Antigravity CLI profile in an aisw context, bind the context to the repository, and enable warn or strict workspace guard mode.

Make your next account switch a single command.

Install aisw, run aisw init, and the accounts you are signed into become named profiles.

brew install burakdede/tap/aisw