Antigravity
CLI overview: Choose the personal or enterprise path
Choose between Antigravity CLI and the legacy Gemini CLI path that remains available based on your account, organization license, and existing configuration.
The short version: People using personal accounts, free access, or the former Google AI Pro and Ultra terminal path should start with Antigravity CLI. Organizations with an active Gemini Code Assist Standard or Enterprise contract may continue using Gemini CLI for now, but should plan their migration around the contract’s expiration or renewal date. You cannot choose between these paths solely by checking which package was installed before.
Google announced the transition on May 19, 2026, and said the legacy Gemini CLI and Code Assist IDE extensions would stop serving requests for Google AI Pro and Ultra accounts and the free Gemini Code Assist for individuals offering on June 18, 2026. The announcement’s statement that Gemini Code Assist Standard and Enterprise would “remain unchanged” was relative to that personal-path deadline. Cloud documentation updated on October 9, 2026 has since ended new sales of both subscriptions. Existing standalone subscriptions remain available through the end of their contracts; annual subscriptions can be renewed through January 31, 2027, and monthly subscriptions through December 31, 2027. Existing Code Assist benefits included with Gemini Enterprise remain available through March 31, 2027.
Use four questions to choose a path
Section titled “Use four questions to choose a path”1. Do you have a Gemini Code Assist Standard or Enterprise license assigned by your organization?2. Does the current gemini command still authenticate successfully through an organization project and have administrator support?3. Does the repository depend on .gemini/commands, extensions, Skills, or Model Context Protocol (MCP) configuration?4. Does the team need to migrate together on the same date rather than upgrade individually?| Situation | Current recommendation | First step |
|---|---|---|
| Personal Google Account, free access, or former Google AI Pro and Ultra path | Antigravity CLI | Install agy from the official documentation and complete a read-only check in a synthetic repository |
| Active existing Gemini Code Assist Standard or Enterprise contract with a managed legacy CLI | You may continue using Gemini CLI for now | Record the contract and renewal dates while running an Antigravity migration pilot |
| New team or contract approaching its end | Prefer Antigravity CLI | Review the Gemini Enterprise/Cloud project, data, and migration checklist |
| Unsure which account category applies | Do not guess | Check the administrator-assigned license and the official authentication page |
| Automation needs only an API, not a terminal agent | Do not choose a CLI | Use the Gemini API or an organization-approved Cloud path |
The current Antigravity getting started page identifies the terminal client as agy and requires you to confirm workspace trust on first launch. Authentication options include personal accounts, enterprise/Cloud accounts, API keys, and other supported methods. Check the current authentication and plan pages for exact eligibility, quotas, and pricing.
Minimal example: start with a read-only task
Section titled “Minimal example: start with a read-only task”Your starting material is a synthetic repository:
demo-notes/├── README.md└── notes/ ├── alpha.md └── beta.mdAfter choosing a terminal path and completing the official installation and sign-in process, launch the client from the repository root. Begin with a request that neither writes files nor runs commands:
Read only README.md and the Markdown files under notes/.List each file's level-one heading, missing frontmatter fields, and original line numbers.Do not modify files, run shell commands, or access paths outside the repository.The expected output is a report with file paths and supporting evidence. During verification, confirm that it contains no paths outside the workspace, that no files changed, and that every finding traces back to the source. If the client requests extra permissions, deny the request and determine whether the task truly needs them.
Full example: document the team’s paths
Section titled “Full example: document the team’s paths”The synthetic Blue Harbor Tools team has 6 members: 4 use personal accounts for experiments, and 2 have Standard licenses through the company. The repository also contains GEMINI.md, two legacy extensions, and one MCP server.
The right approach is not to announce that “everyone should upgrade.” Document both paths instead:
Personal path:- Target client: Antigravity CLI- Validation repository: demo-notes (synthetic data)- Acceptance criteria: read-only report, permission prompts, and working GEMINI.md
Enterprise path:- Current client: an administrator-supported version of Gemini CLI- Condition for change: administrator approval of an Antigravity pilot- Acceptance criteria: SSO/project, organization policies, auditing, and legacy workflows all pass
Shared migration items:- Inventory extensions, Skills, GEMINI.md, MCP, and automation scripts- Do not copy tokens or write credentials to the repository- Preserve backups of legacy configuration and run regression checks item by item after migrationThe expected output is an account–client–owner–deadline matrix, not one shared sign-in for everyone. To verify it, complete the same read-only task with separate personal and enterprise test accounts, then have an administrator confirm that the enterprise path remains supported.
Anti-pattern and rewrite
Section titled “Anti-pattern and rewrite”Anti-pattern: “Gemini CLI was renamed, so replace every gemini command with agy in bulk.”
This has three problems: the product was not simply renamed; Google explicitly says the initial release does not have 1:1 feature parity; and configuration, Skill paths, extensions/plugins, and MCP formats have migration differences. Rewrite it as follows:
First group users by account type. For each group, inventory authentication, context, commands, Skills, extensions, and MCP.Install the target client in a synthetic repository and validate each item; update team scripts only after those checks pass.Keep a recoverable backup before any bulk replacement, and obtain administrator approval before changing the enterprise path.Verification checklist
Section titled “Verification checklist”- Account types and organization licenses are recorded; eligibility is not inferred from email domains.
- Client selection matches the official status after June 18, 2026.
- The first test is read-only, low risk, and uses a synthetic repository.
GEMINI.md, Skills, plugins/extensions, and MCP are tested separately.- Every file write or command execution has a permission prompt and human review.
- Team scripts neither mix
geminiandagynor copy tokens. - An administrator confirms the enterprise path; personal experiments do not imply enterprise approval.
Recovery and safety boundaries
Section titled “Recovery and safety boundaries”- Sign-in loop or wrong project: Sign out of the client and verify the selected account and authentication method. Do not change shared Cloud IAM settings just to “see if it works.”
- Rules do not take effect: Confirm the launch directory, file location, and current client’s discovery rules, then test with one minimal rule.
- Tool permissions exceed expectations: Deny permission, switch to a read-only task, and review workspace trust and permission settings.
- Legacy extension does not work: Return to the migration checklist first. Do not experiment directly in a real repository; convert it and run regressions by following the migration guide.
- Enterprise users must stay on the legacy CLI: Follow the organization’s version freeze and add the contract expiration or renewal date to the migration plan. Continued access under an existing contract does not mean unlimited renewals.
Next: Once you have chosen a path, read Install and sign in to a CLI. To migrate legacy configuration, see Migrate from Gemini CLI to Antigravity CLI. To establish repository rules first, read GEMINI.md project context.