Eminem and his ex-wife Kim Mathers have agreed not to publicly criticize each other .