The Chicago White Sox have agreed to a three-year, $24 million contract with Kendall Graveman, according to a source.

The Seattle Mariners traded Graveman to the Houston Astros on July 27.

After going 4-0 with a 0.82 ERA and 10 saves in 30 appearances in Seattle, he helped bolster the Astros' bullpen down the stretch, going 1-1 with a 3.13 ERA in 23 appearances.