google-antigravity-sdk
Skill0 starsChanged 4 months agoApache-2.0View on GitHub
Design, implement, and debug autonomous AI agents and multi-agent systems using the Google Antigravity (AGY) SDK. ACTIVATE this skill when the user wants to create, configure, or orchestrate Google Antigravity agents.
- Reads credentials
3 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- 1stANUNNAKI/The-Counciledited, first seen Nov 16, 2026
- 1stANUNNAKI/majlisedited, first seen Nov 8, 2026
- google-antigravity/antigravity-sdk-pythonedited, first seen May 13, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- google-antigravity/antigravity-sdk-python★ 4.3k81% same
- 1stANUNNAKI/majlis★ 295% same
- 1stANUNNAKI/The-Council★ 195% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository78 other files it gives its agents.
- a11y-debuggingSkill
- accidental-data-loss-preventionSkill
- agy-customizationsSkill
- alphafold-database-fetch-and-analyzeSkill
- alphagenome-single-variant-analysisSkill
- antigravity-guideSkill
- bigquery-ai-mlSkill
- bigquery-bigframesSkill
- bigquery-data-transfer-serviceSkill
- bigquery-graphSkill
- bigquery-sqlSkill
- building-data-appsSkill
- chembl-databaseSkill
- chrome-devtoolsSkill
- chrome-extensionsSkill
- clinical-trials-databaseSkill
- clinvar-databaseSkill
- credentialsSkill
- data-autocleaningSkill
- dataform-bigquerySkill
- dbsnp-databaseSkill
- dbt-bigquerySkill
- debug-optimize-lcpSkill
- discovering-gcp-data-assetsSkill
- document-validatorSkill
- embl-ebi-olsSkill
- encode-ccres-databaseSkill
- enforcing-resource-attributionSkill
- ensembl-databaseSkill
- federate-lakehouse-catalogSkill
- foldseek-structural-searchSkill
- gcloud-auth-verificationSkill
- gcp-composer-troubleshootingSkill
- gcp-dataflowSkill
- gcp-data-pipelinesSkill
- gcp-managed-airflow-migrationsSkill
- gcp-pipeline-orchestrationSkill
- gcp-pipeline-resource-provisioningSkill
- gcp-sparkSkill
- gcs-security-assessmentSkill
- gnomad-databaseSkill
- gtex-databaseSkill
- human-protein-atlas-databaseSkill
- interpro-databaseSkill
- jaspar-databaseSkill
- link-checkSkill
- literature-search-arxivSkill
- literature-search-biorxivSkill
- literature-search-europepmcSkill
- literature-search-openalexSkill
- managing-python-dependenciesSkill
- memory-leak-debuggingSkill
- ml-best-practicesSkill
- modern-web-guidanceSkill
- ncbi-sequence-fetchSkill
- notebook-guidanceSkill
- openfda-databaseSkill
- opentargets-databaseSkill
- pdb-databaseSkill
- permissioned-githubSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
33 rules. 4 are common, 0 are distinctive, and 29 are very specific to this project.
4
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
29
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 9
Before proceeding with any Google Antigravity tasks, ensure the environment is ready:
- Common: line 12
Verify Applicability: If operating in an existing codebase, verify that using this Python SDK is possible and appropriate for the project.
- Very specific: line 14
Check Dependencies: Check if google-antigravity is listed in the project's dependencies (e.g., requirements.txt, pyproject.toml).
- Very specific: line 16
Install Package: Ensure the google-antigravity Python package is installed.
- Very specific: line 18
Authentication Setup: Check for a valid GEMINI_API_KEY environment variable or a .env file (required to access Gemini models).
- Common: line 20
If credentials are missing, you MUST actively help the user get set up with an API key by providing the following link:
- Very specific: line 22
Default to Google AI Studio: https://aistudio.google.com/app/api-keys
- Common: line 42
Use the following information to dig deeper into specific topics based on the user request.
- Very specific: line 48
If the user needs to understand the high-level overview and core concepts of the Google Antigravity SDK (Agent, Conversation, Connection), …
- Very specific: line 51
If the user needs to perform advanced agent configuration (e.g., selecting appropriate models, configuring execution behavior via …
- Very specific: line 56
If the user needs to extend an agent's capabilities by integrating Model Context Protocol (MCP) servers, or configure tool permissions for …
- Very specific: line 59
If the user needs to define safety policies, resolve execution order, or restrict agent actions using predicates, read …
- Very specific: line 62
If the user needs to debug failed agents, stream logs, or implement error recovery using hooks to make agents robust, read …
- Very specific: line 65
If the user needs to monitor costs, track token usage (including thinking tokens), or build custom audit logs for advanced monitoring, read …
- Very specific: line 68
If the user needs to see a list of built-in tools and understand their default state, read references/built_in_tools.md.
- Very specific: line 69
If the user needs to run agents locally using on-device models (e.g., Gemma via LiteRT, or via OpenAI-compatible APIs), understand hardware …
- Very specific: line 76
If the user needs to implement basic agent behavior, streaming responses, or expose internal thoughts, read …
- Very specific: line 78
If the user needs to customize or override default retry behavior and exponential backoff for API errors or schema validation, read …
- Very specific: line 81
If the user needs to equip an agent with custom capabilities (tools) derived from Python functions, or maintain agent state across tool …
- Very specific: line 84
If the user needs to shape an agent's persona, define its system instructions, or dynamically adapt its behavior, read …
- Very specific: line 87
If the user needs to build multimodal agents capable of processing images and PDFs, or generating visual content, read …
- Very specific: line 90
If the user needs to implement multi-agent delegation, allowing a main agent to spawn and orchestrate subagents for complex tasks, read …
- Very specific: line 93
If the user needs to connect an agent to external services via MCP (Stdio or SSE), read examples/getting_started/mcp_tools.md.
- Very specific: line 95
If the user needs to create proactive agents that respond to time-based events or file system triggers in the background, read …
- Very specific: line 98
If the user needs to intercept agent lifecycle events (e.g., pre/post turn, tool execution, errors) to customize execution flow, read …
- Very specific: line 101
If the user needs to implement turn-level cancellation or programmatic stream aborts, read examples/getting_started/cancellation.md.
- Very specific: line 103
If the user needs to implement persistent agents that remember past interactions across sessions, read …
- Very specific: line 106
If the user needs to override the default application data directory for agent artifacts, scratch files, and media storage, read …
- Very specific: line 109
If the user needs an agent to output structured data (e.g., JSON matching a Pydantic schema) for reliable integration, read …
- Very specific: line 112
If the user needs to add, configure, or load agent skills into the Google Antigravity SDK agent, read …
- Very specific: line 114
If the user needs to enable and use built-in web tools (like Google Search or URL fetching) with the agent, read …
- Very specific: line 119
If the user needs to enforce session operational limits (model or tool calls) or proactive token budget controls (input, output, or total …
- Very specific: line 123
If the user needs to set up and run a local model agent (LiteRT with Gemma, or an OpenAI-compatible server like Ollama), including model …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Google Antigravity SDK
Installation & Setup
Before proceeding with any Google Antigravity tasks, ensure the environment is ready:
- Verify Applicability: If operating in an existing codebase, verify that using this Python SDK is possible and appropriate for the project.
- Check Dependencies: Check if
google-antigravityis listed in the project's dependencies (e.g.,requirements.txt,pyproject.toml). - Install Package: Ensure the
google-antigravityPython package is installed. - Authentication Setup: Check for a valid
GEMINI_API_KEYenvironment variable or a.envfile (required to access Gemini models).- If credentials are missing, you MUST actively help the user get set up
with an API key by providing the following link:
- Default to Google AI Studio:
https://aistudio.google.com/app/api-keys
- Default to Google AI Studio:
- Explain that the API key can be passed explicitly in code as shorthand
(e.g.,
LocalAgentConfig(api_key="...")) or automatically read from the environment. - For Gemini Enterprise Agent Platform (formerly Vertex AI)
authentication, the SDK supports both Standard Mode and Express Mode:
- Standard Mode (ADC): Instruct the user to run
gcloud auth application-default loginand configure the agent withvertex=Truealong withprojectandlocationinLocalAgentConfig. - Express Mode (API Key): Configure the agent with
vertex=Truealong withapi_key="your-express-api-key"inLocalAgentConfig(no ADC or regional project/location needed).
- Standard Mode (ADC): Instruct the user to run
- Note: For local models (
LiteRTAgentConfigorLocalOpenAIAgentConfig), no API key or cloud credentials are needed. Seereferences/local_models.mdfor setup details.
- If credentials are missing, you MUST actively help the user get set up
with an API key by providing the following link:
Routing Table
Use the following information to dig deeper into specific topics based on the user request. Read the referenced files or explore the directories to find relevant information.
References
- If the user needs to understand the high-level overview and core concepts of
the Google Antigravity SDK (Agent, Conversation, Connection), read
references/architecture.md. - If the user needs to perform advanced agent configuration (e.g., selecting
appropriate models, configuring execution behavior via
agent_behavior—defaulting to autonomous vs interactive—or configuring connection reliability), or understand the critical rules for model identifiers to avoid assumptions, readreferences/agent_configuration.md. - If the user needs to extend an agent's capabilities by integrating Model
Context Protocol (MCP) servers, or configure tool permissions for the agent,
read
references/mcp_integration.md. - If the user needs to define safety policies, resolve execution order, or
restrict agent actions using predicates, read
references/safety_policies.md. - If the user needs to debug failed agents, stream logs, or implement error
recovery using hooks to make agents robust, read
references/error_handling.md. - If the user needs to monitor costs, track token usage (including thinking
tokens), or build custom audit logs for advanced monitoring, read
references/observability.md. - If the user needs to see a list of built-in tools and understand their default state, read
references/built_in_tools.md. - If the user needs to run agents locally using on-device models (e.g., Gemma
via LiteRT, or via OpenAI-compatible APIs), understand hardware
requirements, or set up a local model environment, read
references/local_models.md.
Examples
- If the user needs to implement basic agent behavior, streaming responses, or
expose internal thoughts, read
examples/getting_started/hello_world.md. - If the user needs to customize or override default retry behavior and
exponential backoff for API errors or schema validation, read
examples/getting_started/customizing_retries.md. - If the user needs to equip an agent with custom capabilities (tools) derived
from Python functions, or maintain agent state across tool execution, read
examples/getting_started/custom_tool.md. - If the user needs to shape an agent's persona, define its system
instructions, or dynamically adapt its behavior, read
examples/getting_started/persona_config.md. - If the user needs to build multimodal agents capable of processing images
and PDFs, or generating visual content, read
examples/getting_started/multimodal.md. - If the user needs to implement multi-agent delegation, allowing a main agent
to spawn and orchestrate subagents for complex tasks, read
examples/getting_started/subagents.md. - If the user needs to connect an agent to external services via MCP (Stdio or
SSE), read
examples/getting_started/mcp_tools.md. - If the user needs to create proactive agents that respond to time-based
events or file system triggers in the background, read
examples/getting_started/periodic_trigger.md. - If the user needs to intercept agent lifecycle events (e.g., pre/post turn,
tool execution, errors) to customize execution flow, read
examples/getting_started/hooks.md. - If the user needs to implement turn-level cancellation or programmatic
stream aborts, read
examples/getting_started/cancellation.md. - If the user needs to implement persistent agents that remember past
interactions across sessions, read
examples/getting_started/persistence.md. - If the user needs to override the default application data directory
for agent artifacts, scratch files, and media storage, read
examples/getting_started/app_data_dir_override.md. - If the user needs an agent to output structured data (e.g., JSON matching a
Pydantic schema) for reliable integration, read
examples/getting_started/structured_output.md. - If the user needs to add, configure, or load agent skills into the Google
Antigravity SDK agent, read
examples/getting_started/agent_skills.md. - If the user needs to enable and use built-in web tools (like Google Search
or URL fetching) with the agent, read
examples/getting_started/web_tools.md. (Note: when fetching massive web pages or articles, pairread_url_contentwithview_fileto inspect cached disk files). - If the user needs to enforce session operational limits (model or
tool calls) or proactive token budget controls (input, output, or
total tokens) and handle
StopReason, readexamples/getting_started/budget_limits.md. - If the user needs to set up and run a local model agent (LiteRT with Gemma,
or an OpenAI-compatible server like Ollama), including model download,
hardware requirements, and context window configuration, read
examples/getting_started/local_models.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

