REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
A Python library for building AI agents that leverage the full power of Google Antigravity.
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/google-antigravity-antigravity-sdk-python)在同一工作中把 AI 连到服务的 MCP
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
MCP server for terminal commands, file operations, and process management
同类工作,排序与 Skill 列表相同
| 本项 antigravity-sdk-python | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 作者 | google-antigravity | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 数 | 1 | 1 | 1 | 1 | 1 |
| GitHub 星标 | 4,080 | 463,670 | 233,682 | 148,887 | 143,987 |
| 最近代码更新 | 2026年10月28日 | 2026年11月17日 | 2026年4月20日 | 2026年11月17日 | 2026年11月16日 |
| 许可证 | Apache-2.0 | MIT | – | Apache-2.0 | MIT |
google-antigravity 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
开发者未说明 · SKILL.md 形式的 Skill 可用于支持 Agent Skills 的应用,如 Claude Code、Codex 和 Cursor
GitHub account google-antigravity (organization), 1 years old
★ 4,080 stars · code last changed 2026年10月28日
No, plain text files the AI reads and follows
No scripts, so it does not go online by itself
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 75ba22b (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
Uploading to claude.ai would fail: the description is over 200 characters (217). Use "Let the AI install it" instead
复制这句话,粘贴到 Claude Code 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
重新打开 Claude Code,输入 /google-antigravity-sdk,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/google-antigravity/antigravity-sdk-python.git /tmp/popnx-skill-google-antigravity-antigravity-sdk-python-75ba22b && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-google-antigravity-antigravity-sdk-python-75ba22b/skills/google-antigravity-sdk' ~/.claude/skills/google-antigravity-sdkChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
把 google-antigravity-sdk 文件夹放到 ~/.agents/skills/google-antigravity-sdk
~ 是你的主文件夹($HOME)
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/google-antigravity/antigravity-sdk-python.git /tmp/popnx-skill-google-antigravity-antigravity-sdk-python-75ba22b && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-google-antigravity-antigravity-sdk-python-75ba22b/skills/google-antigravity-sdk' ~/.agents/skills/google-antigravity-sdkChecked against official docs 2026年11月15日 · Source: learn.chatgpt.com
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/google-antigravity/antigravity-sdk-python.git /tmp/popnx-skill-google-antigravity-antigravity-sdk-python-75ba22b && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-google-antigravity-antigravity-sdk-python-75ba22b/skills/google-antigravity-sdk' ~/.agents/skills/google-antigravity-sdk复制这句话,粘贴到 Cursor 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
在 Cursor 的 Agent 聊天中输入 / 并选择 google-antigravity-sdk
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/google-antigravity/antigravity-sdk-python.git /tmp/popnx-skill-google-antigravity-antigravity-sdk-python-75ba22b && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-google-antigravity-antigravity-sdk-python-75ba22b/skills/google-antigravity-sdk' ~/.cursor/skills/google-antigravity-sdk适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
✓ 命令已检查 2026年11月17日
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
显示前 8,000 个字符 · 在 GitHub 打开完整文件
---
name: google-antigravity-sdk
description: "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."
---
# 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-antigravity` is listed in the
project's dependencies (e.g., `requirements.txt`, `pyproject.toml`).
- **Install Package**: Ensure the `google-antigravity` Python package is
installed.
- **Authentication Setup**:
- The SDK defaults to hosted Gemini models with an API key
(`LocalAgentConfig`). When running on-device or without cloud
connectivity is desired, local models (`LiteRTAgentConfig` or
`LocalOpenAIAgentConfig`) can be used as an alternative without an API
key or cloud credentials.
- **Hosted Models (Gemini - Default)**: Check for a valid `GEMINI_API_KEY`
environment variable or a `.env` file (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`
- 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 login` and configure the agent
with `vertex=True` along with `project` and `location` in
`LocalAgentConfig`.
- **Express Mode (API Key)**: Configure the agent with
`vertex=True` along with `api_key="your-express-api-key"` in
`LocalAgentConfig` (no ADC or regional project/location needed).
- **Local Models (Alternative)**: For local models (`LiteRTAgentConfig` or
`LocalOpenAIAgentConfig`), no API key or cloud credentials are needed.
LiteRT is the supported on-device runtime for local models (such as
Gemma 4 26B). See `references/local_models.md` and
`examples/getting_started/local_models.md` for setup details.
## 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,
read `references/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,
restrict agent actions using predicates, or run terminal commands inside an
OS-level sandbox, 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
(`LiteRTAgentConfig` for the supported on-device runtime, or
`LocalOpenAIAgentConfig` for external OpenAI-compatible servers like
Ollama/LM Studio), understand hardware requirements, or configure local
execution, 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, or configure multi-tier nested subagent
hierarchies (using `max_subagent_depth` and `allowed_subagents`), read
`examples/getting_started/subagents.md`.
- If the user needs to author and execute deterministic multi-agent workflows
using `@beta.workflows.define` (`phase`, `log`, `agent`, `parallel`,
`pipeline`) and `await agent.beta.run_workflow(...)`, read
`examples/getting_started/workflows.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,
stop, 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, pair `read_url_content` with `view_file` to inspect
cached disk files).
- If the user needs to enforce session operational limits (model or
tool calls) or proactive token budget controls (input, out提问、分享技巧或报告无法使用。按“有帮助”数量排序。