Skip to main content
Use Agno’s integration with Google’s Gemini Agents API (Antigravity) as a tool. The Agno agent’s brain (Gemini, here) decides when to delegate a sub-task to a managed Antigravity sandbox, which runs an autonomous loop with web search, code execution, and file I/O built in.
antigravity_tools.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run the example

Save the code above as antigravity_tools.py, then run:
Full source: cookbook/91_tools/antigravity/antigravity_tools.py