Keep your Agents running while your macbook is closed
Start your agents, close your MacBook, and put it in your bag. Hold My Lid will put your Mac to sleep once the agents finish their tasks.