Klay Thompson and the Warriors will agree to a max contract when free agency opens.