Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | -39% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -13% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -34% | 0% |
Before proceeding with any Google Antigravity tasks, ensure the environment is ready:
using this Node.js SDK is possible and appropriate for the project.
google-antigravity is listed in theproject's dependencies (e.g., package.json, package.json).
google-antigravity Node.js package isinstalled.
GEMINI_API_KEY environmentvariable or a .env file (required to access Gemini models).
with an API key by providing the following link:
https://aistudio.google.com/app/api-keys
(e.g., LocalAgentConfig(api_key="...")) or automatically read from the environment.
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.
the Google Antigravity SDK (Agent, Conversation, Connection), read references/architecture.md.
appropriate models, or understand the critical rules for model identifiers to avoid assumptions, read references/agent_configuration.md.
Context Protocol (MCP) servers, or configure tool permissions for the agent, read references/mcp_integration.md.
restrict agent actions using predicates, read references/safety_policies.md.
recovery using hooks to make agents robust, read references/error_handling.md.
tokens), or build custom audit logs for advanced monitoring, read references/observability.md.
references/built_in_tools.md.expose internal thoughts, read examples/getting_started/hello_world.md.
from TypeScript functions, or maintain agent state across tool execution, read examples/getting_started/custom_tool.md.
instructions, or dynamically adapt its behavior, read examples/getting_started/persona_config.md.
and PDFs, or generating visual content, read examples/getting_started/multimodal.md.
to spawn and orchestrate subagents for complex tasks, read examples/getting_started/subagents.md.
SSE), read examples/getting_started/mcp_tools.md.
events or file system triggers in the background, read examples/getting_started/periodic_trigger.md.
tool execution, errors) to customize execution flow, read examples/getting_started/hooks.md.
interactions across sessions, read examples/getting_started/persistence.md.
for agent artifacts, scratch files, and media storage, read examples/getting_started/app_data_dir_override.md.
JSON schema) for reliable integration, read examples/getting_started/structured_output.md.
Antigravity SDK agent, read examples/getting_started/agent_skills.md.
Other measured skills in the registry, with their headline benchmark lift.