The Mariners and right-hander Luis Castillo are in agreement on a five-year, $108 million contract extension.