#3838th of 95 in Agent and MCP starters
antigravity-sdk-python
Python SDK for building Gemini-backed agents with tools, hooks and MCP
- Stars
- 4.2k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Language
- Python
53 on 27 Apr 20264,232 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A Python SDK that wraps an agentic loop around Gemini, running through a compiled runtime binary shipped in platform-specific PyPI wheels. It offers an Agent class, a lower-level Conversation API, custom Python tools, MCP servers, a policy and hook system, and triggers. It can target the Gemini API, Vertex AI, or local Gemma 4 models through LiteRT-LM.
Who it is for: Python developers building agents on Gemini or Vertex AI
Strengths
- Declarative policies (deny, allow, ask_user) gate tool calls; run_command is denied by default
- Supports Gemini API key, Vertex AI express mode, and Vertex with ADC
- Offline local mode with Gemma 4 via LiteRT-LM
- Python functions register as tools; MCP stdio servers and timed triggers are supported
Weaknesses
- Needs a compiled binary from PyPI wheels; cloning the repo is not enough
- Local mode is only tested with one .litertlm file; others may fail or not work
- Local mode recommends at least 24GB of VRAM or shared memory
- Built around Gemini; no other hosted model providers are documented
What it needs
- Python, Gemini, Gemma 4 26B-A4B (LiteRT-LM)
- Needs Gemini API key or Vertex AI credentials, compiled runtime binary (PyPI wheel), litert-lm (local models only)
Also in Agent and MCP starters
See all 95| Rank | Project | Score |
|---|---|---|
| #36 | romeAgent runtime where agents build and keep installable apps and actions | 68 out of 100 |
| #37 | mcp-typescript-templateTypeScript starter for remote MCP servers over HTTP with Express and Effect | 68 out of 100 |
| #39 | mcp-nestNestJS module for exposing tools, resources and prompts as an MCP server | 67 out of 100 |
| #40 | pipelexRuntime for typed, multi-step AI methods written as .mthds files | 66 out of 100 |
| #41 | aeonfun/aeonScheduled agent that runs Markdown skills on GitHub Actions across nine agent CLIs | 66 out of 100 |