Build AI agents that autonomously read files, run commands, edit code, and more. The Agent SDK gives you the same tools, agent loop, and context management that power Google Antigravity, programmable in Python.
pip install google-antigravityThe Google Antigravity SDK relies on a compiled runtime binary that is included in the platform-specific wheels published to PyPI. Cloning this repository alone is not sufficient to run the SDK. Always install from PyPI with pip install google-antigravity to obtain the binary.
Layer custom Python callables, Model Context Protocol (MCP) servers, and reusable agent skills over our built-in filesystem and terminal tools under a single pipeline.
The SDK abstracts away the complex machinery of running an AI agent—including state management, tool execution, and backend communication—allowing developers to focus on the agent's behavior rather than infrastructure.
Pass rich multimedia file attachments (images, videos, audio, and documents) to the agent alongside textual instruction prompt lists. You can attach assets directly using content classes (perfect for in-memory bytes) or conveniently from a filesystem path (which automatically resolves types and guesses MIME formats).