Boris Diaw has agreed to a three-year, $22 million contract with the San Antonio Spurs, according to sources.

Diaw is guaranteed $15.5 million over the first two years of the deal, sources said. The third season is partially guaranteed.

The Spurs plan to continue to pursue Pau Gasol with their midlevel exception.