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.3.1keyboard_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.5keyboard_arrow_right
Overview
Getting Started
Installation & Auth
Tutorial
Using AGY CLI
Features
Gemini Migration
Prompting
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
  • >
  • Commands
  • >
  • Resume (/resume)

Resume Command (/resume)link

Browse, search, and resume past conversation threads, or recover your last session instantly from the command line.

Overviewlink

Antigravity CLI allows you to maintain multiple ongoing development threads. The /resume command opens an interactive Session Picker TUI panel to browse and load your history. You can also resume sessions directly from your host terminal using command-line flags.
---

Interactive Session Pickerlink

To open the Session Picker inside the TUI:
  1. Type /resume (or aliases /switch, /conversation) in the prompt box.
  2. Press Enter.
text
/resume

1. Navigating and Searching Conversationslink

The Session Picker displays a list of past conversations sorted by recency (newest first).
  • Search: Start typing to instantly filter conversations by their title, preview text, or unique ID.
  • Navigate: Use ↑/↓ to scroll through the filtered list.
  • Page: Use ←/→ to page backward and forward through older history blocks.
  • Select: Highlight your target session and press Enter to load it.
  • Exit: Press Esc to close the picker and return to the active prompt.
Navigating Conversations

2. Renaming a Conversationlink

To keep your history organized, you can rename conversations directly within the picker:
  1. Use ↑/↓ to highlight the conversation you want to rename.
  2. Press F2. An input field opens at the bottom of the panel, prefilled with the current title.
  3. Type the new name and press Enter to save, or Esc to cancel.
Renaming a Conversation

3. Deleting a Conversationlink

To clean up obsolete threads:
  1. Highlight the target conversation in the list.
  2. Press Ctrl+Delete. A confirmation prompt appears.
  3. Press Enter (or y) to confirm deletion, or Esc (or n) to cancel.
Deleting a Conversation

4. Importing from Antigravity 2.0link

You can import and resume active threads initiated in the Antigravity 2.0 desktop application:
  1. With the Session Picker open, press Tab to switch from the CLI tab to the Antigravity tab.
  2. Highlight the desktop conversation you wish to import.
  3. Press Enter. A confirmation prompt [Import this? (y/n)] appears.
  4. Press Enter (or y) to confirm. The CLI clones the history, context, and tool trajectories into your terminal session.
Importing from Antigravity 2.0
---

Command-Line Shortcutslink

You can bypass the TUI picker and resume sessions directly when launching agy from your host shell.

Quick Resume Last Session (`-c` / `--continue`)link

To instantly resume the single most recent conversation associated with your active workspace:
bash
agy -c
(Alternative: agy --continue)

Resume Specific Session (`--conversation`)link

To load a specific conversation directly by its unique ID:
bash
agy --conversation <conversation-id>
---

Under the Hood: The Session Cachelink

When you use the -c / --continue flag, the CLI resolves the target session using a local workspace-keyed cache.

The Cache Filelink

  • Location: ~/.gemini/antigravity-cli/cache/last_conversations.json
  • Format: A JSON map associating absolute workspace directory paths with their most recently active conversation ID:
    {
        "/usr/local/google/home/username/Develop/my-project": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "/usr/local/google/home/username/Develop/another-repo": "f9e8d7c6-b5a4-3210-fedc-ba9876543210"
    }

Resolution Workflowlink

  1. Launch: You run agy -c from /path/to/workspace.
  2. Lookup: The CLI reads last_conversations.json and looks up the key /path/to/workspace.
  3. Verification: If an ID is found, the CLI queries the backend to verify the conversation still exists.
  4. Load:
  • If verified, it loads the session.
  • If the conversation was deleted or the key is missing, it starts a fresh session for that workspace.
---

See alsolink

  • Managing Conversations: Learn about workspace scoping and branching with /fork.
  • CLI Reference: See all available slash commands and default keybindings.
  • Settings & Keybindings: Configure rendering modes and customize keyboard shortcuts.
Permissions Command (/permissions)
Status Line Command (/statusline)
On this Page
Resume Command (/resume)OverviewInteractive Session PickerCommand-Line ShortcutsUnder the Hood: The Session CacheSee also