I have a centralized Lite LLM database that I use to track all my AI usage. I now want to track Antigravity similarly.
However, there seems to be no way to achieve this (other than intercepting the Antigravity traffic, parsing its response and reading the usage)
Has someone tried this and do you happen to know any way?
Hi @Faheem_Anis1,
Please note the following guidance regarding Antigravity and centralized tracking tools like LiteLLM:
Terms of Service & Traffic Interception: Intercepting, parsing, or routing standard Antigravity sessions through third-party proxy tools like LiteLLM using standard Antigravity logins violates the Terms of Service (see FAQ | Google Antigravity Docs) and can trigger automated account restrictions.
You can view your current model quota and usage directly within Antigravity by using the /usage command in the CLI or by checking the Models & Usage panel in the IDE/Hub.
Centralized Tracking with LiteLLM: If you need to log and monitor usage in a centralized LiteLLM database, use a Google AI Studio API key (https://aistudio.google.com/) or Vertex AI directly with LiteLLM’s native Google AI provider integrations, rather than routing standard Antigravity client traffic through a proxy.
That’s not helpful, as my use-case is very simple and should be supported within Antigravity
For reference, I have parsed the Antigravity local session files to extract this information, then set a scheduler to extract and add it to Lite LLM.
There should be a better and cleaner approach, but I believe Agy team didn’t think of that