u/Astralifyx

Hey everyone,

I’ve been running into a frustrating bug recently where the Antigravity agent just completely freezes up. No error popups, no system warnings, just absolute dead silence. It wouldn’t even reply to a basic "hello."

After digging into it, I found a couple of things causing this, especially if you happen to run Claude Code in the terminal for the same project folder. Just wanted to share the fixes in case anyone else is currently stuck on this.

1. The Git config conflict (Claude + Antigravity) It looks like when you use Claude Code, it quietly injects extensions.worktreeConfig=true into your .git/config. Antigravity’s language server is pretty strict right now, and if it sees a git config version mismatch (like format version 1), it just silently fails on startup.

To fix it, you just need to wipe Claude's leftover worktrees and reset your git format. Run this in your project root terminal:

Bash

# clear out any broken ghost branches Claude left behind
git worktree prune

# strip the worktree extension it added
git config --unset extensions.worktreeConfig

# force the repo format back to 0 so Antigravity can read it again
git config core.repositoryformatversion 0

2. Silent OOM crashes from hidden AI caches The other thing to check is Antigravity's indexing engine. When you open your folder, it tries to index everything. If it tries to swallow hidden .claude and .gemini state folders, or massive eval result JSON files, it runs out of memory and silently crashes.

Make sure to explicitly block these in your .gitignore:

Plaintext

.claude/
.gemini/
generation_evaluation_results.json 

If the IDE is already stuck in a boot loop trying to read them, you'll need to delete those currently corrupted cache folders.

Heads up: if you're on Windows and get an "Access Denied" error trying to delete them, Antigravity is likely locked up trying to read the file. Fully quit the IDE first, then run this in PowerShell:

PowerShell

Remove-Item -Recurse -Force .claude, .gemini

(Deleting .claude just resets the local chat history for that specific folder, your main Claude setup is totally fine and will just make a new one).

Hope this helps get some of your agents back online! Let me know if this unfreezes your setups.

reddit.com
u/Astralifyx — 14 days ago