Building Visual Tools with Antigravity UI Extensions Antigravity released version 2.22.0, adding UI Extensions that let plugins render custom interactive web panels inside the coding agent's side panel via a Node.js-based Sidecar SDK. Developer Daniela Petruzalek built two open-source plugins to demonstrate the feature, agy-paint-studio for multi-layer drawing and AI-powered image refinement and agy-game-studio for building and visually debugging 2D games in Go, both installable at workspace level in .agents/plugins or globally in ~/.gemini/config/plugins. The extensions let developers send annotated images, logs and other supporting data directly to a Gemini coding agent session without leaving Antigravity. I am usually very grounded in my blog posts, but this time I am really excited. Last week Antigravity’s team released Antigravity 2.22.0 https://antigravity.google/releases?tab=hub&version=2.22.0 , which includes a new feature that blew my mind: the support for UI Extensions in Antigravity plugins. Why is this important? Because it changes the whole developer experience with coding agents for the better. Let’s see how. UI Extensions allow you to render custom user interfaces inside Antigravity’s side panel. The main reason why this is great is because now we can augment Antigravity’s interface with all sorts of features, bringing onboard functionality that by other means we would need separate apps to execute, like working on images, testing software, log mining, and data analysis. For example, imagine that you are designing the interface for your next app. Explaining this in text is often a terrible experience. With a drawing you can be much more precise than text and Gemini, being multimodal, will understand the drawing natively. Before UI extensions I would fire up an image editor or diagram tool like Excalidraw https://excalidraw.com/ and make my sketch, then copy and paste it to my prompt. Not a terrible experience per se, but slightly tedious. Now, with UI Extensions, I can have a proper diagramming tool inside Antigravity’s UI, and on a click of a button I can send annotated images to my coding agent session, which will immediately react to it. This is just the tip of the iceberg. The capability to annotate your work and explain problems visually, with images, logs, and all sorts of supporting data, right there without leaving Antigravity, is the thing that convinced me that we are finally “living in the future”. To prove this to you I have built two open-source plugins with UI extensions that you can test right away: Antigravity Paint Studio agy-paint-studio https://github.com/danicat/agy-paint-studio for multi-layer drawing, editing, and AI-powered image refinement, and Antigravity Game Studio agy-game-studio https://github.com/danicat/agy-game-studio for building and visually debugging 2D games in Go. Let’s see how they work under the hood. Anatomy of a UI extension anatomy-of-a-ui-extension A UI extension is a plugin containing a sidecar https://antigravity.google/docs/sidecars/ that exposes interactive web panels and can be rendered inside the Antigravity interface. Just like normal plugins, it can also bundle skills, MCPs, and rules, allowing you to build complete experiences around a given domain like image editing . Plugins can be installed either at workspace level in .agents/plugins or at global level in ~/.gemini/config/plugins . Similar to skills, they need to follow a specific directory structure. plugins/