newspaperPress Guidelines
Pricing
Blog
Downloaddownload

Explore our next generation products

See overview

Products

antigravityAntigravity 2.0terminalAntigravity CLIcodeAntigravity IDEsdkAntigravity SDK

Built for developers in the agent-first era

See overview
EnterpriseFrontendFullstackScienceMarketer

Everything you need to stay up-to-date and get help

Documentationkeyboard_arrow_rightChangelogSupportPressReleases

Explore our next generation products

See overview

Products

antigravityAntigravity 2.0terminalAntigravity CLIcodeAntigravity IDEsdkAntigravity SDK

Built for developers in the agent-first era

See overview
EnterpriseFrontendFullstackScienceMarketer
Pricing
Blog

Everything you need to stay up-to-date and get help

Documentationkeyboard_arrow_rightChangelogSupportPressReleases
Home
Antigravity 2.0v2.4.3keyboard_arrow_right
Overview
Getting Started
Build with Google
Feature Overview
Models
Projects
Settingskeyboard_arrow_right
Overview
Agent Settings
Artifact Review
Customizationskeyboard_arrow_right
MCP
Skills
Rules
Plugins
Hooks
Sidecars
Agent Capabilitieskeyboard_arrow_right
Permissions
Subagents
Artifactskeyboard_arrow_right
Overview
Plan
Walkthrough
Screenshots
Antigravity CLIv1.1.9keyboard_arrow_right
Overview
Getting Started
Installation & Auth
Tutorial
Using AGY CLI
Features
Gemini Migration
Prompting
Headless mode
Artifactskeyboard_arrow_right
Overview
Conversations
Agent Capabilitieskeyboard_arrow_right
Choose an execution mode
Subagents
Sandbox
Permissions
Projects
Settingskeyboard_arrow_right
Overview
AI Credits
Customizationskeyboard_arrow_right
MCP
Plugins & Skills
Status Line
Window Title
Commandskeyboard_arrow_right
Agents (/agents)
Code Search (/codesearch)
AI Credits (/credits)
Diff (/diff)
Permissions (/permissions)
Resume (/resume)
Status Line (/statusline)
Window Title (/title)
Model Quotas (/usage, /quota)
Best Practices
Troubleshooting
Reference
Antigravity SDKv0.1.7keyboard_arrow_right
Overview + Quick Start
Customizationskeyboard_arrow_right
MCP
Antigravity IDEv2.1.1keyboard_arrow_right
Overview
Getting Started
Featureskeyboard_arrow_right
Tab
Side Panel
Review Changes
Artifactskeyboard_arrow_right
Plan
Walkthrough
Screenshots
Browser Recordings
Browserkeyboard_arrow_right
Overview
Allowlist / Denylist
Separate Chrome Profile
Customizationskeyboard_arrow_right
MCP
Skills
Rules
Workflows
Plugins
Hooks
Settings
Migrationkeyboard_arrow_right
Firebase Studio Migration
Enterprise
Plans
FAQ
  • side_navigation
  • Antigravity CLI
  • >
  • Reference

CLI referencelink

Scan scannable tables listing all TUI slash commands, default keyboard shortcuts, and JSON configuration parameters.

Core slash commandslink

Type / inside the prompt box to open the typeahead command selection menu.

Command Category Alias Execution Purpose
/add-dir <path> Utilities — Add a directory path to the active workspace.
/agents Tools & Tasks — Open the Agent Manager Panel to switch custom agents and monitor background subagents.
/artifact Tools & Tasks — Open the Artifact Review Panel.
/btw <query> Utilities — Ask a side question in the background without interrupting the main conversation.
/clear Utilities /new Clear the terminal and reset active conversation contexts.
/config Configurations /settings Open the interactive Settings Editor Overlay.
/context Utilities — Open the context usage visualization panel.
/copy Utilities — Copy the last agent response to the system clipboard.
/credits Account — View remaining G1 credits and purchase links.
/diff Utilities — Open the Interactive Diff Viewer to view changes, turns, and commits.
/exit Core /quit Close the TUI session and restore your host shell.
/fast Configurations — Enable fast mode (bypass reasoning plans) for quick actions.
/feedback Utilities — Open the feedback submission panel.
/fork Conversations /branch Clone the current conversation thread into a new parallel session.
/help Utilities — Open the help panel showing commands and shortcuts.
/hooks Tools & Tasks — Browse active pre-flight/post-format script hooks.
/keybindings Configurations — Open the interactive Keyboard Shortcut Editor.
/logout Account — Disconnect your profile and purge authentication tokens from the secure keyring.
/mcp Tools & Tasks — Open the Model Context Protocol (MCP) server manager.
/model Configurations — Choose your preferred reasoning model (persists across sessions).
/open <path> Utilities — Force the path to open inside your default system editor.
/permissions Configurations — Open the interactive tool permissions manager panel.
/planning Configurations — Enable multi-turn plan generation mode for complex engineering tasks.
/rename <name> Conversations — Rename the current session thread.
/resume Conversations /switch, /conversation Open the conversation picker overlay to select and load previous threads.
/rewind Conversations /undo Roll back your conversation history to a previous message.
/skills Tools & Tasks — Browse loaded local and global Agent Skills.
/statusline Configurations — Open the Status Bar customization overlay.
/tasks Tools & Tasks — Open the Task Manager Panel to monitor background shell execution logs.
/title [on/off] Configurations — Toggle or set terminal window title updates.
/usage Utilities /quota Display model quota usage.

Default keybindingslink

Keyboard shortcut commands mapping global, prompt, navigation, and approval operations.

Global controlslink

These hotkeys are always active regardless of which panel, overlay, or prompt is currently focused.

Key TUI Command Action Behavior
Esc cli.escape Closes active panels, halts active streams, or clears empty prompts.
Ctrl+C cli.exit Terminates the CLI session (prompts for confirmation if agent is working).
Ctrl+D cli.exit Exits the CLI session (only when the prompt box is empty).
Ctrl+L cli.clear_screen Refreshes and clears the visual terminal buffer.

Prompt focus keyslink

These keys are active when writing instructions inside the prompt box.

Key TUI Command Action Behavior
Enter prompt.submit Submits your prompt or active menu selection to the agent.
Shift+Enter / Ctrl+J prompt.newline Inserts a clean newline without submitting.
Ctrl+V prompt.paste Pastes graphic media files or clipboard blocks into the prompt.
Ctrl+O prompt.toggle_trajectory Expands or collapses detailed tool reasoning outputs.
Ctrl+R prompt.open_review Opens the Artifact Review Panel.
Ctrl+G prompt.external_editor Launches your default $EDITOR shell to compose your prompt.
Alt+J prompt.teleport_agent Instantly switches focus to the next subagent awaiting confirmation.
Ctrl+K prompt.fast_approve Instantly approves the pending subagent action listed in the status alert.
Ctrl+A prompt.cursor_start Moves the prompt insertion cursor to the beginning of the line.
Ctrl+E prompt.cursor_end Moves the prompt insertion cursor to the end of the line.
Ctrl+Z prompt.undo_text Reverts the last edit.
Ctrl+Shift+Z prompt.redo_text Redoes the last undone text operation.
Ctrl+D — Forward delete (only when the prompt box is non-empty).

Navigation & scrollinglink

Used inside select panels, menus, and scrollable text boxes.

Key TUI Command Action Behavior
↑ / ↓ navigation.up / navigation.down Scrolls highlighted selections up or down by one item.
PgUp / Shift+↑ navigation.page_up Scrolls the active text viewport up by one page block.
PgDn / Shift+↓ navigation.page_down Scrolls the active text viewport down by one page block.
← / → navigation.left / navigation.right Swaps pages inside multipage structures (like the Session Picker).
Tab navigation.tab Confirms the highlighted slash-command autofill option.

Tool confirmationslink

Active during confirmation prompts.

Key TUI Command Action Behavior
y confirm.yes Authorizes the proposed tool, command, or active artifact.
n confirm.no Rejects the proposed tool, command, or active artifact.
A — (Inside Review Panel) Approves all generated artifacts in one action (built-in shortcut).

Configuration keys (settings.json)link

Primary settings key names, data types, system defaults, and expected parameters.

Example settings.jsonlink

json
{
  "colorScheme": "tokyo night",
  "altScreenMode": "always",
  "toolPermission": "request-review",
  "notifications": true,
  "enableTerminalSandbox": true
}
Option Key Name Value Type System Default Parameter Characteristics & Options
colorScheme string "terminal" Color theme: "light", "solarized light", "colorblind-friendly light", "dark", "solarized dark", "colorblind-friendly dark", "tokyo night", or "terminal" (inherits native shell colors).
altScreenMode string "default" Screen buffer usage: "default" (adaptive inline/altscreen), "always" (force alternate screen buffer), or "never" (force inline sequential output).
toolPermission string "request-review" Global safety presets: "request-review" (prompts for write/bash/web tools), "proceed-in-sandbox" (auto-proceed inside sandbox), "always-proceed" (never prompts), or "strict" (prompts for all non-read tools).
artifactReviewPolicy string "asks-for-review" Code review policy: "asks-for-review" (always prompts before writing code), "agent-decides" (prompts dynamically), or "always-proceed" (never prompts).
notifications boolean false Emits system desktop and terminal bell chime notifications upon task completions.
showTips boolean true Displays helpful agentic tips above the prompt panel during generation turns.
showFeedbackSurvey boolean true Displays periodic quality feedback surveys upon active task completions.
editor string "auto" Target text editor utility: "auto" (consults system $EDITOR), "vim", "emacs", or custom text labels.
allowNonWorkspaceAccess boolean false Permits the agent’s file read and write tools to navigate outside recognized Git/workspace roots.
enableTerminalSandbox boolean false Restricts all local execution commands launched by agents to OS containment rings.
useG1Credits boolean false External builds only. Uses personal AI credits for model calls once plan quotas are exhausted.
enableTelemetry boolean true Permits metric collection and crash log streaming to improve tool reliability.
verbosity string "high" Visual verbosity level: "high" (renders full thoughts and tool outputs) or "low" (displays only minimal visual progress indicators).
runningLightSpeed string "medium" Visual running light progress animation speed: "fast", "medium", "slow", or "off".

Next stepslink

Learn how to safely deploy permission policies, sandboxes, and customize plugins:

  • Permissions & Sandbox: Enforce command-line containment rules.
  • Plugins & Skills: Create your own custom skills slash commands.
  • Installation & Auth: Update your CLI install.
Troubleshooting
Overview + Quick Start
On this Page
CLI referenceCore slash commandsDefault keybindingsConfiguration keys (settings.json)Next steps