Skip to main content
连接
编程智能体
Antigravity CLI

Antigravity CLI

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

从配置提示或连接指南开始,详细步骤请查看指南。

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.

更多编程智能体连接