Clean agent class