谷歌 Antigravity CLI 上线 终端直连智能体引擎

原标题:Google Antigravity ACP using "custom-agent" consumes 4x quota per token
58AI 研判分

谷歌发布 Antigravity CLI,将 Antigravity 2.0 的多步推理、多文件编辑、工具调用与持久历史能力搬进终端,面向键盘流与远程 SSH 场景优化。它与 GUI 版共用同一核心智能体引擎,但主打低开销与速度。标题所称自定义智能体四倍配额消耗在正文中无对应说明,需谨慎看待。

报道正文

本文目录10 个章节

Antigravity CLI

Antigravity CLI understands your codebase, makes edits with your permission, and executes commands — right from your terminal.

Antigravity CLI Demo


Antigravity CLI brings the core capabilities of Antigravity 2.0 (multi-step reasoning, multi-file editing, tool calling, and persistent history) directly to your terminal. It is optimized for keyboard-driven workflows and remote SSH sessions with minimal resource overhead.


Features at a Glance

FeatureAntigravity CLIAntigravity 2.0
Primary FocusSpeed, keyboard efficiency, low overheadComprehensiveness, visual orchestration, project management
InterfaceTerminal User Interface (TUI)Full Rich GUI Application
WorkflowsSSH/Remote sessions, keyboard-firstLocal workspaces, heavy orchestration
Agent EngineShared Core Agent EngineShared Core Agent Engine

Integration

  • Shared Agent Engine: Both interfaces run on the same core agent engine. Improvements automatically apply to both.
  • Shared Settings: Preferences and permissions sync bidirectionally.
  • Session Export: Export terminal sessions to the Antigravity 2.0 GUI to continue working.

Installation

macOS / Linux

BASH
curl -fsSL https://antigravity.google/cli/install.sh | bash

Windows PowerShell

POWERSHELL
irm https://antigravity.google/cli/install.ps1 | iex

Windows CMD

CMD
curl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmd

Usage

After installation, start Antigravity CLI by running:

BASH
agy

Authentication

The CLI authenticates via the system keyring, falling back to Google Sign-In if no active session exists.

  • Local: Automatically opens your default browser.
  • Remote / SSH: Detects SSH sessions and prints an authorization URL to complete login locally.
  • Sign Out: Run /logout to clear saved credentials.

[!NOTE] For enterprise access, connect your GCP project during onboarding. See the Enterprise page for details.


Terms of Service & Data Use

[!WARNING] AI coding agents are known to have certain security risks, including autonomous code execution, data exfiltration, prompt injection, and supply chain risks. Ensure that you monitor and verify all actions taken by the agent.

By using Antigravity CLI, you agree to help improve the product by allowing Google to collect and use your Interactions data, subject to the Google Terms of Service and Google Privacy Policy. You can choose to opt out at any time via your settings.