go to customizations
press on Rules tab
add new in workspace
create one
now back to rules panel refresh
the new rule isn’t display at all and even you can’t see it if you try to add it menualy in the chat
Hello @Developer_worrier,
Thank you for reaching out. When you add a rule, Antigravity typically attempts to create a configuration file in the .agent/rules folder of your workspace or git root.
- Please check your project’s file explorer (make sure hidden files are visible)
- Ensure that Antigravity has write access to the folder where your project is located.
You can find more details on rules in the documentation page.
Hi ,
I found a workaround for this issue: I moved the rules folder from .agent to .agents.
It appears there was an undocumented breaking change regarding the expected directory name. Additionally, the official documentation (https://antigravity.google/docs/rules-workflows) is currently outdated and still reflects the old .agent structure.
Please let me know if this is the intended behavior and if the documentation can be updated accordingly.
Best ![]()
Hello @Developer_worrier,
Thank you for the sharing your findings. I have confirmed this behavior in Antigravity version 1.19.5, where new rules are being saved to the .agents/rules directory. As you noted, this creates a discrepancy with the current documentation, which still references the .agent/rules path. I will share these findings with the relevant internal team.
Hello @Developer_worrier,
We’ve moved towards .agents/, but we do have backward support for .agent still. Please, let us know if you have any issues.

