Summary
The Antigravity panel in VS Code shows “Couldn’t load this view” with the detail
“The Antigravity backend stopped (process_exit_nonzero) and could not be restarted
automatically.” The backend (agy.exe) starts, reports READY, then exits with code 2.
It’s intermittent: in one test folder the first 2 launches crashed and the 3rd stayed
up and worked normally.
Environment
Windows, VS Code (clean install on 28-10-2026), no previous Antigravity state
Extension: google.google-antigravity 1.9.0, later updated to 1.10.0
Backend: agy.exe 1.4.9, later 1.4.10 (same behavior on both)
Same machine runs a different project (AI-Travel-Planner) without problems
Log pattern (Output > Antigravity)
[LAUNCH] Server at http://127.0.0.1: is READY after 4 attempt(s).
[LAUNCH ERROR] Server process exited unexpectedly with code 2, signal null
[RECOVERY] Backend process_exit_nonzero; restarting in 982ms (attempt 1/3)
… same again for attempts 2/3 and 3/3, with growing delays (~3s, ~10s)
The extension gives up after 3 restarts, which leaves the panel permanently broken
until I click “Try again”. In the case above, the 3rd launch stayed up.
What I found
It started after I deleted some chat-session files by hand. Server logs showed
“LoadTrajectory … not found in any store” for one conversation, and the backend
then exited with code 2 on each resume of that conversation.
I renamed the leftover per-conversation files and the summaries index files
(conversation_summaries.db, agyhub_summaries_proto.pb) under .gemini\antigravity.
The conversation’s other data files were already gone.
A fresh clone of the same repo in a different folder also crashed, so it isn’t tied
to the original folder or my untracked files.
After the renames and several “Try again” clicks, the panel now loads, but because
the crash is intermittent I can’t tell which change helped, if any.
“ListCommands not implemented” appears in the logs of working workspaces too, so
I believe it’s unrelated.
What I couldn’t get
There is no panic/stderr output in the logs. Running agy.exe directly from a terminal
starts the interactive CLI setup, so I couldn’t capture the crash that way.
Questions
Where can I find the backend’s stderr or panic output when the extension spawns it?
Is this a known issue with agy 1.4.x? Should the extension retry more than 3 times?
Should a conversation with partly deleted data crash the backend, or is this a bug?
I also emailed support and only got the automated reply directing me here/the in-app
feedback form. Thanks in advance.
Where to find logs and crash dumpsagy.exe writes to %USERPROFILE%\.gemini\antigravity\ instead of the VS Code Output panel:
Logs:cli.log (points to the latest file in log\)
Crashes:crashes\crash_<pid>_<uuid>.log (these get uploaded and deleted on the next successful startup, which is why nothing showed up afterward).
You can also click Report issue on the error screen (or run Antigravity: Provide Feedback) to send logs directly from VS Code.
2. Why it was intermittent (and happened on a fresh clone) Session history lives globally in %USERPROFILE%\.gemini\antigravity\, not inside the repo, so a fresh clone still reads the same state.
On startup, the backend tries to resume previously active conversations from the summary index and resets them to idle after ~1s. Once a launch survived long enough to flush that state (and after you renamed conversation_summaries.db and agyhub_summaries_proto.pb), it stopped trying to load the deleted session. The extension stops auto-retrying after 3 failed attempts until you click Try again.
3. Missing session files & ListCommands Agreed, a missing conversation file (LoadTrajectory ... not found) shouldn’t crash the backend. We’re tracking a fix to handle stale index entries gracefully. Also confirming ListCommands not implemented is harmless and unrelated.
Workaround: If you manually delete session files in the future, close VS Code first and delete agyhub_summaries_proto.pb and conversation_summaries.db as well so the index rebuilds cleanly on startup.
Hey @Ambati_Rajendra
Thank you for the guidance regarding where crash logs and session summary databases are stored (%USERPROFILE%.gemini\antigravity).
Following your advice, I performed a complete cleanup by closing VS Code, terminating any lingering agy.exe background processes, and wiping the entire %USERPROFILE%.gemini\antigravity\ directory (including conversation_summaries.db and agyhub_summaries_proto.pb) to force a clean index rebuild.
However, upon restarting VS Code and letting the extension provision a fresh instance, the backend still exits immediately with code 2 upon initialization, causing the webview sidebar to throw WebSocket connection failures (code 1006) and the Antigravity backend stopped unexpectedly error.
Here is an excerpt from the latest extension log output:
[Extension Host] [LAUNCH] Spawning C:\Users\Smart.gemini\bin\agy.exe (v1.4.9) --hub --hub-port=59191 --app_data_dir=antigravity …
[Extension Host] [LAUNCH ERROR] Server process exited unexpectedly with code 2, signal null
[Jetski] PostMessageTransport error: … Endpoint /gemini_coder.agent_ui_toolkit.iframe.AntigravityApi/ListCommands not implemented
Could you advise what might be causing the binary to trigger exit code 2 immediately on startup even with a completely wiped global state directory, or how to resolve this persistent crash loop?
Best regards,
Kunal Masurkar
Thanks for sharing the exact launch log pattern, @kunalmasurkar. To build on @Ambati_Rajendra’s explanation of how %USERPROFILE%\.gemini\antigravity\ stores global session summaries across workspaces:
When agy.exe on Windows prints Server at http://127.0.0.1:<port> is READY and then exits ~1 second later with exit code 2 (process_exit_nonzero / Go runtime panic or fatal startup check), it is almost always triggered by the background workspace summary indexer hitting either a locked SQLite WAL file (conversation_summaries.db-wal) or a corrupted protobuf entry in agyhub_summaries_proto.pb right after the HTTP listener binds.
If it ever crops up again on a project switch, running this quick PowerShell cleanup resets the summary index cleanly without deleting your actual auth tokens or settings:
Also check %USERPROFILE%\.gemini\antigravity\crashes\ right after a code 2 exit before relaunching VS Code, as the Go stack trace at the top of crash_<pid>_*.log will show the exact goroutine that panicked.