Skip to content

Google Antigravity

Target id Package Ship with
antigravity @oiap/exporter-antigravity oiap sync (git install) or install-agent-plugin
Terminal window
npx oiap build oiap.plugin.ts --target antigravity --out dist/antigravity
npx install-agent-plugin <owner>/<repo> --plugin <plugin-id> --agent antigravity

Google Antigravity exporter for Open Interoperable Agent Plugins.

The exporter renders a native Antigravity plugin, installable with agy plugin install <path or GitHub URL> or /plugin in the app (plugins, build plugins):

  • .antigravity-plugin/plugin.json: the manifest, with schema-valid keys only. It takes precedence over a root plugin.json, which other hosts also read.
  • skills/<name>/SKILL.md: skills, with SkillAsset.files beside them. Commands and workflows become skills too, since plugins do not load commands/; invoke them with /<skill-name>.
  • agents/<name>.md: custom agents and subagents with name and description frontmatter (subagents). Gemini CLI reads the same folder with a strict schema, so other keys come only from targetMetadata.antigravity.
  • rules/<name>.md: rules with trigger and comma-separated globs frontmatter.
  • hooks.json and .oiap/runtime/: lifecycle hooks that run the OIAP hook runner from the plugin root; the runner answers with Antigravity hook responses (decision, injectSteps).
  • mcp_config.json: MCP servers under mcpServers.
  • Plugin resources at the plugin root.
  • .oiap/: source map, capability report, permission fragments, and policy evidence.

Antigravity installs plugins to ~/.gemini/config/plugins/<plugin-name> (global) or .agents/plugins/ (workspace). The exporter itself writes only the bundle.

Where install-agent-plugin and installPlugin() write the bundle, from the target profile. --out <dir> overrides them.

Scope Path
Local (default) ./.agents/plugins/<plugin-id>
Global (--global) ~/.gemini/config/plugins/<plugin-id>

From the platform support matrix (see its legend).

Profile Package Rules Skills Commands Hooks Agents MCP Runtime Policy
core F Y Y P N P Y F P

Workflow/config target. Antigravity documents workspace Markdown rules under .agents/rules, Agent Skills under .agents/skills, workflow markdown invoked as slash commands, mcp_config.json with mcpServers, allow/deny/ask permission resource strings, strict mode, task groups, and a browser subagent. OIAP exports bundle artifacts for the documented file formats and records degradations for the missing native plugin manifest, hook configuration, custom agent files, workflow directory schema, and project-local permission file path.