Right-hander Anthony DeSclafani reached agreement on a three-year, $36 million contract to remain with the Giants.