Agent monitoring repair