The Golden State Warriors have agreed to a two-year deal with Kevin Durant, according to ESPN.