Build Your Own Antigravity Web Studio in One Python File with Gemini API Sandboxes
clmt · x · 2026-10-19
Clement Farabet released gemini-agy-examples, showing how the Gemini API exposes the Antigravity agent harness (antigravity-preview-09-2026) plus remote Linux sandboxes as simple primitives.
- Key takeaway: with the harness and sandbox exposed as primitives, you can build a custom Antigravity Web Studio in a single Python file (webstudio.py, Example #5) — a web UI that talks to a remote Antigravity instance and controls sandboxes.
- The repo includes five modes: rundeepresearch.py (provisions a fresh sandbox, researches any topic via Google Search, builds and statefully refines an interactive HTML slide site), runparallelarena.py, scheduletrigger.py, and interactivecli.py.
- The screenshot demos a full run where the remote agent researches 2026 fusion-energy breakthroughs and produces a five-slide interactive briefing, streaming search/plan/thought steps alongside the live webpage preview.
More from coding & agent
- DecisionAct: open-source Python agent framework using decision models instead of LLM replies — AgitatedReveal07 · 2026-10-19
- 2-GPU R9700 vLLM rig hard power-offs: tensor-parallel all-reduce transient, not wattage, kills 1200W PSUs — brainchillzZ · 2026-10-19
- Agent Status Protocol: A Framework-Agnostic Way for AI Agents to Report State — kalyan_kpl · 2026-10-19
- Nadella: Windows being redesigned as a safer OS to run AI agents — wateriscoding · 2026-10-19
- Krea2 vs MOSS vs Qwen2.1 vs Flux3 hands-on: Flux3 flops hard — CaptainBackwoods447 · 2026-10-19
- AI performance engineering meetup: GPU rooflines, agent trace-to-training loop, Homa transport — cfregly · 2026-10-19