Google Antigravity & Gemini CLI
Google Antigravity (AGY) and the Gemini CLI natively support agent skills located in.agents/skills/ within your workspace, as well as global skills in ~/.gemini/config/skills/.
Integrating Dmint provides two key benefits:
- Agent Skill: Equips Antigravity with the system knowledge to author and verify Dmint policies.
- MCP Security Gateway: Intercepts MCP servers called by Antigravity subagents, guaranteeing that tool actions cannot escape your configured boundaries.
1. Install the Skill
Run the skill installer from your workspace root:- Current Workspace (.agents/skills/)
- Global User Config (~/.gemini/config/skills/)
.agents/skills/dmint-policy-manager/ directly in your workspace. Antigravity discovers it immediately.2. Using the Skill in Antigravity
Once installed, simply prompt Antigravity in your chat or prompt window:- Load the
dmint-policy-managerskill instructions. - Draft
access.mdfollowing least-privilege principles. - Run
dmint create-policyto compilepolicy.json. - Run
dmint verify-policyto prove zero validation errors.
3. Protecting Antigravity Subagents with dmint-mcp
When running autonomous Antigravity subagents with external MCP tools:
- Configure your MCP server in
mcp_protection.json. - Launch
dmint-mcpas the endpoint for your subagent tools. - Keep
dmint dashboardrunning in a browser tab at http://127.0.0.1:8080 to review and approve sensitive actions as subagents execute.