I’ve successfully installed and logged into Antigravity and can communicate with its AI. However, when I open a folder using Antigravity like I would with VS Code or Cursor, and I’ve also added the folder to my trusted folder list, the AI can’t read my files and prompts me to add the folder to my workspace. I’ve tried various methods, but even after adding it to the workspace, the AI still returns the same message.
are you in google not even testing the product? this is the worst I’ve ever seen in my short life as a developer.
an ai editor that CANT edit files.
this is unvelibable, i though just microsft does this kind of “Modified by moderator”, but certanly google developers have now pushed the “Modified by moderator” bug in code history. “Modified by moderator”
The most reliable solutions currently available (sorted by success rate):
Use the scratch temporary directory directly (100% success rate, highly recommended).
Copy/move your entire project folder to: C:\Users\Administrator.gemini\antigravity\scratch.
Then open this folder within Antigravity; the agent will immediately recognize it and allow normal reading and writing.
Enable Non-Workspace File Access (works for some users; skip this if it doesn’t work for you).
Settings → Agent → Non-Workspace File Access.Finally, restart Antigravity, and then open the project that AI couldn’t access files before; it should work normally.
I think I’ve finally found a solution. The agent tends to bug out in directories that is not a git repository. So for all of us testing the editor out in a new directory, the agent often can not find the workspace. Run `git init` in the project directory and then open it in Antigravity, and it should work
Renaming the directory and re-opening(didn’t work)
Deleting ~/.gemini/antigravity/scratch (the agent said something about this in thought traces)
Explicitly adding the folder to the chat using @folder that it couldn’t access
The folder was two levels deep in a project that I opened in antigravity, e.g. ~/workspace/folder1/folder2 and it couldn’t access any of folder1 or folder2. one interesting thing I’ve noticed is that it displays the workspace folder in the chat window when there is a workspace folder but the only solution that worked was copying my project to the playground.