setup and takedown agents