Run the Antigravity managed agent through the Gemini Interactions API. Antigravity is a general-purpose autonomous agent (Gemini 3.5 Flash) that plans, runs code, browses the web, and produces artifacts (PDFs, HTML, slides) inside a managed Linux sandbox. TheDocumentation Index
Fetch the complete documentation index at: https://docs.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
environment parameter selects the sandbox:
| Value | Behavior |
|---|---|
"remote" | Fresh remote Linux sandbox. |
"env_<id>" | Reuse a previously provisioned sandbox. |
dict | Full EnvironmentConfig (sources, network rules). |
store=True so the interaction is retrievable.
Code
cookbook/90_models/google/gemini_interactions/antigravity.py