cleanup agent model