The Red Sox and free-agent reliever Koji Uehara agreed on a one-year deal Thursday, according to a major league source.

The 37-year-old Uehara was one of the best relievers in baseball last season for the Rangers, with a 1.75 ERA, and 43 strikeouts (compared to just three walks) in 36 innings.