Your Antigravity conversation history disappeared? Conversations showing in the wrong order? Titles replaced with placeholder text? Workspace assignments lost? This tool fixes all of that.
- Close Antigravity completely (File → Exit or kill from Task Manager)
- Download
Antigravity_Conversation_Fix.exefrom the Releases page - Double-click the
run.batfile. and click on run. - The tool scans your conversations, rebuilds the index, and shows you the results
- When prompted for workspace assignment, choose an option:
- Press Enter or 1 — auto-assigns workspaces from your brain files (recommended)
- Press 2 — auto-assigns first, then lets you manually assign any remaining conversations
- Restart your PC, then open Antigravity — your conversations are back, sorted by date
No Python or developer tools required. Just download, run, done.
| Problem | Fixed? |
|---|---|
| Conversations missing from sidebar | ✅ |
| Conversations in wrong order | ✅ Sorted newest first |
| Placeholder titles instead of real names | ✅ Restores from brain artifacts |
| Titles lost after previous fix attempts | ✅ Preserves existing titles |
| Workspace assignments stripped on rebuild | ✅ Preserves workspace metadata (v1.01+) |
| Lost workspace assignments (v1.0 damage) | ✅ Auto-recovers from brain artifacts (v1.03+) |
| Missing timestamps causing wrong sort | ✅ Injects timestamps from file dates (v1.03+) |
| Remote workspaces (WSL/SSH/Docker) not recognized | ✅ Full vscode-remote:// support (v1.04+) |
| "Antigravity IDE" renamed folder not detected | ✅ Auto-detects both old and new paths (v1.05+) |
Antigravity stores conversation data in two places:
- Conversation files (
*.pb) — stored in your user profile - Sidebar index — a SQLite database in your app data folder
| OS | Conversations | Database |
|---|---|---|
| Windows | %USERPROFILE%\.gemini\antigravity\conversations\ |
%APPDATA%\Antigravity IDE\...\state.vscdb |
| macOS | ~/.gemini/antigravity/conversations/ |
~/Library/Application Support/Antigravity IDE/.../state.vscdb |
| Linux | ~/.gemini/antigravity/conversations/ |
~/.config/Antigravity IDE/.../state.vscdb |
Note: The tool automatically detects both the old folder name (
Antigravity/antigravity) and the new name (Antigravity IDE). No manual path changes needed.
When the index gets corrupted, conversations still exist on disk but don't show up in the sidebar. This tool scans your conversation files, sorts them by date, pulls titles from brain artifacts, and writes a clean index back to the database.
Title resolution priority:
- Titles already in the database (canonical Antigravity titles — preserved across re-runs)
- Brain artifact
.mdheadings (for conversations not yet indexed) - Fallback:
Conversation (date) short-id
| Marker | Meaning |
|---|---|
[+] |
Title extracted from brain artifact |
[~] |
Title preserved from existing database |
[?] |
Fallback title (no source available) |
[WS] |
Workspace metadata preserved or recovered |
- New: Antigravity IDE process detection — updated process detection on Windows to check for both
antigravity.exeandAntigravity IDE.exe, ensuring users are properly warned to close the IDE before starting the fix. - New: Full .db file support — added support for SQLite
.dbconversation files used by the latest version of Antigravity IDE, preventing "No conversations found on disk" errors. - Fix: Added fallback support for the
pylauncher inrun.batfor Windows environments that do not havepythonmapped globally, and resolved console encoding bugs.
- New: Antigravity IDE path support — automatically detects both the old (
Antigravity) and new (Antigravity IDE) folder names across Windows, macOS, and Linux. No manual configuration needed — the tool finds whichever version you have installed. - New: Smarter workspace matching — uses Antigravity's own
workspaceStoragedata to accurately match conversations to workspaces, instead of relying solely on path-depth heuristics. Falls back to the old method if no workspace storage data is found. - Fix: Title resolution now correctly preserves canonical Antigravity titles from the database, only using brain artifact headings for conversations that have no existing title.
- New: Remote workspace support — now correctly handles
vscode-remote://URIs for WSL, SSH, and Docker workspaces. Remote paths are detected during auto-assignment and accepted during manual assignment without local filesystem validation.
- New: Workspace auto-recovery — scans your brain artifact
.mdfiles for project paths and automatically re-assigns lost workspace mappings. If you ran v1.0 and lost your workspace assignments, this version can recover most of them automatically. - New: Workspace assignment menu — choose between auto-assigning only (Option 1) or auto-assigning plus manual interactive prompts for any remaining unmapped conversations (Option 2). Supports batch assignment (
all) for quick setup. - New: Timestamp injection — injects proper timestamps (created/updated) into conversations that are missing them, ensuring Antigravity sorts everything correctly by date.
- Fix: Workspace URIs now properly URL-encode spaces and special characters (e.g.
My Project→My%20Project). - Fix: Cross-platform process detection — Linux/macOS now properly checks if Antigravity is running.
- New: Cross-platform support — the Python script now works on macOS and Linux in addition to Windows. The
.exeremains Windows-only.
- Fix: Workspace assignments are now preserved when rebuilding the index. Previously, running the tool would strip conversations from their assigned workspace.
- Note: If you ran v1.0 and lost workspace assignments, those must be manually re-assigned inside Antigravity. v1.01 prevents this from happening on future runs.
- Initial release — restores missing conversations, sorts by date, fixes titles.
If you prefer running the Python script directly, or if you are on Mac or Linux (which cannot run .exe files):
python rebuild_conversations.pyRequires Python 3.7+ with no external packages. The script automatically detects your operating system and finds the correct folders (both old and new naming conventions).
If your conversations are stored inside WSL but Antigravity runs on Windows, copy your files to the Windows profile first:
- Copy
\\wsl.localhost\<distro>\home\<user>\.gemini\antigravity\conversations\*.pb→%USERPROFILE%\.gemini\antigravity\conversations\ - Copy
\\wsl.localhost\<distro>\home\<user>\.gemini\antigravity\brain\→%USERPROFILE%\.gemini\antigravity\brain\ - Run the fix tool as normal on Windows
The vscode-remote:// workspace detection will still work correctly for your WSL workspaces.
- Automatic backup — your current index is saved to
trajectorySummaries_backup.txtbefore any changes - Non-destructive — conversation files (
*.pb) are never modified, only the sidebar index is rebuilt - Metadata-preserving — workspace assignments, timestamps, and other internal state are retained (v1.01+)
- Idempotent — safe to run multiple times
Q: Do I really need to restart my PC? A: A full restart is the safest way to ensure Antigravity picks up the changes. In most cases, simply closing and reopening Antigravity works too.
Q: Why do some titles show as "Conversation (Mar 10) abc12345"? A: Those conversations don't have brain artifacts, and their original titles weren't in the database. Future re-runs will preserve any titles the app generates going forward.
Q: Can I run this while Antigravity is open? A: The tool will detect if Antigravity is running and warn you. It's recommended to close it first so the app doesn't overwrite your fix when it exits.
Q: I ran v1.0 and my workspace chats were removed. Can I get them back? A: Yes! v1.03+ can auto-recover most workspace assignments by scanning your brain artifact files. When prompted, press Enter or 1 for auto-assignment. If some conversations can't be auto-detected, choose option 2 to manually assign them.
Q: I use WSL / SSH / Docker remote workspaces. Will this work?
A: Yes! v1.04+ fully supports vscode-remote:// URIs. The tool auto-detects remote workspace paths from your brain artifacts and accepts them during manual assignment.
Q: I updated Antigravity and the folder changed from "Antigravity" to "Antigravity IDE". Will the tool still work? A: Yes! v1.05+ automatically detects both folder names and uses whichever one exists on your system.
MIT — free to use, share, and modify.
⭐ If this fixed your conversations, please star the repo so others can find it!