Small forward Glenn Robinson, whose playing time was limited with the Pistons last season, has agreed to a two-year deal with the Warriors, his agent, Jelani Floyd, told The Athletic.