Antigravity Disappears Mid-Work? I Added a Progress Rule to GEMINI.md
Khazix shared a neat little trick: make Antigravity proactively speak up before starting work, when shifting task direction, hitting a roadblock, or after executing multiple consecutive steps. This finally brings that satisfying clear progress tracking experience seen on Claude and Codex to long-running tasks.
When Antigravity runs long tasks, there is a very specific frustrating pain point: once the model starts executing, the interface goes completely silent, and you have no idea if it's reading a file, modifying code, or already stuck in an infinite loop. Khazix shared a super lightweight fix on X: just edit GEMINI.md.
Add a progress announcement rule in the project's GEMINI.md file:
Before you take any action, first state what you are about to do. During execution, if you make new discoveries, change your task direction, run into a block, or go 4 to 5 consecutive steps without output, add a short progress note.
This line only asks the model to speak at a few key nodes, it does not require it to stream live every step of its work. The pre-start phase, new findings, direction shifts, blocks, and multiple consecutive steps without output are all reasonable points to send a quick update, and you can leave the model to work uninterrupted for all the rest of the time.
GEMINI.md is a project-level instruction file for the agent. Adding rules here is far more reliable than reminding the model temporarily in every chat. The model will read this type of rule when executing long tasks, so its output rhythm stays far more consistent.
The actual experience is very close to the natural progress sense you get from Claude Code or Codex. You can always tell what the model is doing right now, and spot if it's gone off track much earlier. If you find it's heading the wrong way, the cost of pausing it mid-run is way lower than waiting for it to finish its entire process blindly.
Don't make the rule too strict. If you require the model to report after every single step, it will break its execution flow, and also make the context noisy. This rule is not necessary for short tasks, and works far better for scenarios like multi-file modification, bug troubleshooting, and long refactoring work.
Source: Khazix's post on X, original link: https://x.com/Khazix0918/status/2126294658431201385
via AIHOT:https://aihot.news/items/tiqf353lek6sib8ktn8uvc6nc
发布时间: 2026-11-27 20:38