It’s probably because the agent is using the multichain commands.
I made a post about it: Feature request to Antigravity team! Freezing of an SSH session, the assistant appears "stuck," and the user is forced to reload the system
Try to implement these rules into the Antigravity rules box.
____________
a) NEVER use long multi-command chains with \`sleep\` delays (e.g., \`cmd1 && sleep 20 && cmd2\`).
b) NEVER use semicolon (;), ampersand (&, &&), or pipe (|) chains to run multiple checks or filters at once (e.g., \`ps aux | grep…\` is FORBIDDEN).
c) EXECUTE small, atomic commands. Run a single command (e.g., \`ps aux\`), read the output, and do any searching or filtering yourself in your own memory.
d) REAL-TIME LOGGING: Always check logs (\`tail -n 20\`) immediately after starting a background process to confirm it didn’t crash.
You can find this box here:

