Skip to main content
Connectors
Coding Agent
Antigravity CLI

Antigravity CLI

Gemini CLI migration path for agy. New Google Antigravity users should install the dedicated native plugin instead.

Start with the setup prompt or connection guide. Open the guide for detailed steps.

Agent shortcut

Ask your agent to set it up

Copy the setup prompt. Your agent will open this guide, use the recommended path, and verify the setup.

Gemini CLI Is Being Retired

Google replaced Gemini CLI with Antigravity CLI (agy) and stopped serving individual-tier accounts on June 18, 2026. This page is for users migrating an existing Gemini CLI setup. For new Google Antigravity installs, use the native Google Antigravity plugin.

One-Minute Setup

  1. Install the Nowledge Mem extension for Gemini CLI (see the Gemini CLI guide).
  2. Install Antigravity CLI: curl -fsSL https://antigravity.google/cli/install.sh | bash
  3. Run agy plugin import gemini to convert the extension into an Antigravity plugin.
  4. Run nmem status once, then open a new agy session.

MCP Configuration

Antigravity CLI keeps MCP servers in .agents/mcp_config.json. Generate the Mem block with nmem config mcp show --host gemini-cli and place it there; remote server definitions use serverUrl instead of url.

What You Get

  • The same Context Bundle / Working Memory, routed recall, distillation, and handoff surfaces inside Antigravity CLI
  • Bundled local MCP tools for retrieval and memory writes
  • Session capture through the shared ~/.gemini history: nmem t save --from gemini-cli
  • Older sessions backfilled with nmem t sync --from gemini-cli --all-projects
  • Clean local and remote auth through nmem

Known Boundaries

  • agy plugin import gemini is Google's official migration channel and the supported way to run the Nowledge Mem extension under Antigravity today.
  • Session capture reads the shared ~/.gemini history through the Gemini CLI connector; if Google moves Antigravity session storage, re-verify with nmem t sync --from gemini-cli --limit 5 after upgrading agy.

More Coding Agent Connectors