Kelly Olynyk and the Detroit Pistons have agreed to a three-year, $37 million deal.

Olynyk finished the 20-21 season with the Houston Rockets. 

Olynyk averaged 19.0 points, 8.4 rebounds and 4.2 assists in 31.1 minutes over 27 games with the Rockets.