Skip to content
#

Antigravity CLI

Save Antigravity CLI sessions with the SpecStory CLI.

#

Before you start

Install Antigravity CLI and the SpecStory CLI. Open your project folder in a terminal and run specstory check.

#

Run with SpecStory

bash

specstory run antigravity

Use your agent as usual. SpecStory saves the conversation in .specstory/history/. Cloud sync can run when you are logged in; add --no-cloud-sync to keep the session local.

#

Export existing sessions

bash

specstory list antigravity
specstory sync antigravity

# Export a single session
specstory sync antigravity -s <session-id>

SpecStory reads the agent's existing history from ~/.gemini/antigravity-cli/ and matches it to your project. You can export sessions even if you did not start them through SpecStory.

#

Capture in the background

bash

specstory watch antigravity

Leave this running while using the agent directly. Stop watching with Ctrl+C.

#

Resume a session

Antigravity sessions can resume in place through specstory resume. Choose the original session without passing a target agent. Antigravity cannot receive a session from another agent, so specstory resume antigravity is not supported. You can hand an Antigravity session to a supported target such as Claude Code or Codex.

#

Troubleshooting

If the agent is not detected, check its installation and your PATH. If no sessions appear, run the commands from the project where you used the agent and confirm that its local history still exists.

See the CLI reference for custom commands, configuration, and debug logging.