Package agents using subprocess module.