The Yankees have agreed to a $9.95 million, one-year contract with Gleyber Torres, avoiding an arbitration hearing with the infielder.