Stop Switching Accounts Manually: Automate Antigravity Tools
If you're using Antigravity Tools for anything serious—like managing multiple projects or handling separate client environments—you've probably felt the friction. Logging out, logging in, copying tokens, or juggling browser profiles. It's a small task that becomes a major time-sink when repeated dozens of times a day.
What if you could automate that entire context switch with a single command? That's the itch the Antigravity Manager scratches. It's a straightforward tool designed to remove the manual overhead of account switching, letting you focus on the actual work.
What It Does
Antigravity Manager is a CLI (Command Line Interface) tool that automates the process of switching between different Antigravity Tools accounts. Instead of manually logging in and out, you configure your account profiles once—things like credentials, API tokens, or environment settings—and then switch between them instantly with commands like agm use client-a or agm use personal.
Think of it as a session manager for your Antigravity workflow. It handles the authentication state under the hood, so your environment is always correctly configured for the account you intend to use.
Why It's Cool
The clever part isn't just the automation; it's the implementation focus. This tool isn't a bulky GUI application. It's a lean script that operates from the terminal, which means it can be easily integrated into your existing shell workflows, scripts, and automation pipelines.
For example, you could:
- Hook it into a shell alias to instantly switch contexts when you
cdinto a specific project directory. - Combine it with a script that pulls different environment variables based on the active account.
- Reduce human error—no more accidentally making changes to the wrong client's resources because you forgot to switch.
It solves a very specific, repetitive problem with a simple, scriptable solution. That's the kind of efficiency gain that adds up over weeks and months.
How to Try It
Getting started is pretty standard for a CLI tool. Head over to the GitHub repository to check out the source and installation instructions.
- Clone the repo:
git clone https://github.com/lbjlaq/Antigravity-Manager.git cd Antigravity-Manager - Follow the setup: The README has the details. You'll likely need to run an install script (
setup.shor similar) and then configure your account profiles in a simple config file (likeconfig.jsonoraccounts.yaml). - Configure your profiles: Add your different Antigravity accounts (name, login method, token, etc.).
- Start switching: Run
agm listto see your profiles andagm use <profile-name>to switch.
The repository is the best source for the most up-to-date and detailed setup steps.
Final Thoughts
As a developer, the tools that stick for me are the ones that quietly eliminate a daily annoyance. Antigravity Manager feels like one of those. It's not a flashy framework, but a utility that does one job well. If you find yourself constantly bouncing between accounts, spending ten minutes setting this up will probably save you an hour by next week. It's a classic case of automating the boring stuff so you can get back to building things.
Follow for more practical dev tools: @githubprojects
Repository: https://github.com/lbjlaq/Antigravity-Manager