Source: Wilcox agrees with Pistons

The Detroit Pistons have agreed to a two-year deal with free agent Chris Wilcox, a source told ESPN.com.

The deal is for $6 million over the next two years according to sources.

Wilcox was signed as a replacement for Antonio McDyess, who left the team via free agency to sign with the Spurs.

Wilcox is an athletic big who, at 26, still has some upside. However, he's coming off one of the worst seasons of his career.

The previous three years, Wilcox averaged a little more than 13 points, but his numbers dipped to 7.2 per game last season in time split between the Thunder and Knicks.

The Pistons are hoping Wilcox can provide some scoring and athleticism off the bench behind another free agent signing, Charlie Villanueva.

Chad Ford covers the NBA for ESPN Insider.