cd /news/ai-tools/how-to-restore-lost-chat-history-in-… Β· home β€Ί topics β€Ί ai-tools β€Ί article
[ARTICLE Β· art-133616] src=dev.to β†— pub= topic=ai-tools verified=true sentiment=↑ positive

How to Restore Lost Chat History in Google Antigravity IDE (Reverse Engineering, The Plan Mystery, and Ready-to-Use Solutions)

A developer reverse-engineered Google Antigravity IDE's chat storage architecture and released two open-source recovery tools, an editor extension called antigravity-history-restorer and a standalone Python script, after discovering that "vanished" AI conversations are never deleted but merely dormant on disk. The writeup documents the IDE's three-tier design, in which conversations persist as individual SQLite databases under ~/.gemini/antigravity-ide/conversations/ while the frontend history panel relies on a volatile cache in state.vscdb, and shows how a local language server RPC call can reload a trajectory on demand. The author also describes a case in which submitting a comment on an open Implementation Plan artifact caused a missing conversation to reappear in the history list.

by read3 min views1 publishedSep 18, 2026

If you have ever launched Google Antigravity IDE only to be greeted by the dreaded "No Conversations Found" message in your history, or noticed that dozens of past AI chat sessions have vanished from your sidebar, you are not alone.

Many developers assume their conversation data was permanently wiped out after:

The great news is: your data was never deleted from your computer.

In this article, we dissect the internal architecture of Google Antigravity IDE, uncover the intriguing case of the "Implementation Plan" that resurrected a lost conversation on its own, and provide two production-ready open-source solutions: a native editor extension (antigravity-history-restorer) and a standalone, dependency-free Python script.

Before diving into code, consider this real-world diagnostic scenario:

"I once had a chat that disappeared entirely from my history panel, but I still had its Implementation Plan (Artifact) tab open in the editor. Instead of starting a new chat, I clicked the Review β–Ύ menu on the artifact and used Submit comment ('Add a message...'). The exact second the comment went through, the entire missing conversation reappeared in my chat history list!"

No, this is precisely how Antigravity's internal architecture is designed.

cascadeId).~/.gemini/antigravity-ide/conversations/<cascadeId>.db), loads the trajectory into memory, and emits an internal synchronization event (antigravityUnifiedStateSync.trajectorySummaries). Search all convos... palette. In short: conversations are never deleted; they simply enter a dormant state on disk because the IDE does not keep hundreds of heavy conversation trajectories in frontend memory simultaneously.

To restore any conversation on demand without having an artifact open, we must understand the three distinct tiers of Antigravity:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                   VS Code UI (Frontend)                β”‚
β”‚  - Agent Panel, History, "Search all convos..."        β”‚
β”‚  - Volatile frontend cache: state.vscdb                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
               RPC Connect (HTTP/POST JSON)
               Port 127.0.0.1:<random> + CSRF Token
                            β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚         Language Server (language_server_linux_x64)    β”‚
β”‚  - Background AI daemon engine                         β”‚
β”‚  - Handles agent streaming, diffs, and indexing        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚ On-Disk Read
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚            Persistent Storage on Disk                  β”‚
β”‚  ~/.gemini/antigravity-ide/conversations/*.db (SQLite) β”‚
β”‚  ~/.gemini/antigravity-ide/brain/* (JSONL & Artifacts) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

~/.gemini/antigravity-ide/conversations/. Every conversation is an individual SQLite database file (.db) containing messages, agent tool calls, diffs, and trajectories.~/.config/Antigravity IDE/User/globalStorage/state.vscdb. This is merely an ephemeral frontend cache. If this cache is cleared or rebuilt, the history panel appears blank.localhost. When issuing an HTTP POST to:

   POST /exa.language_server_pb.LanguageServerService/GetCascadeTrajectorySteps

with the headers:

Connect-Protocol-Version: 1`` X-Codeium-Csrf-Token: <process-csrf-token> and the JSON payload {"cascadeId": "<conversation-id>", "startIndex": 0, "endIndex": 2}, the engine loads the If you search extension marketplaces for older extensions like antigravity-history, you will find that most of them no longer work.

The technical reason is straightforward:

.pb (Protobuf binary) files inside legacy Codeium directories;antigravity-history-restorer) To provide a seamless, 1-click recovery workflow integrated directly into the editor, we developed the Antigravity History Restorer extension.

The extension executes directly inside the VS Code / Antigravity IDE environment:

~/.gemini/antigravity-ide/conversations); The extension is written in TypeScript and cleanly modularized in the official open-source repository:

src/extension.ts`` src/detector.ts``src/restorer.ts`` Ctrl+Shift+P on Linux/Windows or Cmd+Shift+P on macOS);

   Antigravity: Restore Missing Chats

πŸ•’) or the πŸ“¦ Open VSX Marketplace: Antigravity History Restorer

🌟 GitHub Repository: NdondaDaniel2020/antigravity-history-restorer

scripts/restore_antigravity_history.py) If you prefer a terminal-based solution or do not wish to install an extension, we also provide a self-contained Python script that accomplishes the same recovery in under 10 seconds using only Python's standard library (no pip install required):

python3 scripts/restore_antigravity_history.py

curl -sO https://raw.githubusercontent.com/NdondaDaniel2020/antigravity-history-restorer/main/scripts/restore_antigravity_history.py
python3 restore_antigravity_history.py
── more in #ai-tools 4 stories Β· sorted by recency
── more on @google antigravity ide 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/how-to-restore-lost-…] indexed:0 read:3min 2026-09-18 Β· β€”