The Pittsburgh Pirates and veteran outfielder Melky Cabrera have agreed to a minor league contract, according to ESPN and multiple reports.

The agreement was first reported Sunday by The Athletic. Cabrera can make up to $2 million in performance bonuses, according to ESPN and reports.