Why your Mac sleeps while Antigravity's agents are still going
Antigravity's agents spend most of a run waiting on the model — planning, generating code, verifying results — and waiting on a model response barely uses any CPU. macOS only looks at CPU and user input to decide whether to sleep, so an agent that's "thinking" hard but computing little looks idle to the OS. After your screen-sleep or system-sleep timer runs out, macOS suspends the Mac, and every agent in the Agent Manager is frozen along with it until you wake it back up.
Antigravity makes this worse than a normal IDE, in a good way: the whole point of the Agent Manager is dispatching agents to work asynchronously while you do something else. The moment you walk away is exactly when your sleep timer starts counting down.
The fix is to stop macOS from sleeping for as long as the agents are actually running — then let it sleep normally again shortly after they go quiet — within your grace window, 90 seconds by default. You can do that for free in two minutes, or with a tool that knows the difference between "agent working" and "agent idle" so you don't have to babysit it.