Migrating from Gemini CLI to Antigravity CLI (agy): A Flutter Dev's Checklist
Migrating to Antigravity CLI (agy) brings multi-tool agent orchestration, persistent memory, and MCP server connectivity to Flutter workflows. Migration involves updating global configs, creating workspace AGENTS.md files, and registering Flutter dev MCP servers.
- Install and authenticate the agy CLI toolchain.
- Migrate custom prompt files into structured AGENTS.md and skill folders.
- Connect Flutter DevTools and Dart analyzer MCP servers for rich context.
Following the official sunset of Gemini CLI on June 18, 2026, Google has consolidated all AI developer tooling into the Google Antigravity ecosystem. For Flutter developers using the legacy CLI, migrating to Antigravity brings significantly upgraded agentic capabilities across four primary surfaces.
The 4 Antigravity Surfaces
- Antigravity Desktop: An IDE environment with an integrated agent panel, diff viewer, and visual agent trajectory timeline.
- Antigravity CLI (
agy): A ultra-fast, terminal-first agentic tool written in Go that runs agent loops directly in your shell. - Antigravity SDK: A programmatic library for triggering custom agent workflows inside CI/CD pipelines.
- Managed Agents: Cloud-isolated environment instances spun up on demand via API for heavy background tasks.
Migration Checklist for Flutter Projects
- 1. Remove Legacy Gemini CLI Hooks: Uninstall old CLI packages and clean up deprecated env variables.
- 2. Install the
agyGo CLI: Runbrew install google-antigravity/tap/agyor download the native binary. - 3. Convert Project Context to
AGENTS.md: Transfer custom prompt rules into a rootAGENTS.mdfile. - 4. Configure Flutter MCP Servers: Enable Dart and Stitch MCP plugins in your
~/.config/antigravity/mcp.jsonconfiguration. - 5. Verify CI/CD Integration: Update GitHub Actions or Codemagic pipelines to use the Antigravity SDK for automated code reviews.
4+ years of mobile engineering experience architecting scalable Flutter apps, eliminating performance bottlenecks, and deploying AI-assisted workflows (Claude, Antigravity, MCP).