The Giants and right-handed reliever Santiago Casilla agreed to athree-year, $15 million deal on Monday, according to a source.