google-antigravity
Google Antigravity SDK for building AI agents
Decision gist · record as of 2026-08-14
Yes, with conditions. The SDK is actively maintained (released 1 day ago), permissively licensed, and solves a real problem—abstracting agentic loop complexity. However, it is in Alpha status, depends on 7 runtime libraries, requires Python 3.10+, and mandates installation from PyPI due to compiled binaries. Install if you are building Gemini-powered agents and can tolerate early-stage API changes; avoid if you need production stability guarantees or prefer lightweight agent frameworks.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10+.
- Relies on a compiled runtime binary included only in PyPI wheels; cloning the repository alone is insufficient.
- Requires GEMINI_API_KEY environment variable or explicit api_key parameter for Gemini API access.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production scenarios.
last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 3,011 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 386,789 downloads/mo, #7,049 on PyPI
Alternatives
Verify before relying
pip install google-antigravity
import asyncio
from google.antigravity import Agent, LocalAgentConfig
async def main():
config = LocalAgentConfig()
async with Agent(config) as agent:
response = await agent.chat("Hello!")
print(await response.text())
asyncio.run(main())- Whether the 7 runtime dependencies (absl-py, google-genai, mcp, pydantic, uvicorn, websockets, protobuf) are all required or if some are optional for specific features.
- Performance characteristics and latency overhead of the agentic loop abstraction layer.
- Compatibility and tested integration status with specific MCP server implementations.
What it is and what it does
Google Antigravity SDK is a Python framework for building AI agents that run on Google's Gemini models. It abstracts away the complexity of managing the agentic loop—the iterative cycle of reasoning, tool calling, and response generation—so you can define agent behavior through system instructions, custom tools, and policies without managing connection lifecycle or state manually.
The SDK provides both high-level convenience (the `Agent` class with async context manager) and lower-level control (direct `Conversation` and `ConnectionStrategy` APIs). It supports multimodal input (images, videos, audio, documents), custom Python functions as tools, integration with Model Context Protocol (MCP) servers, streaming responses and internal reasoning, and policy-based behavior control. It works with both Gemini API and Gemini Enterprise Agent Platform (formerly Vertex AI) via Application Default Credentials.
Use it for
- Build a code analysis agent that reads repository files and documents, then streams architectural recommendations.
- Create an interactive assistant that accepts user queries and streams real-time responses with visible reasoning steps.
- Wire custom Python functions as tools so an agent can query databases, call APIs, or execute system commands autonomously.
- Connect MCP servers to expose external capabilities (e.g., file system tools, web search) to the agent without custom integration code.
- Deploy a read-only agent for document analysis or Q&A over PDFs and images without enabling write capabilities.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The SDK is actively maintained (released 1 day ago), permissively licensed, and solves a real problem—abstracting agentic loop complexity. However, it is in Alpha status, depends on 7 runtime libraries, requires Python 3.10+, and mandates installation from PyPI due to compiled binaries. Install if you are building Gemini-powered agents and can tolerate early-stage API changes; avoid if you need production stability guarantees or prefer lightweight agent frameworks.
Install
google-antigravity on PyPI
Before you install
Medium install friction due to platform-specific compiled binaries included in wheels; must install from PyPI, not from source. Active maintenance with recent release (1 day old) and 3011 repository stars suggest ongoing support.
Requires Python 3.10+. Relies on a compiled runtime binary included only in PyPI wheels; cloning the repository alone is insufficient. Requires GEMINI_API_KEY environment variable or explicit api_key parameter for Gemini API access.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production scenarios.
Quickstart
pip install google-antigravity
import asyncio
from google.antigravity import Agent, LocalAgentConfig
async def main():
config = LocalAgentConfig()
async with Agent(config) as agent:
response = await agent.chat("Hello!")
print(await response.text())
asyncio.run(main())
Verify before relying
- Whether the 7 runtime dependencies (absl-py, google-genai, mcp, pydantic, uvicorn, websockets, protobuf) are all required or if some are optional for specific features.
- Performance characteristics and latency overhead of the agentic loop abstraction layer.
- Compatibility and tested integration status with specific MCP server implementations.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 7 packagesabsl-pygoogle-genaimcppydanticuvicornwebsocketsprotobuf |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 386,789 / month, #7,049 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: google_antigravity-0.1.12-py3-none-macosx_11_0_arm64.whl; google_antigravity-0.1.12-py3-none-manylinux_2_17_aarch64.whl; google_antigravity-0.1.12-py3-none-manylinux_2_17_x86_64.whl; google_antigravity-0.1.12-py3-none-win_amd64.whl; google_antigravity-0.1.12-py3-none-win_arm64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “gemini ai agent framework”
- google-antigravityBuilds and runs AI agents powered by Google's Gemini, handling the…
- google-adkA Python framework for building, testing, and deploying AI agents…
- langchain-google-genaiIntegrates Google's Gemini AI models (chat, vision, embeddings) into…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also google-cloud-aiplatform · vertexai · google-agents-cli · livekit-plugins-google · google-genai · trinity-agent · llama-index-llms-google-genai · llama-index-llms-vertex · cuga · praisonaiagents