Jerryd Bayless and the Grizzlies have agreed on a contract.

Bayless became an unrestricted free agent after the Raptors rescinded their qualifying offer.

Bayless will replace O.J. Mayo, who the Grizzlies decided not to pursue retaining.