[Bug] Agent Manager freezes on new chat (UNKNOWN service agentSessions) leading to silent Extension Host crash

The Issue:
When opening the Agent Manager to start a new chat, the UI accepts the input but absolutely nothing happens. No processing, no loading state, just a completely unresponsive interface.

Troubleshooting Exhausted (Issue Persists):
To rule out local environment issues, I have already tried:

  • Restarting the Agent Service via Command Palette.
  • Hard-killing all lingering background processes.
  • Completely wiping ~/.antigravity/, and ~/.config/Antigravity/.
  • Running the IDE in a clean state using antigravity --disable-extensions.

Technical Findings (From the Logs):
Digging into the logs, this appears to be a core dependency failure in the current build (I am running this on Ubuntu Linux):

  1. The renderer.log throws a critical dependency error right at the start: Error: [createInstance] Gre depends on UNKNOWN service agentSessions.
  2. Immediately after failing to instantiate this service, the renderer severs the connection.
  3. The exthost.log confirms the Extension Host crashes silently as a direct result: Extension host terminating: renderer closed the MessagePort (exiting with code 0).

I have already submitted a formal bug report with full telemetry via the IDEโ€™s internal tool. Iโ€™m posting this to bring visibility to the dev team and to ask the community: has anyone else encountered this specific missing agentSessions service, or found a temporary local workaround?

1 Like

For my case, remove the project .git/config

[extensions]
        worktreeConfig = true
[branch "claude/frosty-grothendieck"]
        vscode-merge-base = origin/main

and modify

[core]
        repositoryformatversion = 0 // from 1 to 0

Antigravity works normally.

2 Likes

Thanks! This solved my problem.

Yeah, this seems related to git.

As Itโ€™s not safe to do such edits, I tested move โ€œ.gitโ€ dir outside project dir to make it act like a normal dir.

And It worked again. Maybe a recent update is not working well with recent git binary (this repo use sha256 and new defaults).

But I consider this a regression bug because this same repo worked well until last week.

Iโ€™m having the same (or a very closely related) issue that started after the latest update. I was working on my project normally, then at some point I decided to let AG install the latest update, and nothing has worked since.

Iโ€™m on Windows and Iโ€™ve tested the Git related fixes including removing the whole .git folder from the project, as well as uninstalling and reinstalling, killing processes, and signing out and in again. Nothing helps. Hereโ€™s the first error from the developer tools console:

ERR [createInstance] Zre depends on UNKNOWN service agentSessions.: Error: [createInstance] Zre depends on UNKNOWN service agentSessions.
at Yns.y (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:5893:4186)
at Yns.o (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:5893:1360)
at Yns.createInstance (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:5893:1207)
at new Oqt (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:6562:8181)
at new U5n (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:6562:15815)
at Yns.o (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:5893:1710)
at Yns.createInstance (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:5893:1207)
at new Pqt (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:6562:18528)
at Yns.o (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:5893:1710)
at Yns.createInstance (vscode-file://vscode-app/c:/Users/MYUSER/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/workbench.desktop.main.js:5893:1207)

Follow-up: I tried opening a completely different project, and it works fine. So thereโ€™s something in my main project that is now silently breaking Antigravity. Probably related to Git, since everyone else seems to have Git related causes as well. Iโ€™ll keep investigating.

๋ฌธ์ œ๊ฐ€ ์ƒ๊ฒจ ๊ตฌ๊ธ€์ธก์— ๋ฌธ์˜ ๊ฒฐ๊ณผ ์ž์‹ ๋“ค์ด ์•ˆํ‹ฐ ๊ทธ๋ž˜๋น„ํ‹ฐ์ธก๊ณผ ์—ฐ๋ฝํ•  ๋ฐฉ๋ฒ•์ด ์—†์œผ๋‹ˆ ์ด๋ฉ”์ผ๋กœ ๋ฌธ์˜ ํ•˜๋ผํ•ด์„œ ๋ฌธ์˜๋ฅผ ๋‘๋ฒˆ์ด๋‚˜ ํ•ด๋„ ๋‹ต์žฅ์ด ์—†๊ณ  ํ•ด๊ฒฐ์„ ์•ˆํ•ด์ฃผ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค
์•Œ๋ ค์ง„ ๋ชจ๋“  ๋ฐฉ๋ฒ•์„ ์‚ฌ์šฉํ•ด๋„ ๋ณ€ํ•จ์—†์ด ํ† ํฐ ์—๋Ÿฌ์ž…๋‹ˆ๋‹ค
์ด์ •๋„๋ฉด ์•ˆํ‹ฐ๊ทธ๋ž˜๋น„ํ‹ฐ์—์„œ ์‚ฌ๊ณผ ํ•จ๊ป˜ ๊ณต์‹ ๋Œ€์‘์„ ํ•ด์•ผ ํ•˜๋Š”๋Œ€ ํ•œ๋งˆ๋””๋„ ์–ธ๊ธ‰๋„ ์—†๊ณ  ๊ตฌ๊ธ€์€ ์ง์ ‘ ์—ฐ๋ฝํ•˜๋ผ๊ธฐ๋งŒ ํ•ฉ๋‹ˆ๋‹ค

Update: It was a Git config issue for me as well. I had a malformed [-remote XXXX] line that when removed fixed the issue and AG started working again.

Hi all,

Thank you for bringing this to our attention. We have escalated the issue to our internal teams for a thorough investigation.

To ensure our engineering team can investigate and resolve these issues effectively, we highly recommend filing bug reports directly through the Antigravity in-app feedback tool. You can do this by navigating to the top-right corner of the interface, clicking the Feedback icon, and selecting Report Issue.

Thanks for your feedback.

Yes, Iโ€™ve sent a report using de antigravity itself with plenty of info at that time.