environment parameter selects the sandbox:
Unlike Deep Research, Antigravity runs in the foreground. The model still forces
store=True so the interaction is retrievable.
Code
cookbook/90_models/google/gemini_interactions/antigravity.py
Usage
1
Set up your virtual environment
2
Set your API key
3
Install dependencies
4
Run Agent