
Antigravity Mobile WebUI
Messing around with the built in agent-api function and ended up vibe coding a PWA web UI for Antigravity. This connects directly to an instance of AG running on my host PC. It works but there are some quarks.
First the good.
-For better or for worse, it's a stable connection to AG. All my projects, access to all my skills and MCPs, all on my phone and connected to Tailscale.
-By default messaging via the API is text only but Gemini found a cheeky way to pass attached images by sending them to the host PC first and appending the text of the prompt with a link to the file on the computer. Then the Antigravity agent references the image and text.
The Ugly
-No way to pass permissions/approval via api. Currently I have to manually put the individual project directories in "Yolo mode". We'll see if that truly keeps them out of permission block. My experience is *something* always comes up that needs a nudge.
-Beyond permissions there is no way to pass A2UI capabilities like the multiple choice functionality of the /grill-me function.
-Chats that were archived on the native app still show in the web UI as it can only read a history of chats.
-There is no way to initiate a new project via API, only a conversation.
-Messages received from agent-api (externally) are sanitized to 'Message from me" or "Message from Root Agent" so the chat history looks like the LLM talking to it's self.
Overall it will serve the purpose of testing Antigravity as an Agent platform for the next few weeks. I'm not waiting for Spark. I hope the team at Antigravity opens up the API so a full blow interface would be capable.
It's late and I'm out of credits but if anyone is interested, I'll clean it up and throw it on GitHub over the weekend.