What helps: run agents in a VM so they can have full control and don’t need to wait for your approval. Firewall it from your local network.
And start a new blank session with its own branch (and have the agent update the project readme) so you can restart without context.
Why firewall it from your local network?